(No Ratings Yet)

# GATE-2012 ECE Q7 (digital)

by on January 23, 2013

Question 7 on digital from GATE (Graduate Aptitude Test in Engineering) 2012 Electronics and Communication Engineering paper.

## Solution

Let’s write all the 16 possible combinations of A and B and count the number of times A is greater than B. Can easily see that the count is 16.

 A B Out 0 0 0 0 1 0 0 2 0 0 3 0 1 0 1 1 1 0 1 2 0 1 3 0 2 0 1 2 1 1 2 2 0 2 3 0 3 0 1 3 1 1 3 2 1 3 3 0 TOTAL 6

Alternately, pick each value of A and count the number of instances when A is greater than B. The count is 0 + 1 + 2 + 3 for A = 0,1,2,3 respectively.

Based on the above, the right choice is (B) 6

## References

[1] GATE Examination Question Papers [Previous Years] from Indian Institute of Technology, Madras http://gate.iitm.ac.in/gateqps/2012/ec.pdf

D id you like this article? Make sure that you do not miss a new article by subscribing to RSS feed OR subscribing to e-mail newsletter. Note: Subscribing via e-mail entitles you to download the free e-Book on BER of BPSK/QPSK/16QAM/16PSK in AWGN.