Exams › GATE › Technical
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
- 4
- 6
- 8
- 10
Correct answer: 6
Solution
A 2-bit number can take 4 values: 0, 1, 2, and 3. The number of pairs with \(A>B\) is \(3+2+1+0=6\). Hence the output is 1 for 6 combinations.
Related GATE Technical questions
- The decimal number 42 is represented in base 3 as 1120. What is the hexadecimal representation of 42?
- Consider the following Boolean expression: $F=(X+Y+Z)(\overline{X}+Y)(\overline{Y}+Z)$ Which of the following Boolean expressions is equivalent to $\overline{F}$, the complement of $F$?
- Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?
- Consider a Boolean expression given by \(F(X,Y,Z)=\Sigma(3,5,6,7)\). Which of the following statements is correct?
- Consider a digital logic circuit consisting of three 2-to-1 multiplexers $M_1$, $M_2$, and $M_3$ as shown below. $X_1$ and $X_2$ are the inputs of $M_1$. $X_3$ and $X_4$ are the inputs of $M_2$. $A$, $B$, and $C$ are the select lines of $M_1$, $M_2$, and $M_3$, respectively. For an instance of inputs $X_1=1$, $X_2=1$, $X_3=0$, and $X_4=0$, the number of combinations of $A$, $B$, and $C$ that give the output $Y=1$ is
- Let $X$ be a 3-variable Boolean function that produces output $1$ when at least two of the input variables are $1$. Which of the following statement(s) is/are CORRECT, where $a,b,c,d,e$ are Boolean variables? (A) $X(a,b,X(c,d,e))=X(X(a,b,c),d,e)$ (B) $X(a,b,X(a,b,c))=X(a,b,c)$ (C) $X(a,b,X(a,c,d))=(X(a,b,a)\ \text{AND}\ X(c,d,c))$ (D) $X(a,b,c)=X(a,X(a,b,c),X(a,c,c))$
⚔️ Practice GATE Technical free + battle 1v1 →