G27

Digital Logic

109 questions in 4 topics. Try each one before you press "Show answer".

Number system

GATE 2026 · Set 1 · MCQ · 1 markQ1 · page 153 of the book
Consider the real valued variables X, Y and Z
represented using the IEEE -754 single precision
floating-point format. The binary representations
of X and Y in hexadecimal notation are as
follows:

X: 35C00000
Y: 34A00000

Let Z = X + Y.

Which one of the following is the binary
representation of Z, in hexadecimal notation?
  • (a)35C80000
  • (b)35CD0000
  • (c)35E80000
  • (d)35EC0000
GATE 2026 · Set 1 · MSQ · 1 markQ2 · page 153 of the book
Consider the 8-bit signed integers X, Y and Z
represented using the sign-magnitude form. The
binary representations of X and Y are as follows:

X: 10110100
Y: 01001100

Which of the following operations to compute Z
result(s) in an arithmetic overflow?
  • (a)Z = X + Y
  • (b)Z = X - Y
  • (c)Z = -X + Y
  • (d)Z = -X - Y
GATE 2026 · Set 2 · MSQQ3 · page 153 of the book
In a system, numbers are represented using 4-
bit two's complement form. Consider four
numbers
N1 = 1011, N2 = 1101, N3 = 1010 and N4 =
1001 in the system.

Which of the following operations will result in
arithmetic overflow?
  • (a)N1 + N2
  • (b)N2 + N3
  • (c)N3 - N4
  • (d)N1 + N4
GATE 2026 · Set 2 · NATQ4 · page 153 of the book
The 32-bit IEEE 754 single precision
representation of a number is 0XC2710000.
The number in decimal representation is
________ (rounded off to two decimal places).
GATE 2025 · Set 1 · MSQ · 1 markQ5 · page 153 of the book
The number  6 can be represented as 1010 in 4-
bit 2's complement representation.
Which of the following is/are CORRECT 2's
complement representation(s) of -6?
  • (a)1000 1010 in 8-bits
  • (b)1111 1010 in 8-bits
  • (c)1000 0000 0000 1010 in 16-bits
  • (d)1111 1111 1111 1010 in 16-bits
GATE 2025 · Set 2 · NAT · 1 markQ6 · page 153 of the book
The following two signed 2's complement numbers
(multiplicand M and multiplier Q) are being
multiplied using Booth's algorithm:

M: 1100110111101101

Q: 1010010010101010

The total number of addition and subtraction
operations to be performed is __________.

DIGITAL LOGIC
GATE 2024 · Set 2 · MSQ · 2 marksQ7 · page 154 of the book
Which of the following is/are EQUAL to 224 in
radix-5 (i.e., base-5) notation?
  • (a)64 in radix-10
  • (b)100 in radix-8
  • (c)50 in radix-16
  • (d)121 in radix-7
GATE 2024 · Set 1 · MCQ · 1 markQ8 · page 154 of the book
Consider a system that uses 5 bits for representing
signed integers in 2's complement format. In this
system, two integers A and B are represented as A
= 01010 and B = 11010. Which one of the
following operations will result in either an
arithmetic overflow or an arithmetic underflow?
  • (a)A + B
  • (b)A - B
  • (c)B - A
  • (d)2 * B
GATE 2023 · NAT · 1 markQ9 · page 154 of the book
A particular number is written as 132 in radix-4
representation. The same number in radix-5
representation is __________.
GATE 2022 · MCQQ10 · page 154 of the book
Consider three floating point numbers A, B and C
stored in registers RA, RB and RC, respectively as
per IEEE-754 single precision floating point
format. The 32-bit content stored in these registers
(in hexadecimal form) are as follows.

RA = 0xC1400000     RB = 0x42100000

RC = 0x41400000

Which one of the following is FALSE?
  • (a)A + C = 0
  • (b)C = A + B
  • (c)B = 3C
  • (d)(B - C) > 0
year not read yetQ11 · page 154 of the book
Let R1 and R2 be two 4-bit registers that store
numbers in 2's complement form. For the operation
R1 + R2, which one of the

following values of R1 and R2 gives an arithmetic
overflow?
  • (a)R1 = 1011 and R2 = 1110
  • (b)R1 = 1100 and R2 = 1010
  • (c)R1 = 0011 and R2 = 0100
  • (d)R1 = 1001 and R2 = 1111
GATE 2021 · Set 2 · MSQQ12 · page 154 of the book
If the numerical value of a 2-byte unsigned integer on
a little-endian computer is 255 more than that on a
big-endian computer, which of the following choices
represent(s) the unsigned integer on a little-endian
computer?
  • (a)0x6665
  • (b)0x0001
  • (c)0x4243
  • (d)0x0100
GATE 2021 · Set 2 · NAT · 1 markQ13 · page 154 of the book
If x and y are two decimal digits and

(0.1101)2=(0.8xy5)10, the decimal value of x+y is?
GATE 2021 · Set 1 · MCQ · 1 markQ14 · page 154 of the book
Let the representation of a number in base 3 be 210.
What is the hexadecimal representation of the
number?
  • (a)15
  • (b)21
  • (c)528
  • (d)D2
GATE 2019 · MCQQ15 · page 154 of the book
Consider Z = X - Y where X, Y and Z are all in sign-
magnitude form. X and Y are each represented in n
bits. To avoid overflow, the representation of Z would
require a minimum of:

DIGITAL LOGIC
  • (a)n bits
  • (b)n - 1 bits
  • (c)n + 1 bits
  • (d)n + 2 bits
GATE 2019 · MCQ · 1 markQ16 · page 155 of the book
In 16-bit 2's complement representation, the
decimal number  28 is:
  • (a)1111 1111 0001 1100
  • (b)0000 0000 1110 0100
  • (c)1111 1111 1110 0100
  • (d)1000 0000 1110 0100
GATE 2019 · NAT · 1 markQ17 · page 155 of the book
Two numbers are chosen independently and
uniformly at random from the set {1, 2, ..., 13}. The
probability (rounded off to 3 decimal places) that
their 4-bit (unsigned) binary representations have
the same most significant bit is ______.
GATE 2018 · MCQ · 2 marksQ18 · page 155 of the book
Consider the unsigned 8-bit fixed point binary
Number System below:

b7b6b5b4b3b2b1b0

where the position of the binary point is between
b3 and b2. Assume b7 is the most significant bit
(MSB). Some of the decimal numbers listed below
cannot be represented exactly in the above
representation:

 (i) 31.500 (ii) 0.875 (iii) 12.100 (iv) 3.001

Which one of the following statements is true?
  • (a)None of (i), (ii), (iii), (iv) can be exactly represented.
  • (b)Only (ii) cannot be exactly represented.
  • (c)Only (iii) and (iv) cannot be exactly represented.
  • (d)Only (i) and (ii) cannot be exactly represented.
GATE 2017 · Set 2 · MCQ · 1 markQ19 · page 155 of the book
The representation of the value of a 16-bit unsigned
integer X in the hexadecimal number system is
BCA9. The representation of the value of X in octal
number system is
  • (a)571244
  • (b)736251
  • (c)571247
  • (d)136251
GATE 2016 · Set 2 · NATQ20 · page 155 of the book
Let X be the number of distinct 16-bit integers in 2's
complement representation. Let Y be the number of
distinct
16-bit
integers
in
sign
magnitude
representation. Then X - Y is _____
GATE 2016 · Set 1 · NATQ21 · page 155 of the book
The 16-bit 2's complement representation of an
integer is 1111 1111 1111 0101; its decimal
representation is __________.
GATE 2015 · Set 3 · NAT · 1 markQ22 · page 155 of the book
Consider the equation (43)x = (y3)8
where x and y are unknown. The number of possible
solutions is ________
GATE 2014 · Set 2 · NAT · 1 markQ23 · page 155 of the book
Consider the equation (123)5 = (x8)y with x and y
as unknown. The number of possible solutions is
______.
GATE 2014 · Set 1 · NAT · 1 markQ24 · page 155 of the book
The base (or radix) of the number system such that
the following equation holds

312
20 = 13.1 is ____________

DIGITAL LOGIC
GATE 2013 · MCQ · 1 markQ25 · page 156 of the book
The smallest integer that can be represented by an
8-bit number in 2's complement form is
  • (a)-256
  • (b)-128
  • (c)-127
  • (d)0
GATE 2010 · MCQ · 1 markQ26 · page 156 of the book
P is a 16-bit signed integer. The 2's complement
representation of P is (F87B)16. The 2's
complement representation of 8 × P is
  • (a)(C3D8)16
  • (b)(187B)16
  • (c)(F878)16
  • (d)(987B)16
GATE 2009 · MCQ · 1 markQ27 · page 156 of the book
(1217)8 is equivalent to
  • (a)(1217)16
  • (b)(028F)16
  • (c)(2297)10
  • (d)(0B17)16
GATE 2008 · MCQ · 1 markQ28 · page 156 of the book
The two numbers given below are multiplied
using the Booth's algorithm.

Multiplicand: 0101 1010 1110 1110

Multiplier: 0111 0111 1011 1101

How many additions/Subtractions are required for
the multiplication of the above two numbers?
  • (a)6
  • (b)8
  • (c)10
  • (d)12
GATE 2008 · MCQQ29 · page 156 of the book
Let r denote the number system radix. The only
value(s) of r that satisfy the equation

√121r = 11r is/are
  • (a)decimal 10
  • (b)decimal 11
  • (c)decimal 10 and 11
  • (d)any value > 2
GATE 2006 · MCQ · 1 markQ30 · page 156 of the book
Consider numbers represented in 4-bit Gray code. Let
h3 h2 h1 h0 be the Gray code representation of a
number n and let g3 g2 g1 g0 be the Gray code of (n +
1) (modulo 16) value of the number. Which one of the
following functions is correct?
  • (a)g0(h3 h2 h1 h0) = Σ (1, 2, 3, 6, 10, 13, 14, 15)
  • (b)g1(h3 h2 h1 h0) = Σ (4, 9, 10, 11, 12, 13, 14, 15)
  • (c)g2(h3 h2 h1 h0) = Σ (2, 4, 5, 6, 7, 12, 13, 15)
  • (d)g3(h3 h2 h1 h0) = Σ (0, 1, 6, 7, 10, 11, 12, 13)
GATE 2006 · MCQQ31 · page 156 of the book
We consider the addition of two 2's complement
numbers bn-1 bn-2 ... b0 and an-1 an-2 ... a0. A binary
adder for adding unsigned binary numbers is used to
add the two numbers. The sum is denoted by cn-1 cn-2
... c0 and the carry-out by cout. Which one of the
following options correctly identifies the overflow
condition?
  • (a)cout ( an-1 ⊕bn-1̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅)
  • (b)an-1 bn-1cn-1̅̅̅̅̅̅ + an-1̅̅̅̅̅̅ bn-1̅̅̅̅̅̅ cn-1
  • (c)cout ⊕ cn-1
  • (d)an-1 ⊕ bn-1 ⊕ cn-1
GATE 2006 · MCQ · 1 markQ32 · page 156 of the book
When multiplicand Y is multiplied by multiplier X =
xn-1 xn-2 ... x0 using bit-pair recoding in Booth's
algorithm, partial products are generated according to
the following table.

DIGITAL LOGIC

The partial products for rows 5 and 8 are?
  • (a)2Y and Y
  • (b)-2Y and 2Y
  • (c)-2Y and 0
  • (d)0 and Y
GATE 2005 · MCQ · 1 markQ33 · page 157 of the book
Using Booth's Algorithm for multiplication, the
multiplier -57 will be recoded as
  • (a)0 -1 0 0 1 0 0 -1
  • (b)1 1 0 0 0 1 1 1
  • (c)0 -1 0 0 1 0 0 0
  • (d)0 1 0 0 -1 0 0 1
GATE 2005 · MCQ · 1 markQ34 · page 157 of the book
The range of integers that can be represented by an
n-bit 2's complement number system is:
  • (a)-2n-1 to (2n-1-1)
  • (b)-(2n-1 - 1) to (2n-1 - 1)
  • (c)-2n-1 to 2n-1
  • (d)-(2n-1+1) to (2n-1-1)
GATE 2005 · MCQ · 1 markQ35 · page 157 of the book
The hexadecimal representation of (657)8 is:
  • (a)1AF
  • (b)D78
  • (c)D71
  • (d)32F

Logic gates

GATE 2026 · Set 1 · MSQ · 1 markQ1 · page 164 of the book
Consider the Boolean expression

F(P, Q) = (P̅ + Q) ⊕(P̅Q).
Which
of
the
following expressions is equivalent to F?
  • (a)P⊕Q
  • (b)P⊕Q
  • (c)P ̅ ⊕Q
  • (d)P ̅ ⊕Q ̅
GATE 2026 · Set 1 · MSQQ2 · page 164 of the book
Consider a Boolean function F with the following
min-term expression:
F(P, Q, R, S) = Σm(1, 2, 3, 4, 5, 7, 10, 12, 13, 14)

Which of the following options is/are the minimal
sum-of-products expression(s) of F?
  • (a)P ̅S+ QR ̅ + P ̅Q ̅R+ Q ̅RS ̅
  • (b)P ̅S+ QR ̅ + P ̅QR ̅ + PRS ̅
  • (c)P ̅S+ QR ̅ + PQS ̅ + PRS ̅
  • (d)P ̅S+ QR ̅ + PQS ̅ + Q ̅RS ̅
GATE 2026 · Set 2 · MCQ · 2 marksQ3 · page 164 of the book
Consider the following 4-variable Boolean
function
F(A, B, C, D) = Σm(0, 1, 2, 3, 8, 9, 10, 11)

Consider A as MSB, D as LSB. Which one of the
following options represents the minimal sum of
products form for the above function?

Note: + is OR operation, · is AND operation, ' is
NOT operation
  • (a)A' + B' + C' + D'
  • (b)B'
  • (c)A'·B' + A·B
  • (d)A'
GATE 2026 · Set 2 · MCQ · 1 markQ4 · page 164 of the book
Which one of the following options is not a property
of Boolean Algebra?
  • (a)a + b = b + a
  • (b)a · a' = 1
  • (c)a + a' = 1
  • (d)a · b = b · a
GATE 2025 · Set 2 · MSQQ5 · page 164 of the book
Which of the following Boolean algebraic
equation(s) is/are CORRECT?
  • (a)A ̅BC+ AB ̅C ̅ + A ̅B ̅C ̅ + AB ̅C+ ABC= BC+ B ̅C ̅ + A ̅B ̅
  • (b)AB+ A ̅C+ BC= AB+ A ̅C
  • (c)(A+ C)(A ̅ + B) = AB+ A ̅C
  • (d)(A+ B ̅ + D ̅ )(C+ D)(A ̅ + C+ D)(A+ B+ D ̅ ) = A ̅D+ C ̅D ̅
GATE 2025 · Set 1 · MSQ · 1 markQ6 · page 164 of the book
Let X be a 3-variable Boolean function that produces
output as '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) AND X(c, d, c))
  • (d)X(a, b, c) = X(a, X(a, b, c), X(a, c, c))
GATE 2024 · Set 2 · MSQQ7 · page 164 of the book
For a Boolean variable x, which of the following
statements is/are FALSE?
  • (a)x · 1 = x
  • (b)x + 1 = x
  • (c)x · x = 0
  • (d)x + x̅ = 1 DIGITAL LOGIC
GATE 2024 · Set 1 · MSQQ8 · page 165 of the book
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?
  • (a)With no propagation delays, the output Y is always logic Zero
  • (b)With no propagation delays, the output Y is always logic One
  • (c)With propagation delays, the output Y can have a transient logic One after X transitions from logic Zero to logic One
  • (d)With propagation delays, the output Y can have a transient logic Zero after X transitions from logic One to logic Zero
GATE 2021 · Set 1 · MSQ · 2 marksQ9 · page 165 of the book
Consider the following Boolean expression.

F = (X + Y + Z)(X̅ + Y)(Y̅ + Z)

Which of the following Boolean expressions is/are
equivalent to F̅ (complement of F)?
  • (a)(X̅ + Y̅ + Z̅)(X + Y̅)(Y + Z̅)
  • (b)XY̅ + Z̅
  • (c)(X + Z̅)(Y̅ + Z̅)
  • (d)XY̅ + YZ̅ + X̅Y̅Z̅
GATE 2019 · MCQ · 1 markQ10 · page 165 of the book
Which one of the following is NOT a valid
identity?
  • (a)(x ⊕ y) ⊕ z = x ⊕ (y ⊕ z)
  • (b)(x + y) ⊕ z = x ⊕ (y + z)
  • (c)x ⊕ y = x + y, if xy = 0
  • (d)x ⊕ y = (xy + x'y')'
GATE 2018 · MCQ · 1 markQ11 · page 165 of the book
Let ⊕ and ⊙ denote the Exclusive OR and
Exclusive NOR operations, respectively. Which one
of the following is NOT CORRECT?
  • (a)(P ⊕ Q)̅̅̅̅̅̅̅̅̅̅̅̅ = P ⊙ Q
  • (b)P̅ ⊕ Q = P ⊙ Q
  • (c)P̅ ⊕ Q̅ = P ⊕ Q
  • (d)P ⊕ P̅ ⊕ Q = (P ⊙ P̅ ⊙ Q̅)
GATE 2017 · Set 2 · MCQQ12 · page 165 of the book
If w, x, y, z are Boolean variables, then which one of
the following is INCORRECT?
  • (a)wx + w(x + y) + x(x + y) = x + wy
  • (b)(wx̄(y + z̄))' + w̄x = w̄ + x + ȳz
  • (c)(wx̄(y + xz̄) + w̄x̄)y = xȳ
  • (d)(w + y)(wxy + wyz) = wxy + wyz
GATE 2016 · Set 2 · MCQ · 1 markQ13 · page 165 of the book
Let, x1 ⊕ x2 ⊕ x3 ⊕ x4 = 0 where x1, x2, x3, x4 are
Boolean variables, and ⊕ is the XOR operator.
Which one of the following must always be TRUE?
  • (a)x1x2x3x4 = 0
  • (b)x1x3 + x2 = 0
  • (c)x ̅1 ⊕x ̅3 = x ̅2 ⊕x ̅4
  • (d)x1 + x2 + x3 + x4 = 0
GATE 2016 · Set 1 · MCQQ14 · page 165 of the book
Consider the Boolean operator # with the following
properties:
         x # 0 = x
         x # 1 = x̅
         x # x = 0
         x # x̅ = 1

Then x # y is equivalent to
  • (a)xȳ + x̅y
  • (b)xȳ + x̅ȳ
  • (c)x̅y + xy
  • (d)xy + x̅ y̅ DIGITAL LOGIC
GATE 2015 · Set 2 · NAT · 2 marksQ15 · page 166 of the book
The number of min-terms after minimizing the
following Boolean expression is ________.

[D' + AB' + A'C + AC'D + A'C'D]'.
GATE 2014 · Set 2 · MCQQ16 · page 166 of the book
The dual of a Boolean function F(x1, x2, . . ., xn)
written as FD is the same expression as that of F
with + and · swapped. F is said to be self-dual if F
= FD. The number of self-dual functions with n
Boolean variables is
  • (a)2n
  • (b)2n-1
  • (c)22n
  • (d)22n-1
GATE 2014 · Set 3 · MCQQ17 · page 166 of the book
Let ⊕ denote the exclusive OR (XOR) operation.
Let '1' and '0' denote the binary constants. Consider
the following Boolean expression for F over two
variables P and Q:

F(P, Q) = ((1 ⊕ P) ⊕ (P ⊕ Q)) ⊕ ((P ⊕ Q) ⊕ (Q
⊕ 0))

The equivalent expression for F is
  • (a)P + Q
  • (b)(P + Q)̅̅̅̅̅̅̅̅̅̅̅̅
  • (c)P ⊕ Q
  • (d)(P ⊕ Q)̅̅̅̅̅̅̅̅̅̅̅̅
GATE 2013 · MCQ · 1 markQ18 · page 166 of the book
Which one of the following expressions does NOT
represent exclusive NOR of x and y?
  • (a)xy+x'y'
  • (b)x⊕y'
  • (c)x'⊕y
  • (d)x'⊕y'
year not read yetQ19 · page 166 of the book
The truth table represents the Boolean function
  • (a)X
  • (b)X + Y
  • (c)X ⊕Y
  • (d)Y
GATE 2011 · MCQ · 1 markQ20 · page 166 of the book
Which one of the following circuits is NOT
equivalent to a 2-input XNOR (exclusive NOR) gate?
  • (a)
  • (b)
  • (c)
  • (d)X Y (X,Y) 0 0 0 0 1 0 1 0 1 1 1 1 DIGITAL LOGIC
GATE 2010 · MCQ · 1 markQ21 · page 167 of the book
What is the boolean expression for the output of the
combinational logic circuit of NOR gates given
below?
  • (a)(Q + R̅̅̅̅̅̅̅̅̅)
  • (b)(P + Q̅̅̅̅̅̅̅̅̅)
  • (c)(P + R̅̅̅̅̅̅̅̅̅)
  • (d)(P + Q + R̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅)
GATE 2009 · MCQ · 1 markQ22 · page 167 of the book
What is the minimum number of gates required to
implement the Boolean function (AB+C) if we
have to use only 2-input NOR gates?
  • (a)2
  • (b)3
  • (c)4
  • (d)5
GATE 2008 · MCQQ23 · page 167 of the book
If P, Q, R are Boolean variables, then

(P + Q̅)(P·Q̅ + P·R)(P̅·R + Q̅) simplifies to
  • (a)P·Q̅
  • (b)P·R
  • (c)P·Q̅ + R
  • (d)P·R̅ + Q
year not read yetQ24 · page 167 of the book
Given f1,f2 and f in the canonical sum of products
form(in decimal) for the circuit

f1 = Σm(4, 5, 6, 7, 8)

f3 = Σm(1, 6, 15)

f = Σm(1, 6, 8, 15)

then f2 is
  • (a)Σm(4, 6)
  • (b)Σm(4, 8)
  • (c)Σm(6, 8)
  • (d)Σm(4, 6, 8)
GATE 2007 · MCQ · 2 marksQ25 · page 167 of the book
Define the connective * for the Boolean variables X
and Y as:
            X * Y = XY + X'Y'.

Let Z = X * Y. Consider the following expressions
P, Q and R.
                P: X = Y * Z,
                Q: Y = X * Z,
                R: X * Y * Z = 1

Which of the following is TRUE?
  • (a)Only P and Q are valid.
  • (b)Only Q and R are valid.
  • (c)Only P and R are valid.
  • (d)All P, Q, R are valid.
GATE 2007 · MCQ · 1 markQ26 · page 167 of the book
Let f(w,x,y,z) = Σ (0,4,5,7,8,9,13,15). Which of the
following expressions are NOT equivalent to f?

          P: x'y'z' + w'xy' + wy'z + xz

          Q: w'y'z' + wx'y' + xz

          R: w'y'z' + wx'y' + xyz + xy'z

DIGITAL LOGIC
          S: x'y'z' + wx'y' + w'y
  • (a)P only
  • (b)Q and S
  • (c)R and S
  • (d)S only
GATE 2007 · MCQ · 1 markQ27 · page 168 of the book
The following expression was to be realized using
2-input AND and OR gates. However, during the
fabrication all 2-input AND gates were mistakenly
substituted by 2-input NAND gates.

(a.b).c + (a'.c).d + (b.c).d + a.d . What is the
function finally realized?
  • (a)1
  • (b)a' + b' + c' + d'
  • (c)a' + b + c' + d'
  • (d)a' + b' + c + d'
GATE 2006 · MCQ · 1 markQ28 · page 168 of the book
The boolean function for a combinational circuit
with four inputs is represented by the following
Karnaugh map.

Which of the product terms given below is an
essential prime implicant of the function?
  • (a)QRS
  • (b)PQS
  • (c)PQ'S'
  • (d)Q'S'
GATE 2005 · MCQ · 1 markQ29 · page 168 of the book
Which of the following expressions is equivalent
to (A ⊕ B) ⊕ C ?
  • (a)(A + B + C)(A̅ + B̅ + C̅)
  • (b)(A + B + C)(A̅ + B̅ + C)
  • (c)ABC + A̅(B ⊕ C) + B̅(A ⊕ C)
  • (d)None of these

Combinational circuit

GATE 2026 · Set 2 · NAT · 2 marksQ1 · page 174 of the book
Consider the digital circuit shown below with two
input lines A and B, two select lines S0 and S1, and
an output line Y. The blocks Q and M represent an
active-high 2:4 decoder and a 4-to-1 multiplexer,
respectively.
Out
of
16
possible
input
combinations, the number of combinations that
produce Y = 1 is __________. (Answer in integer).
GATE 2025 · Set 2 · MSQ · 2 marksQ2 · page 174 of the book
Consider the following logic circuit diagram.

Which is/are the CORRECT option(s) for the output
function F?
  • (a)(XY)'
  • (b)X' + Y' + XY'
  • (c)(XY)' + X' + XY'
  • (d)X + Y'
year not read yetQ3 · page 174 of the book
A Boolean digital circuit is composed using two 4-
input multiplexers (M1 and M2) and one 2-input
multiplexer (M3) as shown in the figure. X0-X7 are
the inputs of the multiplexers M1 and M2 and could
be connected to either 0 or 1. The select lines of the
multiplexers are connected to Boolean variables A, B
and C as shown.

Which one of the following set of values of (X0, X1,
X2, X3, X4, X5, X6, X7) will realise the Boolean
function A'+ A'⋅C' + A⋅ B'⋅C?
  • (a)(1, 1, 0, 0, 1, 1, 1, 0)
  • (b)(1, 1, 0, 0, 1, 1, 0, 1)
  • (c)(1, 1, 0, 1, 1, 1, 0, 0)
  • (d)(0, 0, 1, 1, 0, 1, 1, 1)
GATE 2022 · MCQ · 2 marksQ4 · page 174 of the book
Consider a digital display system (DDS) shown in the
figure that displays the contents of register X. A 16-
bit code word is used to load a word in X, either from
S or from R. S is a 1024-word memory segment and
R is a 32-word register file. Based on the value of
mode bit M, T selects an input word to load in X. P
and Q interface with the corresponding bits in the
code word to choose the addressed word. Which one
of the following represents the functionality of P, Q,
and T?

DIGITAL LOGIC
  • (a)P is 10:1 multiplexer;Q is 5: 1 multiplexer; T is 2: 1 multiplexer
  • (b)P is 10: 210 decoder; Q is 5: 25 decoder;T is 2: 1 encoder
  • (c)P is 10:210 decoder; Q is 5: 25 decoder; T is 2: 1 multiplexer
  • (d)P is 1: 10 de-multiplexers; Q is 1: 5 de- multiplexers; T is 2: 1 multiplexer
GATE 2021 · Set 2 · MCQQ5 · page 175 of the book
Which one of the following circuits implements the
Boolean function given below? f (x, y, z) = m0 +
m1 + m3 + m4 + m5 + m6, where mi is the ith min-
term.
  • (a)
  • (b)
  • (c)
  • (d)
GATE 2020 · NATQ6 · page 175 of the book
If there are m input lines and n output lines for a
decoder that is used to uniquely address a byte
addressable 1 KB RAM, then the minimum value of
m + n is ____.
GATE 2020 · NAT · 1 markQ7 · page 175 of the book
A multiplexer is placed between a group of 32
registers and an accumulator to regulate data
movement such that at any given point in time the
content of only one register will move to the
accumulator. The minimum number of select lines
needed for the multiplexer is _____.
GATE 2016 · Set 2 · NAT · 1 markQ8 · page 175 of the book
Consider an eight-bit ripple-carry adder for
computing the sum of A and B, where A and B are
integers represented in 2's complement form. If the
decimal value of A is one, the decimal value of B that
leads to the longest latency for the sum to stabilize is
______.
GATE 2016 · Set 1 · MCQQ9 · page 175 of the book
Consider a carry look ahead adder for adding two n-
bit integers, built using gates of fan-in at most two.
The time to perform addition using this adder is:
  • (a)Θ(1)
  • (b)Θ(log(n))
  • (c)Θ(√n)
  • (d)Θ(n) DIGITAL LOGIC
GATE 2015 · Set 2 · NAT · 1 markQ10 · page 176 of the book
A half adder is implemented with XOR and AND
gates. A full adder is implemented with two half
adders and one OR gate. The propagation delay of
an XOR gate is twice that of an AND/OR gate. The
propagation delay of an AND/OR gate is 1.2
microseconds. A 4-bit ripple-carry binary adder is
implemented by using four full adders. The total
propagation time of this 4-bit binary adder in
microseconds is ______.
GATE 2014 · Set 1 · MCQ · 2 marksQ11 · page 176 of the book
Consider the 4-to-1 multiplexer with two select
lines S1 and S0 given below

The minimal sum of products form of the output X
is
  • (a)P ̅Q + QR ̅ + PQ ̅R
  • (b)P ̅Q + P ̅QR ̅ + PQR ̅ + PQ ̅R
  • (c)PQR + P ̅QR ̅ + QR ̅ + PQ ̅R
  • (d)PQR
GATE 2014 · Set 3 · MCQ · 1 markQ12 · page 176 of the book
Consider the following combinational function
block involving four Boolean variables x, y, a, b
where x, a, b are inputs and y is the output.

f(x,y,a,b)

{

if(x is 1)y =a;

else y=b;

}

Which one of the following digital logic blocks is
the most suitable for implementing this function?
  • (a)Full adder
  • (b)Priority encoder
  • (c)Multiplexer
  • (d)Flip-flop
GATE 2013 · MCQ · 1 markQ13 · page 176 of the book
In the following truth table, V = 1 if and only if the
input is valid. In the following truth table,    V = 1 if
and only if the input is valid.

Inputs
D0
D1
D2
D3
0
0
0
0
1
0
0
0
x
1
0
0
x
x
1
0
x
x
x
1

Output
X0
X1
V
x
x
0
0
0
1
0
1
1
1
0
1
1
1
1

What function does the truth table represent?
  • (a)Priority encoder
  • (b)Decoder
  • (c)Multiplexer
  • (d)Demultiplexer
GATE 2012 · MCQ · 1 markQ14 · page 176 of the book
The amount of ROM needed to implement a 4 bit
multiplier is?
  • (a)64 bits
  • (b)128 bits
  • (c)1 Kbits
  • (d)2 Kbits DIGITAL LOGIC
GATE 2010 · MCQQ15 · page 177 of the book
The Boolean expression of the output of the
multiplexer shown below is
  • (a)(P ⊕ Q ⊕ R)̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
  • (b)P ⊕ Q ⊕ R
  • (c)P + Q̅ + R
  • (d)(P + Q + R)̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
GATE 2009 · MCQ · 1 markQ16 · page 177 of the book
Which one of the following adders reduces carry
propagation delay by generating carries in
advance?
  • (a)Ripple Carry Adder
  • (b)Carry Lookahead Adder
  • (c)Serial Adder
  • (d)Half Adder
GATE 2007 · MCQ · 1 markQ17 · page 177 of the book
The line in the following figure is permanently
connected to the ground.

Which of the following inputs (X1 X2 X3 X4)
will detect the fault?
  • (a)0000
  • (b)0111
  • (c)1111
  • (d)None of these
GATE 2007 · MCQQ18 · page 177 of the book
In a look-ahead carry generator, the carry generates
function Gi and the carry propagate function Pi for
inputs Ai and Bi are given by:

Pi = Ai ⊕ Bi and Gi = AiBi

The expressions for the sum bit Si and the carry bit
Ci+1 of the look ahead carry adder are given by:

Si = Pi ⊕ Ci and Ci+1 = Gi + PiCi, where C0 is the input
carry.

Consider a two-level logic implementation of the
look-ahead carry generator. Assume that all Pi are
available for the carry generator circuit and that the
AND and OR gates can have any number of inputs.
The number of AND gates and OR gates needed to
implement the look-ahead carry generator for a 4-bit
adder with S3, S2, S1, S0 and C4 as its outputs are
respectively:
  • (a)6,3
  • (b)10,4
  • (c)6,4
  • (d)10,5
GATE 2006 · MCQQ19 · page 177 of the book
Consider the circuit below. Which one of the
following options correctly represents f(x,y,z)
  • (a)xz̅ + xy + y̅z
  • (b)xz̅ + xy +y̅z̅
  • (c)xz + xy + y̅z̅
  • (d)xz + xȳ + y̅z
GATE 2006 · MCQ · 1 markQ20 · page 177 of the book
The majority function is a Boolean function
f(x,y,z)that takes the value 1 whenever a majority of
the variables x, y, z are 1. In the circuit diagram for

DIGITAL LOGIC
the majority function shown below, the logic gates
for the boxes  labeled P and Q are, respectively.
  • (a)XOR, AND
  • (b)XOR, XOR
  • (c)OR, OR
  • (d)OR, AND
GATE 2006 · MCQ · 1 markQ21 · page 178 of the book
Given two three-bit numbers a2 a1 a0 and b2 b1 b0
and c the carry in, the function that represents the
carry generate function when these two numbers
are added is:
  • (a)a2b2 + a2a1b1 + a2a1a0b0 + a2a0b1b0 + a1b2b1 + a1a0b2b0 + a0b2b1b0
  • (b)a2b2 + a2b1b0 + a2a1b1b0 + a1a0b2b1 + a1a0b2 + a1a0b2b0 + a2a0b1b0
  • (c)a2 + b2 + (a2 ⊕ b2) (a1 + b1 + (a1 ⊕ b1)(a0 + b0))
  • (d)a2b2 + a̅2a1b1 + a̅2a1a0b0 + a̅2a0b1b0 + a1b2b1 + a̅1a0b2b0 + a0b2b1b0

Sequential circuit

GATE 2026 · Set 1 · MCQ · 2 marksQ1 · page 184 of the book
Consider a 2-bit saturating up/down counter that
performs the saturating up count when the input P
is 0, and the saturating down count when P is 1. The
Next State table of the counter is as shown. The
counter is built as a synchronous sequential circuit
using D flip-flops.

Input
Current
State
Next
State
P
Q1
Q1
+
Q0
+
0
0
0
0
1
0
0
1
1
0
0
1
0
1
1
0
1
1
1
1
1
0
0
0
0
1
0
1
0
0
1
1
0
0
1
1
1
1
1
0
  • (a)D1 = PQ1 + P ̅Q0 + Q1Q0 D0 = PQ0 + P ̅Q1 + Q1Q0
  • (b)D1 = P̅Q1 + P̅Q0 + Q1Q0 D0 = P̅Q0̅̅̅̅ + P̅Q1 + Q1Q0
  • (c)D1 = P ̅Q ̅1 + P ̅Q0 + Q1Q0 D0 = P ̅Q0 + P ̅Q1 + Q1Q ̅0
  • (d)D1 = PQ1 + P ̅Q0 + Q1Q0 D0 = PQ0 + P ̅Q1 + Q1Q0
GATE 2025 · Set 1 · NAT · 2 marksQ2 · page 184 of the book
Consider the given sequential circuit designed
using D-Flip-flops. The circuit is initialized with
some value (initial state). The number of distinct
states the circuit will go through before returning to
the initial state is . (Answer in integer)
GATE 2025 · Set 2 · NAT · 2 marksQ3 · page 184 of the book
In a 4-bit ripple counter, if the period of the waveform
at the last flip-flop is 64 microseconds, then the
frequency of the ripple counter in kHz is ________.
(Answer in integer)
GATE 2023 · MCQ · 1 markQ4 · page 184 of the book
The output of a 2-input multiplexer is connected back
to one of its inputs as shown in the figure.

Match the functional equivalence of this circuit to
one of the following options
  • (a)D Flip-flop
  • (b)D Latch
  • (c)Half-adder
  • (d)Demultiplexer
GATE 2024 · Set 1 · NAT · 2 marksQ5 · page 184 of the book
Consider a digital logic circuit consisting of three 2-
to-1 multiplexers M1, M2, and M3 as shown
below. X1 and X2 are inputs of M1. X3 and X4 are

DIGITAL LOGIC
inputs of M2. A, B, and C are select lines
of M1, M2, and M3, respectively.

For an instance of inputs X1= 1, X2= 1, X3= 0,
and X4= 0, the number of combinations
of A, B, C that give the output Y= 1 is
____________.
GATE 2023 · MCQ · 2 marksQ6 · page 185 of the book
Consider a sequential digital circuit consisting of T
flip-flops and D flip-flops as shown in the figure.
CLKIN is the clock input to the circuit. At the
beginning, Q1, Q2 and Q3 have values 0, 1 and 1,
respectively. Which one of the given values of (Q1,
Q2, Q3) can NEVER be obtained with this digital
circuit?
  • (a)(0, 0, 1)
  • (b)(1, 0, 0)
  • (c)(1, 0, 1)
  • (d)(1, 1, 1)
GATE 2021 · Set 1 · MCQQ7 · page 185 of the book
Consider a 3-bit counter, designed using T flip-flops,
as shown below :

Assuming the initial state of the counter given by
PQR as 000, what are the next three states?
  • (a)001, 010, 111
  • (b)011, 101, 000
  • (c)001, 010, 000
  • (d)011, 101, 111
GATE 2018 · NAT · 1 markQ8 · page 185 of the book
Consider the sequential circuit shown in the figure,
where both flip-flops used are positive edge-triggered
D flip-flops. The number of states in the state
transition diagram of this circuit that have a transition
back to the same state on some value of "in" is ______
GATE 2017 · Set 2 · MCQ · 2 marksQ9 · page 185 of the book
The next state table of a 2-bit saturating up-counter is
given below.
Q1 Q0 Q1
+ Q0
+
0
0
0
1
0
1
1
0
1
0
1
1
1
1
1
1

DIGITAL LOGIC

The counter is built as a synchronous sequential
circuit using T flip-flops. The expressions for T1
and T0 are
  • (a)T1 = Q0Q1 , T0 = Q'0Q'1
  • (b)T1 = Q'1Q0 , T0 = Q'1 + Q'0
  • (c)T1 = Q1 + Q0 , T0 = Q'1Q'0
  • (d)T1 = Q'1Q0 , T0 = Q1 + Q0
GATE 2017 · Set 1 · MCQ · 2 marksQ10 · page 186 of the book
Consider a combination of T and D flip-flops
connected as shown below. The output of the D
flip-flop is connected to the input of the T flip-flop
and the output of the T flip-flop is connected to the
input of the D flip-flop. Initially, both Q0 and Q1
are set to 1 (before the 1st clock cycle). The outputs
  • (a)Q1Q0 after the 3rd cycle are 11 and after the 4th cycle are 00 respectively
  • (b)Q1Q0 after the 3rd cycle are 11 and after the 4th cycle are 01 respectively
  • (c)Q1Q0 after the 3rd cycle are 00 and after the 4th cycle are 11 respectively
  • (d)Q1Q0 after the 3rd cycle are 01 and after the 4th cycle are 01 respectively
GATE 2016 · Set 1 · NAT · 1 markQ11 · page 186 of the book
We want to design a synchronous counter that
counts the sequence 0-1-0-2-0-3 and then repeats.
The minimum number of J-K flip-flops required to
implement this counter is __________.
GATE 2015 · Set 1 · MCQQ12 · page 186 of the book
A positive edge-triggered D flip-flop is connected to
a positive edge-triggered JK flipflop as follows. The
Q output of the D flip-flop is connected to both the J
and K inputs of the JK flip-flop, while the Q output
of the JK flip-flop is connected to the input of the D
flip-flop. Initially, the output of the D flip-flop is set
to logic one and the output of the JK flip-flop is
cleared. Which one of the following is the bit
sequence (including the initial state) generated at the
Q output of the JK flip-flop when the flip-flops are
connected to a free-running common clock? Assume
that J = K = 1 is the toggle mode and J = K = 0 is the
state-holding mode of the JK flip-flop. Both the flip-
flops have non-zero propagation delays.
  • (a)0110110..
  • (b)0100100...
  • (c)01110110...
  • (d)011001100...
GATE 2015 · Set 1 · MCQQ13 · page 186 of the book
Consider a 4-bit Johnson counter with an initial value
of 0000. The counting sequence of this counter is
  • (a)0, 1, 3, 7, 15, 14, 12, 8, 0
  • (b)0, 1, 3, 5, 7, 9, 11, 13, 15, 0
  • (c)0, 2, 4, 6, 8, 10, 12, 14, 0
  • (d)0, 8, 12, 14, 15, 7, 3, 1, 0
GATE 2014 · Set 2 · MCQQ14 · page 186 of the book
Let k = 2n. A circuit is built by giving the output of
an n-bit binary counter as input to an n-to-2n bit
decoder. This circuit is equivalent to a ?
  • (a)k-bit binary up counter
  • (b)k-bit binary down counter
  • (c)k-bit ring counter
  • (d)k-bit Johnson counter DIGITAL LOGIC
GATE 2014 · Set 3 · MCQ · 2 marksQ15 · page 187 of the book
The above synchronous sequential circuit built
using JK flip-flops is initialized with Q2Q1Q0 = 000.
The state sequence for this circuit for the next 3
clock cycles is
  • (a)001, 010, 011
  • (b)111, 110, 101
  • (c)100, 110, 111
  • (d)100, 011, 001
GATE 2011 · MCQ · 1 markQ16 · page 187 of the book
The minimum number of D flip-flops needed to
design a mod-258 counter is
  • (a)9
  • (b)8
  • (c)512
  • (d)258
GATE 2011 · MCQ · 1 markQ17 · page 187 of the book
Consider the following circuit involving three D-
type flip-flops used in a certain type of counter
configuration

If at some instance prior to the occurrence of the
clock edge, and have a value , and respectively,
what shall be the value of after the clock edge?
  • (a)000
  • (b)001
  • (c)010
  • (d)011
GATE 2010 · MCQ · 1 markQ18 · page 187 of the book
In the sequential circuit shown below, if the initial
value of the output is . What are the next four values
of ?
  • (a)11, 10, 01, 00
  • (b)10, 11, 01, 00
  • (c)10, 00, 01, 11
  • (d)11, 10, 00, 01
GATE 2007 · MCQ · 1 markQ19 · page 187 of the book
What is the final value stored in the linear feedback
shift register if the input is 1011101?
  • (a)0110
  • (b)1011
  • (c)1101
  • (d)1111
GATE 2007 · MCQ · 1 markQ20 · page 187 of the book
The control signal functions of a - binary counter are
given below (where is "don't care"):

DIGITAL LOGIC

Assume that the counter and gate delays are
negligible. If the counter starts at then it cycles
through the following sequence
  • (a)0, 3, 4
  • (b)0, 3, 4, 5
  • (c)0, 1, 2, 3, 4
  • (d)0, 1, 2, 3, 4, 5
GATE 2006 · MCQ · 1 markQ21 · page 188 of the book
You are given a free running clock with a duty
cycle of 50% and a digital waveform f which
changes only at the negative edge of the clock.
Which one of the following circuits (using clocked
D flip-flops) will delay the phase of f by 180°?
GATE 2006 · MCQ · 1 markQ22 · page 188 of the book
Consider the circuit in the diagram. The operator
represents Ex-OR. The D flip-flops are initialized
to zeroes (cleared)

The following data: is supplied to the "data"
terminal in nine clock cycles. After that the values of
q2q1qo are:
  • (a)000
  • (b)001
  • (c)010
  • (d)101
GATE 2005 · MCQ · 1 markQ23 · page 188 of the book
Consider the following circuit

The flip-flops are positive edge triggered s. Each
state is designated as a two-bit string . Let the initial
state be The state transition sequence is
  • (a)
  • (b)
  • (c)
  • (d)DIGITAL LOGIC
GATE 2005 · MCQ · 1 markQ24 · page 189 of the book
Consider the following circuit involving a positive
edge triggered D FF.

Consider the following timing diagram. Let
represents the logic level on the line in the -th clock
period

Let represent the complement of . The correct
output sequence on over the clock periods through
is:
  • (a)A0 A1 A1' A3 A4
  • (b)A0 A1 A2 A3 A4
  • (c)A1 A2 A2' A3 A4
  • (d)A1 A2 A3 A4 A5'