Multiple choice

Directions : Two products are sold from a vending machine, which has two push buttons P1 and P2. When a button is pressed, the price of the corresponding product is displayed in a 7 - segment display. If no buttons are pressed, '0' is displayed signifying 'Rs 0'. If only P1 is pressed, '2' is displayed, signifying 'Rs. 2'. If only P2 is pressed, '5' is displayed, signifying 'Rs. 5'. If both P1 and P2 are pressed, 'E' is displayed, signifying 'Error' The names of the segments in the 7 - segment display, and the glow of the display for '0', '2', '5' and 'E' are shown below.

Consider (1) push buttons pressed/not pressed in equivalent to logic 1/0 respectively. (2) a segment glowing/not glowing in the display is equivalent to logic 1/0 respectively.

What are the minimum numbers of NOT gates and 2 - input OR gates required to design the logic of the driver for this 7 - Segment display?

  1. 3 NOT and 4 OR

  2. 2 NOT and 4 OR

  3. 1 NOT and 3 OR

  4. 2 NOT and 3 OR

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

null