Question:

Two binary signals ‘a’ and ‘b’ are to be compared. When two signals are equal, then output expression is _______.

Show Hint

Equality comparator = \( ab + \bar{a}\bar{b} \). True when both bits are same.
Updated On: Jun 24, 2025
  • \( a \cdot \bar{b} + \bar{a} \cdot b \)
  • \( ab + \bar{a}\bar{b} \)
  • \( \bar{a}b \)
  • \( ab \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Equality Condition
The output should be high when \( a = b \) i.e., both are 0 or both are 1.
Step 2: Write Boolean Expression
- Case 1: \( a = 1, b = 1 \Rightarrow ab = 1 \)
- Case 2: \( a = 0, b = 0 \Rightarrow \bar{a} \bar{b} = 1 \)
Combine both using OR: \[ \text{Output} = ab + \bar{a}\bar{b} \] Step 3: Verify Other Options
- (1) = XOR logic → incorrect
- (3) = only 1 case (mismatch)
- (4) = just 1 case satisfied
Conclusion:
Option (2) is correct — it gives HIGH output only when inputs are equal.
Was this answer helpful?
0
0