The following circuit compares two 2-bit binary numbers, X and Y represented…
2020
The following circuit compares two 2-bit binary numbers, X and Y represented by X1X0 and Y1Y0 respectively. (X0 and Y0 represent Least Significant Bits)

Under what condition Z will be 1 ? ISRO 2020
- A.
X > Y
- B.
X < Y
- C.
X = Y
- D.
X! = Y
Attempted by 82 students.
Show answer & explanation
Correct answer: A
The circuit is a 2-bit magnitude comparator that compares two binary numbers X (X1X0) and Y (Y1Y0).
The output Z is 1 when X > Y.
This condition is met if the Most Significant Bit (MSB) of X is 1 and Y is 0, or if the MSBs are equal and the Least Significant Bit (LSB) of X is 1 while Y is 0.
A video solution is available for this question — log in and enroll to watch it.