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.
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)
Kanmani said:
6 years ago
Thanks @Sudeep.
(2)
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)
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)
Xyz said:
1 decade ago
Please someone explain this logic.
Selva said:
1 decade ago
I can't understand the logic in a given options.
Please any one explain me the logic.
Please any one explain me the logic.
Adarsha.barkua said:
1 decade ago
A=1100 AND B=1001
SO both having equal number of one's and zero's but the value is differs. A is greater compare to B but it's having equal no of one's (A>B=1) same holes good for next statement but considering zero's A value is smaller compare to B but its having equal number of zero's (A<B=0) and finally both are equal (A=B=0) zero indicate hr (A-B) but in the form of number of ones and zero's present both are equal so zero.
SO both having equal number of one's and zero's but the value is differs. A is greater compare to B but it's having equal no of one's (A>B=1) same holes good for next statement but considering zero's A value is smaller compare to B but its having equal number of zero's (A<B=0) and finally both are equal (A=B=0) zero indicate hr (A-B) but in the form of number of ones and zero's present both are equal so zero.
Sudeep said:
1 decade ago
As far I am thinking its a comparator which compares two numbers.
A is 1100 (12) , B is 1001 (9). A>B (TRUE so 1) , A<B (FALSE so 0) , A=B (FALSE so 0).
Well I am not sure whether I am following the correct logic.
A is 1100 (12) , B is 1001 (9). A>B (TRUE so 1) , A<B (FALSE so 0) , A=B (FALSE so 0).
Well I am not sure whether I am following the correct logic.
Chandan said:
1 decade ago
Yes, sudeep give correct explanation.
Judepraveen said:
1 decade ago
What is the correct answer?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers