Part 1: The 2-of-3 Voting Circuit A panel of three judges for the Digital Idol c
ID: 3666273 • Letter: P
Question
Part 1: The 2-of-3 Voting Circuit
A panel of three judges for the Digital Idol circuit design competition needs a circuit that will indicate whether a digital circuit project will progress to the next level of the competition. A project will advance to the next level if at least two of the judges approve the project with a “Yes” vote. A project will not advance if at least two of the judges reject the project with a “No” vote.
Defining the Logic Function
Complete the truth table in Table 5-1 by indicating whether or not each combination of “No” and “Yes” votes cast by the three judges (called A, B, and C) will approve the project so that it advances to the next level of competition.
Table 5-1: Truth Table for Voting Logic (0=”No”, 1=”Yes)
JUDGE
PROJECT
APPROVED
JUDGE
PROJECT
APPROVED
A
B
C
A
B
C
0
0
0
0
1
0
0
0
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
1
1
1
1
JUDGE
PROJECT
APPROVED
JUDGE
PROJECT
APPROVED
A
B
C
A
B
C
0
0
0
0
1
0
0
0
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
1
1
1
1
Explanation / Answer
Project
Approved
If two or more judges say yes,project will be approved
A,B,C are three judges and 1 under a judge name means he said yes and 0 mean he said no
so in rows which have 2 or more 1's project will be approved and project approval will be represented as one in that column
A B CProject
Approved
1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1