Exam Questions Papers

Q1:
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 button pressed/not pressed is equivalent to logic 1/ 0 respectively
  2. a segment a to g are considered as functions of P1 and P2, then which of the respectively.
If segments a to g are considered as functions of P1 and P2, then which of the following is correct?

A
g = P1 + P2, d = c + e

B g = P1 + P2d = c + e

C
g = P1 + P2, e = b + c

D g = P1 + P2e = b + c

ANS:B - g = P1 + P2d = c + e

From the figure



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.