-
A digital circuit which compares two numbers A3 A2A1 A0 and B3 B2 B1 B0 is shown below. To get the output
X = 0, choose one pair of correct input numbers—
-
- 1010, 1010
- 0101, 0101
- 0010, 0010
- 1010, 1011
Correct Option: D
To get the output zero i.e., X = 0.
Applying hit and trial method in order to choose the pair of number.
(A) For input 1 0 1 0, 1 0 1 0 output
Y1 = 0, Y2 = 0, Y3 = 0, Y4 = 0
Now, X = Y1 Y2 Y3 Y4 + Y1 Y2 Y3 Y4
or X = 0. 0. 0. 0 + 0 0 0 0 = 1 (Not required)
(B) For input 0 1 0 1, 0 1 0 1 output
Y1 = 0, Y2 = 0, Y3 = 0, Y4 = 0
Now, X = Y1 Y2 Y3 Y4 + Y1 Y2 Y3 Y4
or X = 0. 0. 0. 0 + 0 0 0 0 = 1 (Not required)
(C) For input 0 0 1 0, 0 0 1 0 output
Y1 = 0, Y2 = 0, Y3 = 0, Y4 = 0
Now, X = Y1 Y2 Y3 Y4 + Y1 Y2 Y3 Y4
or X = 0. 0. 0. 0 + 0 0 0 0 = 1 (Not required)
(D) For input 1 0 1 0, 1 0 1 1 output
Y1 = 0, Y2 = 0, Y3 = 0, Y4 = 0
Now, X = Y1 Y2 Y3 Y4 + Y1 Y2 Y3 Y4
or X = 0. 0. 0. 0 + 0 0 0 1 = 0 + 0 = 0
This is required condition. Hence alternative (D) is the correct choice.
