Digital Electronics - Combinational Logic Circuits - Discussion
Discussion Forum : Combinational Logic Circuits - General Questions (Q.No. 26)
26.
The binary numbers A = 1100 and B = 1001 are applied to the inputs of a comparator. What are the output levels?
Discussion:
15 comments Page 1 of 2.
Kanmani said:
6 years ago
Thanks @Sudeep.
(2)
Vishaka said:
8 years ago
It's a bitwise comparison so A=B=1 , A>B=1,A<B=0.
according to my knowledge,
A=1101
B=1001.
1st-row A=B, 2nd-row A>B, 3rd-row A=B, 4th-row A=B.
E is equal, G is greater.
according to my knowledge,
A=1101
B=1001.
1st-row A=B, 2nd-row A>B, 3rd-row A=B, 4th-row A=B.
E is equal, G is greater.
(1)
Manogna said:
8 years ago
I am not getting the solution. Anyone help me to get it.
Shaik said:
8 years ago
You are right, thanks for the explanation @Sudeep.
Sachin said:
8 years ago
You give a simple explanation easy to understand. Thanks @Sudeep.
Vanitha said:
8 years ago
Thanks for your explanation @Sanjiya.
Divya Chaudhary said:
9 years ago
The logic behind the ansswer is:
There can be three cases : number A is greater than number B,or less than B or equal to B.
i.e.
case1:A<B
case2:A>B
case3:A=B
Now,in question A=1100 whose decimal equivalent is 12 and B=1001 whose binary equivalent is 9.
So case1 is true, and we are using 1 for true and 0 for false.so combining three cases to giveanswer we get,
A > B = 1,A < B = 0, A = B = 0.
There can be three cases : number A is greater than number B,or less than B or equal to B.
i.e.
case1:A<B
case2:A>B
case3:A=B
Now,in question A=1100 whose decimal equivalent is 12 and B=1001 whose binary equivalent is 9.
So case1 is true, and we are using 1 for true and 0 for false.so combining three cases to giveanswer we get,
A > B = 1,A < B = 0, A = B = 0.
(2)
Manowar said:
9 years ago
You are right @Sudeep.
Judepraveen said:
1 decade ago
What is the correct answer?
Sanjiya said:
1 decade ago
A = 1100,(12).
B = 1001,(9).
1 is represent true.
0 is represent false.
So,
A>B=1, A<B=0, A=B=0;
True, False, False.
B = 1001,(9).
1 is represent true.
0 is represent false.
So,
A>B=1, A<B=0, A=B=0;
True, False, False.
(1)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers