The output Y of a 2-bit comparator is logic 1 whenever the 2-bit input A is greater than the 2-bit input B. The number of combinations for which the output is logic 1, is
A
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
6
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B 6 ABNo.ofcases010011000,0121100,01,103total=6