Confirming your payment

Skip to content

Sign up now and get .

Competency-Based Questions (CBQ) · Question 13 of 40

Competency: Analysis & Evaluation A traffic-light controller holds a two-bit binary number AB , where A is the twos…

Question 134 marksMedium

Competency: Analysis & Evaluation

A traffic-light controller holds a two-bit binary number ABAB, where AA is the twos digit and BB the ones digit. Every few seconds the number goes up by one: 0000, 0101, 1010, 1111, and then back to 0000. In one sequence used in many countries the lamps show, in turn: red; red and amber together; green; amber; and then red again. The controller shows the first of these when AB=00AB = 00, the second when AB=01AB = 01, the third when AB=10AB = 10 and the fourth when AB=11AB = 11. The red, amber and green lamps light when the signals LRL_R, LAL_A and LGL_G are 1. (Hypothetical data.)

(a) Make a truth table showing LRL_R, LAL_A and LGL_G for each value of ABAB.

(b) Show that LR=A‾L_R = \overline{A}, LA=BL_A = B and LG=A⋅B‾L_G = A \cdot \overline{B}, and draw a circuit that gives all three lamp signals.

(c) Use Boolean algebra to show that the red and green lamps can never be lit together.