In a traffic light controller, a pedestrian signal (P) should turn on only if…
2023
In a traffic light controller, a pedestrian signal (P) should turn on only if the traffic light (T) is red (R) AND the pedestrian button (B) is pressed. What Boolean equation describes this condition ?
- A.
P = R + B
- B.
P = R' + B'
- C.
P = R · B
- D.
P = R ⊕ B
Attempted by 14 students.
Show answer & explanation
Correct answer: C
The condition states that the pedestrian signal (P) turns ON only when the traffic light is red (R) AND the button (B) is pressed. In Boolean algebra, the logical AND operation is represented by a dot (.) or multiplication. Therefore, the correct equation is P = R . B.
Loading lesson…