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 ?

  1. A.

    P = R + B

  2. B.

    P = R' + B'

  3. C.

    P = R · B

  4. 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.

Explore the full course: Up Police Computer Operator

Loading lesson…