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?
A > B = 1, A < B = 0, A < B = 1
A > B = 0, A < B = 1, A = B = 0
A > B = 1, A < B = 0, A = B = 0
A > B = 0, A < B = 1, A = B = 1
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
15 comments Page 1 of 2.

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.

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.

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.

Chandan said:   1 decade ago
Yes, sudeep give correct explanation.

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.
(1)

Judepraveen said:   1 decade ago
What is the correct answer?

Manowar said:   9 years ago
You are right @Sudeep.

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.
(2)

Vanitha said:   8 years ago
Thanks for your explanation @Sanjiya.


Post your comments here:

Your comments will be displayed after verification.