4 people participating in a voting make their decisions by pressing the buttons in front of them. The person accepting the offer presses the button, otherwise he does not. The result of voting with two green and red lamps in the hall is determined as follows. If the acceptance votes are 0,1 or 2, only the red lamp is lit. If the acceptance votes are 3, both lamps are lit. If the acceptance votes are 4, only the green lamp is lit. Note: There is a switch that prevents the lamps from being lit before each vote. a- Create the truth table of the circuit. b- Realize the design of the circuit.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.3: Interactive While Loops
Problem 6E: (Conversion) a. Write a C++ program to convert meters to feet. The program should request the...
icon
Related questions
Question

3) 4 people participating in a voting make their decisions by pressing the buttons in front of them. The person accepting the offer presses the button, otherwise he does not. The result of voting with two green and red lamps in the hall is determined as follows.

If the acceptance votes are 0,1 or 2, only the red lamp is lit.

If the acceptance votes are 3, both lamps are lit.

If the acceptance votes are 4, only the green lamp is lit.

Note: There is a switch that prevents the lamps from being lit before each vote.

a- Create the truth table of the circuit.

b- Realize the design of the circuit.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Topological Sort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning