Digital Electronics
Digital Electronics
81 × 3 × 10 5 8 44. (b)
= = 1.224 × 10
(4 )3 × 1012
z
= 0.012 µW
42. (a)
Idl
XY plane means Z = 0 with Z = r cos (spherical
coordinates) = 90°.
With null points along the axis of the dipole it Total E = (Esingle element ) (A.F.)
is = 45° and 225°.
y
sin N sin 2
2 2
z (A.F.) = =
null
sin sin
2 2
–
2 sin cos
2 2
= 45° = = 2 cos
x 2
/2 sin
Dipole 2
+
2 cos
A.F 2
A.FN = = = cos
null
A.Fmax 2 2
where, 2
d cos = (2 h ) cos
43. Sol.
Radiation resistance of a small dipole current 2
A.FN = 60° = cos h cos 60°
element of length ‘l’ is
l 2 h
R rad = 80 2 R l2 = cos
2
cos is maximum, whenever = n , n = 0, 1, 2....
R2 l2
= h
R1 l1 =n h = nl
If length is changed by 1% then percentage For n = 1, hmin =
change in the radiation resistance,
GATE Previous Years Solved Paper 105
E2
4 r2 ×
2
=
Prad
GATE-2023
Electronics Engineering
Digital Electronics
Chapterwise & Topicwise
Contents
S.No. Topic Page No.
(b) copy the original byte to the more significant (d) –25, –9 and –57 respectively
byte of the word and fill the less significant [EC-2004 : 1 Mark]
byte with zeros. Q.9 Decimal 43 in Hexadecimal and BCD number
(c) copy the original byte to the less significant system is respectively
byte of the word and make each bit of the (a) B2, 0100 0011 (b) 2B, 0100 0011
more significant byte equal to the most
(c) 2B, 0011 0100 (d) B2, 0100, 0100
significant bit of the original byte.
[EC-2005 : 1 Mark]
(d) copy the original byte to the less significant
bytes well as the more significant byte of Q.10 A new Binary Coded Pentary (BCP) number
the word. system is proposed in which every digit of a
[EC-1997 : 1 Mark] base-5 number is represented by its
corresponding 3-bit binary code. For example,
Q.4 An equivalent 2’s complement representation
the base-5 number 24 will be represented by its
of the 2’s complement number 1101 is
2 Electronics Engineering Digital Electronics
BCP code 010100. In this numbering system, the Q.14 P, Q and R are the decimal integers
BCP code 100010011001 corresponding to the corresponding to the 4-bit binary number 1100
following number in base-5 system. considered in signed magnitude, 1’s
(a) 423 (b) 1324 complement, and 2’s complement
(c) 2201 (d) 4231 representations, respectively. The 6-bit 2’s
[EC-2006 : 2 Marks] complement representation of (P + Q + R) is
(a) 111101 (b) 110101
Q.11 X = 01110 and Y = 11001 are two 5-bit binary
(c) 110010 (d) 111001
numbers represented in two’s complement
[EC-2020 : 2 Marks]
format. The sum of X and Y represented in 2’s
complement format using 6-bits is Q.15 If (1235)x = (3033)y, where ‘x’ and ‘y’ indicate
(a) 100111 (b) 001000 the bases of the corresponding numbers, then
(c) 000111 (d) 101001 (a) x = 9 and y = 7 (b) x = 8 and y = 6
[EC-2007 : 1 Mark] (c) x = 6 and y = 4 (d) x = 7 and y = 5
Answers
EC Number Systems
9. (b) 10. (d) 11. (c) 12. (b) 13. (4) 14. (b) 15. (b) 16. (b, c)
Solutions
EC Number Systems
ELECTRO NICS EN GINEERIN G Q.5 The minimized form of the logical expression
AB Z = R + S + PQ + PQR + PQS
CD 00 01 11 10
Then,
00 1 1 0 1
(a) W = Z , X = Z (b) W = Z, X = Y
01 0 0 0 1
(c) W = Y (d) W = Y = Z
11 1 0 0 0 [EC-2003 : 2 Marks]
10 1 0 0 1
Q.8 The Boolean expression AC + BC is equivalent
to
(a) 4 (b) 5
(c) 6 (d) 8 (a) AC + BC + AC
[EC-1998 : 1 Mark] (b) BC + AC + BC + ACB
(c) AC + BC + BC + ABC
Q.4 The logical expression y = A + AB is
(d) ABC + ABC + ABC + ABC
equivalent to
[EC-2004 : 2 Marks]
(a) y = AB (b) y = AB
Q.9 The Boolean expression for the truth table
(c) y = A + B (d) y = A + B
shown is
[EC-1998 : 1 Mark]
6 Electronics Engineering Digital Electronics
(c) ( X + Y + Z ) ( X + Y + Z) ( X + Y + Z) (a) A B + A BC + A BC
(X + Y + Z) (X + Y + Z) (b) AC + A B + A BC
(c) AC + A B + A BC
(d) ( X + Y + Z ) ( X + Y + Z ) ( X + Y + Z )
(d) A BC + AC + A BC
(X + Y + Z) (X + Y + Z)
[EC-2017 : 2 Marks]
[EC-2015 : 2 Marks]
Q.21 A function F(A, B, C) defined by three Boolean
Q.19 Following is the K-map of a Boolean function of variables A, B and C when expressed as sum of
5 variables P, Q, R, S and X. The minimum sum products is given by
of product (SOP) expression for the function is
F= A B C+A B C+A B C
PQ
RS 00 01 11 10 where, AB and C are the complements of the
00 0 0 0 0 respective variables. The product of sums (POS)
form of the function F is
01 1 0 0 1
(a) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
11 1 0 0 1
(b) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
10 1 0 0 1 (c) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
X=0
( A + B + C) (A + B + C)
PQ (d) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
RS 00 01 11 10
(A + B + C) (A + B + C)
00 0 1 1 0
[EC-2018 : 1 Mark]
01 0 0 0 0
ELECTRICAL EN GINEERIN G
11 0 0 0 0
(GATE Previous Years Solved Papers)
10 0 1 1 0
Q.20 Which one of the following gives the simplified Q.2 The minimal product of sums function
sum of products expression for the Boolean described by the K-map given in figure, is
AB
function, F = m0 + m2 + m3 + m5, where m0, m2, m3 00 01 11 10
C
and m5 are minterms corresponding to the
0 1 1 0 0
inputs A, B and C with A as the MSB and C as
the LSB? 1 0 0 0 0
8 Electronics Engineering Digital Electronics
(a) A C (b) A + C
(c) X
(c) A + C (d) AC
F
[EE-2000 : 2 Marks] Y
Z
Q.3 The Boolean expression:
X Y Z + X Y Z + X Y Z + X Y Z + XYZ (d) X
F
can be simplified to Y
Z
(a) XZ + XZ + YZ (b) XY + YZ + YZ
F = ABC + A BC + A BC + A BC + A BC
(a) BD + BCD (b) BD + AB
The equivalent product of sums expression is
(c) BD + ABC (d) BD + ABC
(a) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
[EE-2017 : 2 Marks]
(b) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
Q.16 Digital input signals A, B, C with A as the MSB
(c) F = ( A + B + C ) ( A + B + C ) ( A + B + C )
and C as the LSB are used to realize the Boolean
(d) F = ( A + B + C ) ( A + B + C ) ( A + B + C ) function F = m0 + m2 + m3 + m5 + m7, where mi
[EE-2015 : 1 Mark] denotes the Ith minterm. In addition, F has a
don’t care for m1. The simplified expression for
Q.12 The output expression for the Karnaugh map
F is given by
shown below is
BC (a) AC + BC + AC (b) A + C
A 00 01 11 10
(c) C + A (d) AC + BC + AC
0 1 0 0 1
[EE-2018 : 2 Marks]
1 1 1 1 1
Q.17 The output expression for the Karnaugh map
shown below is
(a) A + B (b) A + C
PQ
(c) A + C (d) A + C RS 00 01 11 10
[EE-2016 : 1 Mark] 00 0 1 1 0
(a) BC + AC (b) AB + AC + B
(c) AB + AC (d) AB + BC
[EE-2017 : 1 Mark]
10 Electronics Engineering Digital Electronics
Answers
EC Boolean Algebra
9. (a) 10. (b) 11. (d) 12. (d) 13. (a) 14. (a) 15. (d) 16. (d)
17. (a) 18. (b) 19. (b) 20. (b) 21. (c)
Solutions
EC Boolean Algebra
1. (b) 5. (a)
n Y = A BC + A BC + A BC + A BC
Boolean functions possible are 2 2 .
= AC ( B + B) + A BC + A BC
2. (c)
The condition for overflow to occur is = A (C + BC ) + A BC
x y z + x y z. = A (C + C ) (C + B) + A BC
= AC + A B + A BC
3. (a)
= AC + B ( A + AC )
AB
00 01 11 10 = AC + B ( A + A) ( A + C )
CD
00 1 1 1 = AC + A B + BC
01 1 6. (d)
n 4
11 1 22 = 2 2 = 2 16 = 65536
10 1 1 7. (a)
RS
Number of essential prime implicants = 4. 1. W = PQ 00 01 10 11
00 1 1 1
4. (d)
01 1 1 1 1
y = A + AB
11 1 1 1
= ( A + A) ( A + B) 10 1 1 1
= A+B
W = R + PQ + RS
GATE Previous Years Solved Paper 11
9. (a)
2. X= RS
PQ 00 01 11 10
f = A BC + A BC
00 1
= B ( AC + AC )
01 = B( A + C) ( A + C)
11 1
10. (b)
10 1 y = AB + CD = A B + C D
A
We can see that, X = B
AB + CD
RS
3. Y= 00 01 11 10
PQ
C
00 1 D
01 1 1 1 1 11. (d)
11 1 1 1 K-map corresponding to given Boolean
expression,
10 1
CD
AB 00 01 11 10
RS 00 1
4. Z= 00 01 11 10
PQ
00 1 1 1 01 1
11 1
01 1 1 1 1
10 1
11 1 1 1
AC + BC Z =1
Writing the SOP form of the above expression Z=0
and filling the K-map, we get, 13. (a)
BC
00 01 11 10 f (X, Y, Z) = (2, 3, 4, 5)
A
YZ YZ YZ YZ
0 1
X 1 1
1 1 1 1
X 1 1
Now, comparing it which the expression given
in the question, we find option (d) satisfies the f (X, Y, Z) = X Y + X Y
given condition. So, prime implicants are X Y and X Y .
12 Electronics Engineering Digital Electronics
Let, F = (X + Y ) (X + Y ) + (X Y + X ) PQ
RS
F = X + X Y + XY + ( X Y X )
= X + (X + Y ) X 1 1
= X + XY
1 1
=X
15. (d)
X=0
f ( w , x , y , z ) = wy + xy + w xyz + w x y + xz + x y z QSX
PQ
f (wxyz)
RS
yz yz yz yz
1 1
wx 1 1 1 1
wx 1 1 1 1
wx 1 1 1
1 1
wx 1 1 1 X=1
QSX
y , xz , x z 20. (b)
Answers
EE Boolean Algebra
9. (a) 10. (c) 11. (a) 12. (b) 13. (d) 14. (a) 15. (d) 16. (b)
17. (b)
Solutions
EE Boolean Algebra
1. (b) 5. (b)
Given, XY
f = ( x y ) + (x y ) = (x y ) (x y ) YZ
X 00 01 11 10
= ( x + y ) ( x + y ) = xy + x y
0 1 1 1 0
Option (b):
( x + y ) (x + y ) = ( x + y ) + (x + y ) 1 0 0 1 0
= xy + x y = f YZ
2. (a) F = XY +Y Z
AB
C 00 01 11 10 6. (d)
A From the figure it is clear that, two NAND gates
0 1 1 0 0
generate the X and Y and now two AND gates
1 0 0 0 0
with inputs X and Y and inputs Y and Z is
C used to generate two terms of SOP form and now
OR gate is used to sum them and generate the F.
3. (b)
By K-map: 7. (a)
XY f(X, Y, Z) = (2, 3, 4, 5)
Z 00 01 11 10
YZ
X 00 01 11 10
0 1 1
0 1 1 XY
1 1 1 1
1 1 1
= A BCD + AD + BC D 8. (d)
Binary coded decimal counter counts from 0 to 9.
= ( AD + BC D)
So, 1100 is an invalid state i.e. 12.
14 Electronics Engineering Digital Electronics
9. (a) = ( a + b + c + d ) (b + c )
The 4 variable Boolean function is given in
= a b c d b c
canonical sum of products form as, F=0
f (A, B, C, D) = (0, 1, 3, 7, 11)
As the options are given in the simplified 14. (a)
product of sums form, we first convert the given BC BC BC BC
function in canonical product of sums form, as
A 1
under: 0 1 3 2
f = ( B + C ) ( A + C ) ( A + B) (C + D) ABC + BD
A 1 1
So, POS form can be formed using ‘0’ from the 4 5 7 6
K-map. f = A +C
POS = ( A + B + C ) ( A + B + C ) ( A + B + C )
17. (b)
12. (b) PQ
RS 00 01 11 10
BC
A 00 01 11 10 00 0 1 1 0
0 1 0 0 1 01 1 1 1 1
1 1 1 1 1 11 1 1 1 1
10 0 0 0 0
F = A +C
ELECTRO NICS EN GINEERIN G Q.5 For the logic circuit shown in figure, the output
is equal to
(GATE Previous Years Solved Papers)
X
B Y
F
[EC-1997 : 1 Mark]
Y
Q.11 The Boolean function A + BC is a reduced form
of C
Q.12 The minimum number of 2-input NAND gates Q.16 In the figure, the LED
required to implement the Boolean function
VCC = 5 V
Z = ABC , assuming that A, B and C are
available, is 1k 1k 1k LED
(a) two (b) three
(c) five (d) six 1k
[EC-1998 : 1 Mark]
S1 S2
Q.13 For the identity AB + AC + BC = AB + AC , the
dual form is
(a) ( A + B) ( A + C ) ( B + C ) = ( A + B) ( A + C )
(a) emits light when both S1 and S2 are closed.
(b) ( A + B) ( A + C ) ( B + C ) = ( A + B) ( A + C ) (b) emits light when both S1 and S2 are open.
(c) emits light when only of S1 and S2 is closed.
(c) ( A + B) ( A + C ) ( B + C ) = ( A + B) ( A + C )
(d) does not emit light, irrespective of the switch
(d) A B + AC + BC = A B + AC positions.
[EC-1998 : 1 Mark] [EC-2001 : 2 Marks]
Q.14 For the logic circuit shown in the figure, the Q.17 If the input to the digital circuit (in the figure)
required input condition (A, B, C) to make the consisting of a cascade of 20 XOR-gates is X,
output (X) = 1 is then the output Y is equal to
GATE Previous Years Solved Paper 17
1 R
(b)
0 (a) M1 = (P OR Q) XOR R
t0 t1 t2 t3
(b) M2 = (P AND Q) XOR R
1 (c) M1 = (P NOR Q) XOR R
(c)
0 (d) M1 = (P XOR Q) XOR R
t0 t1 t2 t3
[EC-2008 : 2 Marks]
1
(d) Q.22 Match the logic gates in Column-A with their
0
t0 t1 t2 t3 equivalent in Column-B:
Column-A Column-B
[EC-2002 : 2 Marks]
P. 1.
Q.19 A Boolean function ‘f ’ of two variables x and y
is defined as follows:
Q. 2.
f(0, 0) = f(0, 1) = f(1, 1) = 1; f(1, 0) = 0
Assuming complements of x and y are not
R. 3.
available, a minimum cost solution of realizing
‘f ’ using only 2-input NOR gates and 2-input
S. 4.
OR gates (each having unit cost) would have a
total cost of (a) P-2, Q-4, R-1, S-3
(a) 1 unit (b) 4 unit (b) P-4, Q-2, R-1, S-3
(c) 3 unit (d) 2 unit (c) P-2, Q-4, R-3, S-1
[EC-2004 : 2 Marks] (d) P-4, Q-2, R-3, S-1 [EC-2010 : 1 Mark]
18 Electronics Engineering Digital Electronics
F Z
XNOR
C
(a) F = X Y Z + X Y Z
(a) A = 1, B = 1, C = 0
(b) A = 1, B = 0, C = 0 (b) F = X Y Z + X Y Z
(c) A = 0, B = 1, C = 0 (c) F = X Y Z + X Y Z
(d) A = 0, B = 0, C = 1
(d) F = X Y Z + X Y Z
[EC-2010 : 1 Mark]
[EC-2014 : 2 Marks]
Q.24 The output Y in the circuit below is always ‘1’
when Q.27 In the circuit shown in the figure, if C = 0, the
expression for Y is
P
C
A
Q
Y B
Y
R
A
(a) two or more of the inputs P, Q, R are ‘0’. B
A [EE-1996 : 1 Mark]
Q.3 For the circuit shown in figure the Boolean Q.6 The output Y of the logic circuit given below is
expression for the output Y in terms of inputs P,
Y
Q, R and S.
P (a) 1 (b) 0
(c) x (d) x
Q [EE-2011 : 1 Mark]
Y Q.7 A bulb in a staircase has two switches, one
R
switch being at the ground floor and the other
one at the first floor. The bulb can be turned ON
S
and also can be turned OFF by one of the
switches irrespective of the state of the other
(a) P + Q + R + S (b) P + Q + R + S switch. The logic of switching of the bulb
resembles
(c) ( P + Q) + ( R + S ) (d) (P + Q) + (R + S) (a) and AND gate (b) an OR gate
XOR Y
1 1 1
C
XOR
D
A
(a) S is always either zero or odd.
(a)
(b) S is always either zero or even.
B
(c) S = 1 only if the sum of A, B, C and D is C
even.
(d) S = 1 only if the sum of A, B, C and D is odd. A
[EE-2007 : 1 Mark]
(b)
Q.5 The complete set of only those logic gates B
designated as universal gates is C
(a) NOT, OR and AND gates
(b) XNOR, NOR and AND gates A
(c) NOR and NAND gates
(d) XOR, NOR and NAND gates (c) C
[EE-2009 : 1 Mark]
B
GATE Previous Years Solved Paper 21
(a) Y = ABCD
A
C (b) Y = (A + B) (C + D)
(d) (c) Y = A + B + C + D
(d) Y = AB + CD
B
[EE-2018 : 1 Mark]
[EE-2014 : 2 Marks] Q.11 In the circuit shown below, X and Y are digital
inputs, and Z is a digital output. The equivalent
Q.9 For a 3 input logic circuit shown below, the
circuit is
output Z can be expressed as
P X
Y
Q Z
Z
(a) Q + R (b) PQ + R
(c) Q + R (d) P + Q + R
(a) XNOR gate (b) NOR gate
[EE-2017 : 1 Mark] (c) NAND gate (d) XOR gate
Q.10 In the logic circuit shown in the figure, Y is [EE-2019 : 2 Marks]
given by
A
B
Y
C
D
Answers
EC Logic G ates
9. (a) 10. (c) 11. (b) 12. (c) 13. (a) 14. (d) 15. ( ) 16. (d)
17. (b) 18. (b) 19. (d) 20. (a) 21. (d) 22. (d) 23. (d) 24. (b)
25. (c) 26. (a) 27. (a) 28. (b) 29. (40) 30. (a) 31. (c) 32. (c)
Solutions
EC Logic G ates
1. (b) 7. Sol.
Output of 1st EX-OR gate, 1
F1 = X X = 0 fclk =
2 Nt pdFF
nd
Output of 2 EX-OR gate,
F2 = X 0 = X 1 1
tpdFF = =
Output of 3rd EX-OR gate, 2 Ntclk 2 × 5 × 106
F = X X=0 = 100 nsec
2. (b) 8. (b)
W XY W Y = (A B) ( A B)
F = XYZ + XYW
= (X + Y) (Z + W) Y= A B A B
X XY
Y Y = (A A) ( B B)
XY Z
Y=0 0=1
Z
9. (a)
3. (b, d)
NAND and NOR gates can be used to realize F = A + A B + A BC
all possible combinational logic functions. = A (1 + B + BC ) = A
4. (b, c) So to implement A, zero NAND gates are
required.
A B + AB and ( A + B) ( A + B)
10. (c)
5. (b) F=A 0
A = A 0 + A 0 = A 1+0
F= A
A AB
11. (b)
AB + BC
B Y (A + B) (A + C) = A A + A C + A B + BC
= A + AC + AB + BC
C BC = A (1 + C + B) + BC
= A + BC
12. (c)
Y = A + AB + BC + C
A
Y = A + ( A + B) + ( B + C ) + C AC AC
C
Y = A+ B +C AC B ABC
6. (b)
B
B
NOR gate F = A + B = AB
X x y f y
x 0 1
Y 0 0 1
0 1 1 0 1 1
C D =x+y
1 0 0
1 1
Y = X+D 1 1 1
Y = Z + B + ZC 2 units.
P = AB 0 d 0 0
Y = P B+ B = B+ P
0 0 d 1
= B + AB = B + A + B = 1
Y=0 1 0 0 1
16. (d)
For LED to be ON, output of NAND gate = 0 21. (d)
No condition of S1 and S2 gives output of NAND M1 = [ PQ ( P + Q] R
gate zero. So LED will never glow.
= [( P + Q) ( P + Q] R
17. (b)
= (P Q) R
Output of 1st XOR gate = X
22. (d)
Output of 2nd XOR gate = X X
NOR gate is equivalent to INVERT – AND gate.
= (X ) X + X X = X + X = 1 NOR gate is equivalent to INVERT – OR gate.
Output of 20 XOR gates is 1.
24 Electronics Engineering Digital Electronics
X 26. (a)
R: Y F F = XY + XY
XOR
X X
3: F F = XY + XY Y
Y
A AND
F = XY + XY F
X
S: Y F F = XY + X Y
B
Z
X
1: Y F F = XY + XY XNOR
A=X Y
F = XY + X Y
B=A Z = A Z + AZ
23. (d) = Z (X Y ) + (X Y) Z
A X F = AB
B
= (X Y )[Z ( X Y ) + Z (X Y )]
Y
F = Z [( X Y ) (X Y ) + A (X Y ) (X Y )]
As we know,
C
A A=A
If, A = 0, B = 0 then
A A =0
X = AB+ AB = 0
= Z [(X Y) + 0]
Y = AB + A B = 1
= X YZ + X Y Z
F will be ‘1’ if even number of inputs to XNOR
gate is ‘1’, hence option (d) is the correct answer. 27. (a)
24. (b)
1
P PQ
C
PQ RQ PQ RQ A
PQ RQ PR 2
B
Q Y
RQ 3 6 Y
R PR A 5
4
B
Y = PQ + PR + RQ
Output of gate 1 : C
25. (c)
Output of gate 2 : ( A + B)
Truth table of XOR gate:
Output of gate 3 : (A + B + C)
A B Y
0 0 0 Output of gate 4 : AB
0 1 1 Output of gate 5 : ( A + B + C ) + AB
1 0 1
1 1 0 Output of gate 6 is output Y i.e.,
= ( A BC ) ( BC )
M ( M ( a , b , c ), M( a, b , c ) c ) =
( ab bc ca ) ( ab + bc + ca ) + ( ab + bc + ca ) (c ) + ( ab bc ca ) c = ABC BC + ABC BC
F = ab c + b c a + c a b + abc = ( A + B + C ) BC + ABC ( B + C )
F=A B C = A BC + BC + ABC
A
t=0
B x
f
y
B
20 ns
Y 34. (a, c)
40 ns
F(A, B) = A + B
C As ‘0’ and ‘1’ are available,
Z
20 ns 60 ns F(0, B) = A + B = 0 + B
= B (NOT)
Z is ‘1’ for 40 n-sec.
F( A + B) = A + B = A + B
30. (a)
F( A + B ) = A + B (OR)
A with the combination of OR and NOT, NOR gate
A
G1 can be implemented. Since NOR gate is
B
B
G2 Y universal logic gate, so all the functions can be
C CD implemented. So, correct option is (a, c).
D
26 Electronics Engineering Digital Electronics
Answers
EE Logic G ates
Solutions
EE Logic G ates
1. (a) 6. (a)
Y = (A B) C = A B+C x x y
= A B + C = AB + A B + C 1 0 1
2. (d) 0 1 1
A B Y
B
Y = x x+x x =1
0 0 1 A 0 1
0 1 X 0 1 1 7. (c)
1 0 X 1 1 Truth table XOR gate is,
1 1 X A B Y
0 0 0
Y = AB = A+ B NOR GATE 0 1 1
1 0 1
Y = AB + A B EX-NOR GATE
1 1 0
3. (b) So, from the XOR gate truth table it is clear that
the bulb can be turned ON and also can be
Y = (P Q) ( R S )
turned OFF by any one of the switches
Q ( A B ) = (A + B) irrespective of the state of the other switch.
Y = P Q+R S 8. (c)
AB
C 00 01 11 10
4. (b)
0 1 1
Y = A B C D from the given diagram. We
know that sum of any number of bits is XOR of
1 1 1
all bits.
So, S=A B C D Y
F = AC + BC
S=Y Y
So, option (c) is correct.
S = either zero even because LSB is zero (always)
9. (c)
5. (c)
P
NOR and NAND are designated as universal
logic gates because using any one of them we Q Z
can implement all the logic gates.
R
GATE Previous Years Solved Paper 27
11. (d)
Z = PQ Q Q R = P Q + Q + Q R
The Boolean expression for the output of the
= PQ + Q + QR = Q ( P + 1) + QR digital circuit is shown below.
= Q + QR X
= (Q + Q) (Q + R) = Q + R Y
10. (d) Z = XY + XY
A AB
B
Y
The above expression is a XOR gate.
C
D CD
AB
Y = AB + CD
CD
4 Combinational Circuits
C I0
I1
4×1
I2 MUX F
C I3
S1 S 2
A B MBS
(a) F = A C (b) F = A C Output
(c) X = AB + BC + AC Consider :
(c) g = P1 + P2 , e = b + c P Q
(d) g = P1 + P2, e = b + c (a) F = AND (P, Q) (b) F = OR (P, Q)
[EC-2009 : 2 Marks] (c) F = XNOR (P, Q) (d) F = XOR (P, Q)
Q.13 What are the minimum numbers of NOT gates [EC-2011 : 1 Mark]
and 2-input OR gates required to design the Q.17 The output Y of a 2-bit comparator is logic 1
logic of the driver for this 7-segment display? whenever the 2-bit input A is greater than the
(a) 3 NOT and 4 OR (b) 2 NOT and 4 OR 2-bit input B. The number of combination for
(c) 1 NOT and 3 OR (d) 2 NOT and 3 OR which the output is logic 1, is
[EC-2009 : 2 Marks] (a) 4 (b) 6
(c) 8 (d) 10
Q.14 What are the minimum number of 2-to-1 [EC-2012 : 1 Mark]
multiplexers required to generate a 2-input AND
gate and a 2-input EX-OR gate? Q.18 In a half-subtractor circuit with X and Y as
inputs, the Borrow (M) and Difference (N = X – Y)
(a) 1 and 2 (b) 1 and 3
are given by
(c) 1 and 1 (d) 2 and 2
(a) M = X Y, N = XY
[EC-2009 : 2 Marks]
(b) M = XY, N = X Y
Q.15 The Boolean function realized by the logic (c) M = X Y , N = X Y
circuit shown is
(d) M = X Y , N = X Y
C I0 [EC-2014 : 1 Mark]
D
I1
Q.19 Consider the multiplexer based logic circuit
4×1
F(A, B, C, D) shown in the figure.
I2 MUX
W 0
I3
S1 S0 MUX 0
1 MUX F
A B
1
S1
(a) F = m(0, 1, 3, 5, 9, 10, 14)
(b) F = m(2, 3, 5, 7, 8, 12, 13) S2
(c) F = m(1, 2, 4, 5, 11, 14, 15) Which one of the following Boolean functions
(d) F = m(2, 3, 5, 7, 8, 9, 12) is realized by the circuit?
[EC-2010 : 2 Marks] (a) F = W S1 S2
(b) F = WS1 + WS2 + S1S2
Q.16 The logic function implemented by the circuit
below is (ground implies a logic ‘0’) (c) F = W + S1 + S2
(d) F = W S1 S2 [EC-2014 : 1 Mark]
GATE Previous Years Solved Paper 31
(a) Y I0 S
Y
2:1 S
D
MUX X I0
I1 2:1
D
S MUX
X I1
S
Y I0
[EC-2014 : 2 Marks]
2:1
B
MUX Q.21 In the circuit shown, W and Y are MSBs of the
I1 control inputs. The output MSBs is given by
4 : 1 MUX 4 : 1 MUX
I0 I0
(b) X I0 I1 I1
2:1 V CC Q Q F
D I2 I2
MUX
I1 I3 I3
S
Y W X Y Z
S
(a) F = W X + W X + Y Z
X I0
2:1
(b) F = W X + W X + Y Z
B
MUX
(c) F = W X Y + W X Y
I1
(d) F = ( W + X ) Y Z [EC-2014 : 2 Marks]
I1 D I1
S 0 I2
X D I3
S 0 I4 Y
Y I0 0 I5
2:1 1 I6
D
MUX 0 I7
S2 S1 S0
I1
A B C
32 Electronics Engineering Digital Electronics
(b) Y = A BC + A B D O P0 IP0
X2 OP1 IP1 Y2
(c) Y = A BC + AC D
OP2 IP2
(d) Y = A B D + A BC X1
3:8 OP3 IP3 8:3
Y1
Decoder OP4 IP4 Decoder
[EC-2014 : 2 Marks] OP5 IP5
X0 OP6 IP6 Y0
Q.23 A 16-bit ripple carry adder is realized using 16
OP7 IP7
identical full adders (FA) as shown in the figure.
The carry-propagation delay of each FA is 12 ns (a) Binary to Gray code converter
and the sum-propagation delay of each FA is
(b) Binary to XS3 converter
15 ns. The worst case delay (in ns) of this 16-bit
(c) Gray to Binary converter
adder will be _______ .
(d) XS3 to Binary converter
A0 B0 A 1 B1 A14 B14 A 15 B15
[EC-2016 : 2 Marks]
C0 C1 C14 C15
FA0 FA1 FA14 FA 15 Q.26 A 4 : 1 multiplexer is to be used for generating
the output carry of a full adder. A and B are the
S0 S1 S14 S15 bits to be added while Cin is the input carry and
[EC-2014 : 2 Marks] Cout is the output carry. A and B are to be used
as the select bits with A being the more
Q.24 A 1-to-8 demultiplexer with data input Din,
significant select bit.
address inputs S0, S1, S2 (with S0 as the LSB)
I0
and Y0 to Y7 as the eight demultiplexed output,
I1
is to be designed using two 2-to-4 decoders (with 4:1
I2 Cout
MUX
enable input E and address inputs A0 and A1)
I3
as shown in the figure Din, S0, S1 and S2 are to be
S1 S0
connected to P, Q, R and S, but not necessarily
in this order. The respective input connections
A B
to P, Q, R and S terminals should be
Which one of the following statements correctly
P
1 Y0 Y0
describes the choice of signals to be connected
1E
Q to the inputs I0, I1, I2 and I3 so that the output is
2-to-4 1 Y
1 Y1
Decoder Cout?
R 1 A0 1 Y 2 Y2
(a) I0 = 0, I1 = Cin, I2 = Cin and I3 = 1
S 1 A1 1 Y3 Y3
(b) I0 = 1, I1 = Cin, I2 = Cin and I3 = 1
(c) I0 = Cin, I1 = 0, I2 = 1 and I3 = Cin
2E 2 Y0 Y4
2-to-4
(d) I0 = 0, I1 = Cin, I2 = 1 and I3 = Cin
2 Y1 Y5
Decoder [EC-2016 : 1 Mark]
2 A0 2 Y2 Y6
S 1 1 (d) ( P + Q + R ) ( P + Q + R ) ( P + Q + R )
S0 S0
[EC-2017 : 2 Marks]
T
Q.30 Figure I shows a 4-bit ripple carry adder realized
[EC-2016 : 2 Marks]
using full adders and Figure II shows the circuit
Q.28 Consider the circuit shown in the figure. of a full-adder (FA). The propagation delay of
the XOR, AND and OR gates in Figure II are
Y 0 20 ns, 15 ns and 10 ns, respectively. Assume all
the inputs to the 4-bit adder are initially
MUX 0
reset to 0.
0 1 MUX F Y3 X3 Y2 X 2 Y1 X1 Y 0 X0
1
Z3 Z2 Z1 Z0
X Z4 FA FA FA FA
Z
S3 S2 S1 S0
The Boolean expression F implemented by the Fig. (I)
(d) X Y Z + X Z + Y Z Yn Sn
[EC-2017 : 1 Mark]
P P Q Q R R
Zn
Fig. (II)
[EC-2017 : 2 Marks]
F
Q.31 A 4-variable Boolean function is realized using
4 × 1 multiplexers as shown in the figure.
I0 I0 F(U, V, W, X)
P I1 I1
V CC 4×1 4×1
I2 MUX I2 MUX
Q
I3 I3
S1 S0 S1 S0
R
U V W X
34 Electronics Engineering Digital Electronics
Input
(b) (UV + UV ) ( W X + W X )
A2 2 Output
(c) (UV + UV ) W A3 3 Select
S1 S0
(d) (UV + UV ) ( W X + W X )
[EC-2018 : 2 Marks] C D
Q 0
1
0 MUX Y 2
R MUX 1 3
4 MUX F
1 5
S S0 S0
6
T 7
D C A
If all the inputs P, Q, R, S and T are applied LSB
simultaneously and held constant, the
maximum propagation delay of the circuit is (a) Indicate the inputs to the applied at the
terminals 0 to 7.
(a) 6 ns (b) 3 ns
(b) Can be function be realize using a 4 to 1
(c) 7 ns (d) 5 ns
multiplexer?
[EC-2021 : 2 Marks]
[EE-1999 : 2 Marks]
Q.34 Consider the 2-bit multiplexer (MUX) shown in
Q.3 The output F of the 4-to-1 MUX shown in
the figure. For output to be the XOR of C and D,
figure is
the values for A0, A1, A2 and A3 are ______ .
GATE Previous Years Solved Paper 35
(a) xy + x (b) x + y 0
1
(c) x + y (d) xy + x 2
Z A0
[EE-2001 : 1 Mark] 3 F
Y A1
4
X A2
Q.4 Figure shows a 4 to 1 MUX to be used to 5
implement the sum S of a 1-bit full adder with 6
7
input bits P and Q and the carry input Cin. Which
of the following combinations of inputs to I0, I1, The simplified form of Boolean function
I2 and I3 of the MUX will realize the sum S ? F(X, Y, Z) implemented in ‘Product of Boolean’
form will be
I0 (a) ( X + Z ) ( X + Y + Z ) (Y + Z)
I1
4 to 1 (b) ( X + Z ) ( X + Y + Z ) (Y + Z)
F S
I2 MUX
(c) ( X + Y + Z) ( X + Y + Z ) ( X + Y + Z ) ( X + Y + Z )
I3
S1 S0 (d) ( X + Y + Z) ( X + Y + Z ) ( X + Y + Z ) ( X + Y + Z )
[EE-2008 : 2 Marks]
(a) I0, 1, 1, I1, I3, 1, 1, I2 Which one of the following options gives the
(b) I0, 1, I1, 1, I2, 1, I2, 1 correct inputs to pins 0, 1, 2, 3, 4, 5, 6, 7 in order?
(c) 1, I0, 1, I1, I2, 1, I3, 1 (a) D , 0, D, 0, 0, 0, D , D
(d) I0, I1, I2, I3, I0, I1, I2, I3 (b) D , 1, D, 1, 1, 1, D , D
[EE-2014 : 2 Marks]
(c) D , 1, D, 1, 1, 1, D , D
Q.9 In the 4 × 1 multiplexer, the output F is given by
(d) D , 0, D, 0, 0, 0, D , D
F = A B. Find the required input ‘I3, I2, I1, I0’.
[EE-2015 : 2 Marks]
I0
Q.11 Consider the following circuit which uses a
I1 2-to-1 multiplexer as shown in the figure below.
4×1
F The Boolean expression for output F in terms of
I2 MUX
I3 A and B is
S1 S0
0
A B Y F
(a) 1010 (b) 0110
S
(c) 1000 (d) 1110 1
[EE-2015 : 1 Mark]
A
B
Q.10 A Boolean function f(A, B, C, D) = (1, 5, 12, 15)
(a) A B (b) A + B
is to be implemented using an 8 × 1 multiplexer
(A is MSB). The input ABC are connected to the (c) A + B (d) A B
select input S 2 S 1 S 0 of the multiplexer [EE-2016 : 1 Mark]
respectively.
0
1
2
3
4
f (A , B, C, D)
5
6
7
S2 S1 S0
A B C
GATE Previous Years Solved Paper 37
Answers
EC Combinational Circuits
9. (a) 10. (a) 11. (a) 12. (b) 13. (d) 14. (a) 15. (d) 16. (d)
17. (b) 18. (c) 19. (d) 20. (a) 21. (c) 22. (c) 23. (195) 24. (d)
25. ( ) 26. (a) 27. (6) 28. (b) 29. (c) 30. (50) 31. (c) 32. (c)
Solutions
EC Combinational Circuits
1. (b) 2. (b)
Truth table: F = A BC + A BC + A BC + ABC
D8 D4 D2 D1 Y
F = AC ( B + B) + AC ( B + B)
0 0 0 0 0 1
1 0 0 0 1 0 F = AC + AC = A C
2 0 0 1 0 0
3 0 0 1 1 1 3. (b)
4 0 1 0 0 0 Two bit binary multiplier,
5 0 1 0 1 0
Y0
6 0 1 1 0 1 X0
Y1
7 0 1 1 1 0 X1 Y0
8 1 0 0 0 0 Y1
9 1 0 0 1 1
K-map:
D8D4
C0
D2D1 00 01 11 10 H.A. H.A.
00 1 0 1 0
C3 C2 C1
01 0 0 0 1
X1 X0
11 X X 1 X
Y1 Y0
10 0 1 X X X1Y0 X0Y0
X1Y1 Y1X0
Y = D8 D1 + D4 D2 D1 + D4 D2 D1 + D8 D4 D2 D1
C3 C2 C1 C0
38 Electronics Engineering Digital Electronics
4. (c) E = BC + BC
A B D (Difference) X (Borrow) f = A BC + ABC
0 0 0 0
A B C f
0 1 1 1
1 0 1 1
1 0 1 0
1 1 0 1
1 1 0 0
D= A B = AB+ AB 10. (a)
X = AB Let the output of first MUX is Y.
So, Y = AB+ AB = A B
6. (d)
X = YC +YC = Y C
1 0 1 0
a b c d So, X=A B C
1 1
1
= A BC + A BC + A BC + ABC
1
0
0 1 1 1 11. (a)
1
1 0
1 Z = PRS + PQ RS + P RS + ( P + Q) R S
0
Mapping above terms in Karnaugh map
0 RS
w x y z 00 01 11 10
PQ
1 1 0 0
00 1
w=a
x =a b 01
y = c x(a + b)
11 1 1 1 1
z = d y(a + b + c)
By substituting given option in the Boolean 10 1 1 1
a=1
8. (c)
b = P2 ...1 (NOT)
4
No. of MUX = = 2 c = P1 ...1 (NOT)
2
2 d = 1=c+e
=1
2 e = P1 + P2 ...1 (OR)
Total = 2 + 1 = 3 f = P1 + P2 ...1 (OR)
13. (d) P Q F
2-NOT gates 0 0 0
3-OR gates 0 1 1
14. (a) 1 0 1
1 1 0
0 I0
F=P Q
B I1 17. (b)
Output will be 1 if A > B.
S=A • If B = 00 then there will be three
Y = S I0 + S1 I 1 combinations for which output will be 1 i.e.
when A = 01, 10 or 11.
= A 0 + AB
• If B = 01 there will be two conditions i.e.
= AB
A = 10 and 11.
AND gate
Similarly EXOR gate required 2 MUX to 2 × 1. • If B = 10 there will be one condition i.e.
A = 11.
15. (d) So, total 6 combinations are there for which
F(A, B, C, D) = ABC + ABD + ABC + AB (CD) output will be 1.
N=X Y
01 1 1
M = XY
11 1
10 1 1 19. (d)
W 0
So, F = m(2, 3, 5, 7, 8, 9, 12)
X
MUX 0
16. (d)
1 MUX F
0 1 0
1 1
S1
1 4×1
F
MUX S2
0
Using the state equation of the multiplexer, we
S1 S0
get
P Q X = S1 W + S1 W
40 Electronics Engineering Digital Electronics
So, F = S2 X + S2 X A = W X I0 + W X I1 + W X I 2 + W X I 3
20. (a) = W XY Z + W XY Z + W XY Z + W XY Z
= W X Y (Z + Z) + W X Y (Z + Z )
X Y D B
0 0 0 0 = W XY + W XY
0 1 1 1
22. (c)
1 0 1 0
Depending upon the select lines one input is
1 1 0 0
transferred to the output in multiplexer,
Difference = X Y + X Y = X Y A B C Y
Borrow = X Y 0 0 0 0
0 0 1 D
Also using the state equation of MUX if X is
0 1 0 0
used as a select line and Y as input, we get 0 1 1 D
D = XY + XY 1 0 0 0
1 0 1 0
B = XY 1 1 0 1
Option (a) satisfies. 1 1 1 0
24. (d) As per the truth table, none of the options given
Consider a 1 × 8 demultiplexer: in the question are correct. However, by making
some (minor) changes in the circuit, the answer
Y0 could be obtained as option (a).
Y0
Din De-MUX 26. (a)
Y0
In case of a full adder,
S0 S1 S2
Cout (A, B, Cin) = (3, 5, 6, 7)
Applied at
So, Y0 = ( Din S0 S1 S2 ) Applied at
select input data input
Y0 = ( Din + S0 + S1 + S2 ) of MUX
of MUX
Y1 = (Din + S0 + S1 + S2 ) I0 I1 I2 I3
Y2 = (Din + S0 + S1 + S2 ) Cin 0 2 4 6
Y3 = (Din + S0 + S1 + S2 ) Cin 1 3 5 7
Y5 = (Din + S0 + S1 + S2 ) I0 = 0 ; I1 = Cin
I2 = Cin ; I3 = 1
Y6 = (Din + S0 + S1 + S2 )
Y7 = (Din + S0 + S1 + S2 ) 27. Sol.
From the circuit given in question we can see When, T = logic 0, the path followed by the
that, circuit would be
NOR gate MUX 1 MUX 2
Y0 = (1 A0 + 1 A1 + E )
2 ns 1.5 1.5
Y0 = (R + S + P + Q)
5 ns
Similarly, When, T = logic 1, the path followed by the
Y1 = (1 A0 + 1 A1 + 1E) = ( P + Q + R + S ) circuit would be
Y4 = (2 A0 + 2 A1 + 2E ) = ( R + S + P + Q) NOR gate MUX 1 NOR gate MUX 2
P = Din 6 ns
25. ( ) Y 0
The truth table of the circuit is shown below:
MUX 0
X2 X1 X0 Y2 Y1 Y0
0 1 MUX F
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 1 1
X
0 1 1 0 1 0
1 0 0 1 1 0
Z
1 0 1 1 1 1
1 1 0 1 0 0
1 1 1 1 0 1
42 Electronics Engineering Digital Electronics
I3 I3
S1 S0 S1 S0
U V W X
GATE Previous Years Solved Paper 43
Answers
EE Combinational Circuits
Solutions
EE Combinational Circuits
1. Sol. 4. (c)
A Q, B R, C Q For a 4 : 1 MUX
2. Sol. I0
(a) F = AC + ABD + ACD I1
4×1
= ACB + ACB + ABDC + ABDC + ACDB F
I2 MUX
Full
0 0 adder
0 1
0 2
1 3 S=A B C
0 4 where sum of full adder is = A B C
B 5
Truth table of full adder:
0 6
S1(A) S0(B) Carry (Cin) Sum
1 7
D C A 0 0 0 0
I0 I0 = Cin
LSB 0 0 1 1
0 1 0 0
I1 I1 = Cin
0 1 1 1
(b) It can not be realized with a 4 to 1 1 0 0 0
I2 I2 = Cin
multiplexer as 5th and 7th lines are being 1 0 1 1
used. 1 1 0 0
I3 I3 = Cin
1 1 1 1
3. (b)
Q F = min(1, 2, 3)
5. (a)
F = x y + x y + xy
F(A, B, C) = A BC + A BC + BC
= x+xy = x+y
= (1, 2, 4, 6)
44 Electronics Engineering Digital Electronics
BC Similarly for
A 00 01 11 10
A2 A1 A0 S0 S1 E O/P
0 1 1 (A0)
0 0 0 0 0 0 I0
1 1 1
0 0 1 0 0 1 1
0 1 1 0 1 1 1
6. (a) 0 1 0 0 1 0 I1
Let us consider active high input, 1 1 0 1 1 0 I3
yz 1 1 1 1 1 1 1
x 00 01 11 10
1 0 1 1 0 1 1
0 0 1 1 0
1 0 0 1 0 0 I2
1 0 1 0 1
9. (b)
F = (1, 3, 5, 6) = M(0, 2, 4, 7)
F=A B, I3 I2 I1 I0
= (Y + Z) ( X + Z) ( X + Y + Z)
= AB + AB
7. (b) = ABI0 + ABI1 + ABI 2 + ABI 3
I0 = 0, I1 = 1, I2 = 1, I3 = 0
A B No. of cases I3 I2 I1 I0 = 0110
01 00 1
10. (b)
10 00, 01 2
Boolean function is f(A, B, C, D) = (1, 5, 12, 15)
11 00, 01, 10 3
implemented with 8 × 1 MUX,
Total = 6
I0 I1 I2 I3 I4 I5 I6 I7
D 0 2 4 6 8 10 12 14
8. (a)
D 1 3 5 7 9 11 13 15
For A2 A1 A0 S0 S1
( A1 ) ( A2 ) D 1 D 1 1 1 D D
0 0 0 0 0
11. (d)
MUX is enabled and output is I0
In the given multiplexer,
For A2 A1 A0 S0 S1
I0 = A, I 1 = A
0 0 0 0 0
Select = B
MUX is enabled and output is ‘1’.
F = BI 0 + BI 1
= B A + AB = A B
5 Sequential Circuits
ELECTRO NICS EN GINEERIN G Q.3 A 4-bit modulo-16 ripple counter uses JK-flip-
flops. If the propagation delay of each FF is 50 ns,
(GATE Previous Years Solved Papers)
the maximum clock frequency that can be used
Q.1 Choose if correct statements relating to the circuit is equal to
of figure: (a) 20 MHz (b) 10 MHz
(c) 5 MHz (d) 4 MHz
+2 V –
+ P [EC-1990 : 1 Mark]
Vi
Q.4 The circuit given below is a
A
– Q
–1 V +
(a) For Vi = –2 V, P = 0
(b) For Vi = +3 V, P = 0
B Q
(c) For Vi = 0 V, P = 0 always
(d) For Vi = 0 V, P can be either 0 or 1 (a) J-K flip-flop (b) Johnson’s counter
[EC-1987 : 1 Mark] (c) R-S latch (d) None of above
Q.2 A ripple counter using negative edge-triggered [EC-1988 : 1 Mark]
D-flip-flops is shown in figure below. The flip- Q.5 The initial contents of the 4-bit serial-in-parallel-
flops are cleared to ‘0’ at the R input. The out, right-shift. Shift register shown in the figure
feedback logic is a to be designed to obtain the is 0110. After three clock pulses are applied, the
count sequence shown in the same figure. The contents of the shift register will be
correct feedback logic is
Clock
0 1 1 0
Serial in
D0 Q0 D1 Q1 D2
Q2
CLK C0 C1 C2
Q0 Q1 Q2
R R R
J0 Q0 J1 Q1
1 K0 Q0 1 K1 Q1 X
D Q Z
CLK CLK
Y Q Z
(a) 1 (b) 2
(c) 3 (d) 4
[EC-1998 : 1 Mark]
Q.15 The digital block in the figure is realized using Q.18 A master-slave flip-flop has the characteristic
two positive edge triggered D-flip-flops. Assume that
that for t < t0, Q1 = Q2 = 0. The circuit in the (a) change in the input immediately reflected
digital block is given by in the output.
(b) change in the output occurs when the state
X Digital Y
of the master is affected.
block
t0 t1 t2 t3
(c) change in the output occurs when the state
t0 t1 t2 t3 t4
of the slave is affected.
1 D1 Q1 1 D2 Q2 Y (d) both the master and the slave states are
(a)
X affected at the same time.
Q1 Q2 [EC-2004 : 1 Mark]
(a) P - 3, Q - 2, R - 1 (b) P - 3, Q - 1, R - 2
1 0 1 1 D Q A S
(c) P - 2, Q - 1, R - 3 (d) P - 1, Q - 2, R - 2
MSB LSB
[EC-2004 : 1 Mark] CLK Full
adder
Shift registers
Q.20 In the modulo-6 ripple counter shown in the
0 0 1 1 D Q B
figure, the output of the 2-input gate is used to
clear the J-K flip-flops. CLK Ci Co
1
Q D
C J B J A J
Clock CLK
C K B K A K input
Clock
(a) P = 1, Q = 0, P = 1, Q = 0, P = 1, Q = 0 or P = 0,
Q=1 1
(b) P = 1, Q = 0, P = 0, Q = 1 or P = 0, Q = 1 P = 0, (b) 0
Q=1 4T
t1 + 2 T
(c) P = 1, Q = 0, P = 1, Q = 1, P = 1, Q = 0 or P = 0,
Q=1
1
(d) P = 1, Q = 0, P = 1, Q = 1, P = 1, Q = 1
[EC-2007 : 2 Marks] (c)
0
2T
Q.26 For the circuit shown, the counter state (Q1Q0)
t1 + 2 T
follows the sequence:
1
(d) 0
D0 Q0 D1 Q1 4T
t1 + T
[EC-2008 : 2 Marks]
Clock
Q.28 For the circuit shown in the figure, D has a
(a) 00, 01, 10, 11, 00 ... transition from 0 to1 after CLK changes from
(b) 00, 01, 10, 00, 01 ... 1 to 0. Assume gate delays to be negligible.
(c) 00, 01, 11, 00, 01 ... 1
0 CLK
(d) 00, 10, 11, 00, 10 ...
1 D
[EC-2007 : 2 Marks] 0 Q
Q0 Q1
1 J0 1 J1 Which of the following statements is true?
CLK (a) Q goes to 1 at the CLK transition and stays
at 1.
1 K0 1 K1
(b) Q goes to 0 at the CLK transition and stays
at 0.
1 (c) Q goes to 1 at the CLK transition and goes
CLK to 0 when D goes to 1.
0 (d) Q goes to 0 at the CLK transition and goes
t
T to 1 when D goes to 1.
t1 [EC-2008 : 2 Marks]
Which of the following waveforms correctly
Q.29 Refer to the NAND and NOR latches shown in
represents the output at Q1?
the figure. The inputs (P1, P2) for both the latches
1
are first made (0, 1) and then, after a few seconds,
(a) made (1, 1). The corresponding stable outputs
0 (Q1, Q2) are
2T
t1 + T
50 Electronics Engineering Digital Electronics
Clock
Q Q
Q2
P2
(a) changed from ‘0’ to ‘1’
(a) NAND : first (0, 1) then (0, 1) NOR : first
(1, 0) then (0, 0) (b) changed from ‘1’ to ‘0’
(b) NAND : first (1, 0) then (1, 0) NOR : first (c) changed in either direction
(1, 0) then (1, 0) (d) not changed
(c) NAND : first (1, 0) then (1, 0) NOR : first [EC-2011 : 1 Mark]
(1, 0) then (0, 0)
Q.33 Two D-flop-flops are connected as a
(d) NAND : first (1, 0) then (1, 1) NOR : first
synchronous counter that goes through the
(0, 1) then (0, 1)
following QB QA sequence 00 11 01 10
[EC-2009 : 2 Marks] 00 ...
Q.30 What are the counting states (Q1, Q2) for the The connections to the inputs DA and DB are
counter shown in the figure below? (a) DA = QB, DB = QA
Q1 Q2
(b) DA = QA , DB = QB
J1 Q1 J2 Q2
JK JK (c) DA = (QA QB + QA QB ), DB = QA
CLK
flip-flop flip-flop
K1 Q1 1 K2 Q2 (d) DA = (QA QB + QA QB ), DB = QB
[EC-2011 : 2 Marks]
(a) 11, 10, 00, 11, 10, ... Q.34 Consider the given circuit,
(b) 01, 10, 11, 00, 01, ...
A
(c) 00, 11, 01, 10, 00, ...
(d) 01, 10, 00, 01, 10, ...
[EC-2009 : 2 Marks] CLK
Y
CLK X2 D Q
Q X0
Select FF-2
Q
A
A=1 A=0
A=1 CLK
(a) Q=0 Q=1 X1
A=0 X2
A=0 A=0
A=1 W1
(a) a modulo-5 binary up counter. If the clock (CLK) frequency is 1 GHz, then the
(b) a modulo-6 binary down counter. counter behaves as a
(c) a modulo-5 binary down counter. (a) mod-5 counter (b) mod-6 counter
(d) a modulo-6 binary up counter. (c) mod-7 counter (d) mod-8 counter
[EC-2015 : 1 Mark] [EC-2016 : 2 Marks]
GATE Previous Years Solved Paper 53
P [EC-2017 : 2 Marks]
X
Q.49 In the circuit shown, the clock frequency, i.e.,
the frequency of the clock signal, is 12 kHz. The
frequency of the signal at Q2 is _____ kHz.
Q Y
D1 Q1 D2 Q2
(a) X = ‘1’, Y = ‘1’
CLK CLK
(b) either X = ‘1’, Y = ‘0’ or X = ‘0’, Y = ‘1’
Q1 Q2
(c) either X = ‘1’, Y = ‘1’ or X = ‘0’, Y = ‘0’
12 kHz
(d) X = ‘0’, Y = ‘0’
[EC-2017 : 1 Mark] [EC-2019 : 1 Mark]
Q.47 Consider the D-latch shown in the figure, which Q.50 For the components in the sequential circuit
is transparent when its clock input CK is high shown below, tpd is the propagation delay, tsetup
and has zero propagation delay. In the figure, is the setup time, and thold is the hold time. The
the clock signal CLK1 has a 50% duty cycle and maximum clock frequency (rounded off to the
CLK2 is a one-fifth period delayed version of nearest integer), at which the given circuit can
CLK1. The duty cycle at the output of the latch operate reliably, is _____ MHz.
in percentage is ______ .
FF-1 tpd = 2 ns
tpd = 2 ns
TCLK tpd = 3 ns
tsetup = 5 ns
CLK thold = 3 ns
CLK 1
IN
CLK 2 FF-2
TCLK/5 tpd = 8 ns
tsetup = 4 ns
CLK 1 Output thold = 3 ns
D Q
D-Latch
[EC-2020 : 2 Marks]
CK
CLK 2 Q.51 The propagation delay of the exclusive-OR
(XOR) gate in the circuit in the figure is 3 ns.
[EC-2017 : 1 Mark]
The propagation delay of the flip-flops is
Q.48 A 4-bit shift register circuit configured for right- assumed to be zero. The clock (CLK) frequency
shift operation, i.e. Din A, A B, B C, provided to the circuit is 500 MHz.
C D, is shown. If the present state of the shift Q2 Q1
register is ABCD = 1101, the number of clock Q0
D2 D1 D0
cycles required to reach the state ABCD = 1111
is ______ .
CLK
54 Electronics Engineering Digital Electronics
Clock
p1 CLK Q
B 10 kHz
(a) J = X , K = Y (b) J = X , K = Y
[EE-2003 : 2 Marks]
(b)
Q.6 The digital circuit using two inverters shown
in figure will act as:
(c)
(d)
(a) a bistable multi-vibrator
(b) a astable multi-vibrator [EE-2004 : 2 Marks]
(c) a monostable multi-vibrator
Q.9 The digital circuit shown in the figure works as
(d) an oscillator
[EE-2004 : 1 Mark]
D Q
Q.7 A digital circuit which compares two numbers X
A3 A2 A1 A0, B3 B2 B1 B0 is shown in figure. To get
output Y = 0, choose one pair of correct input CLK Q
numbers.
B3 A3 B 2 A2 B1 A 1 B0 A 0 (a) JK flip-flop (b) Clocked RS flip-flop
(c) T flip-flop (d) Ring counter
[EE-2005 : 1 Mark]
Q t
K Q K Q
X2
Q
CLK
X2 A
X1
Q
CLK
(c)
B
X2
In this circuit, the race around
X1
Q (a) does not occur
X2
(d) occurs when CLK = 1 and A = B = 0
[EE-2012 : 1 Mark]
[EE-2005 : 2 Marks]
Q.14 The state transition diagram for the logic circuit
Q.11 In the figure, as long as X1 = 1 and X2 = 1, the
shown is
output Q remains
1 2-1 MUX
X1
Q D Q X1
X2
Y
CLK Q X0
Select
(a) at 1 A
(b) at 0 A=1 A=0
(c) at its initial value A=1
(d) unstable
(a) Q=0 Q=1
[EE-2005 : 2 Marks]
A=0
GATE Previous Years Solved Paper 57
A=1 A=0
A=1
Q=0 Q=1 J Qn
(b) T
(b)
A=1 T flip-flop
K
A=0 A=1 CLK Qn
A=0
A=1
A=0 A=1 J Qn
A=0 T
(c)
T flip-flop
(d) Q=0 Q=1 K
CLK Qn
A=0
[EE-2012 : 2 Marks]
X
T Q Q [EE-2014 : 2 Marks]
CLK Q Q Q.18 A state diagram of a logic which exhibits a delay
in the output is shown in the figure, where X is
(a) 0.25 (b) 0.5 the do not care condition, and Q is the output
(c) 1 (d) 2 representing the state.
[EE-2013 : 2 Marks] 0X/1, 10/1
1 J0 Q0 J1 Q1 J2 Q2
D Q D Q D Q
CLK
Q Q Q
1 K0 Q0 1 K1 Q0 1 K2 Q2 (MSB) QA QB QC
Clock
Z
[EE-2015 : 2 Marks]
(MSB)
Q.20 In the following sequential circuit, the initial D Q
QA
D Q
QB
D Q
QC
(a) 00 (b) 01
D Q D Q D Q
(c) 10 (d) 11 fOUT
[EE-2015 : 2 Marks]
C C C
Q.21 The current state QAQB of a two JK flip-flop fIN
system is 00. Assume that the clock rise-time is (a) It can be used for dividing the input
much smaller than the delay of the JK flip-flop. frequency by 3.
The next state of the system is (b) It can be used for dividing the input
frequency by 5.
5V
(c) It can be used for dividing the input
J QA J QB frequency by 7.
(c) It can not be reliably used as a frequency
QA divider due to disjoint internal cycles.
K K
[EE-2018 : 2 Marks]
CLK
Q.24 A sequence detector is designed to detect
(a) 00 (b) 01
precisely 3 digital inputs, with overlapping
(c) 11 (d) 10 sequences detectable. For the sequence (1, 0, 1)
[EE-2016 : 2 Marks] and input data (1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0),
what is the output of this detector?
Q.22 For the synchronous sequential circuit shown
(a) 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0
below, the output Z is zero for the initial
(b) 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0
conditions, Q A QB QC = QA QB QC = 100. (c) 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0
(d) 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0
[EE-2020 : 1 Mark]
GATE Previous Years Solved Paper 59
Answers
EC Sequential Circuits
9. (c) 10. (a) 11. (d) 12. (d) 13. (b) 14. (c) 15. (c) 16. (d)
17. (b) 18. (c) 19. (b) 20. (c) 21. (c) 22. (b) 23. (d) 24. (a)
25. (c) 26. (b) 27. (b) 28. (c) 29. (c) 30. (a) 31. (d) 32. (a)
33. (d) 34. (a) 35. (d) 36. (62.5) 37. (c) 38. (d) 39. (d) 40. (7)
41. (c) 42. (a) 43. (d) 44. (1.5) 45. (d) 46. (b) 47. (30) 48. (10)
49. (4) 50. (76.92) 51. (5) 52. (a) 53. (a, c)
Solutions
EC Sequential Circuits
1. (b) 4. (c)
For, Vi = +3 V, P = 0 1
fclk =
When, Vi = +3 V nt pd ff
Output of computer 1 = logic 1
1
Output of computer 2 = logic 0 = 9 2 4 = 16
4 × 50 × 10
P = 1 + (output of 2nd NOR gate) fclk = 5 MHz
P= 1 5. (c)
P=0
Clock
2. (a) 0 1 1 0
Serial in
D0 = Q0
D1 = Q1
D2 = Q 2 Serial in = D1 D0
R-S latch.
60 Electronics Engineering Digital Electronics
1 = +ve edge, Q = 1
7. (c)
An R-S latch is a 1-bit memory element. =1 1 = 0 (down counter)
Counter sequence
8. (d)
1 1 1
When, Q=0 Q=1 1 1 0
So, J = K=1 1 0 1
1 0 0
Qn + 1 = Qn = 1
0 1 1 (preset state) so mod-5
When, Q=1 Q=0
12. (d)
J = 0, K = 1
Qn + 1 = 0 D = X Z + Y Z, D = KQ+ JQ
So, the sequence at the Q output will be 010101.
Y = J, X = K, D = Q (for D-flip-flop)
9. (c)
13. (b)
Let initial, Q1 = Q0 = 0
Given counter is mod-10 up counter
J0 K0 J1 K1 Q1 Q0
10 k
0 0 Frequency of output = =1k
10
1 1 0 1 0 1
1 1 1 1 1 0 14. (c)
0 1 0 1 0 0
tpd of all 5 intervals
It is a mod-3 counter. = 5 × 100 p sec
So, K=3
= 500 p sec
10. (a) fundamental frequency of oscillator,
When, A = 1 and B = 1 1
output =
X= Y 2 × 500 ps
Y= X = 1 GHz
Now, A = 1 and B = 0
15. (c)
Y=1
It is given that clock is positive edge triggered
X=0
than only option (a) and (c) are possible. Out of
Now, A = 1 and B = 1
which only (c) option gives the required result.
X = Y=0
16. (d)
Y = X=1
Decoding logic = 111
So, the outputs x and y will be fixed at 0 and 1
respectively. Hence, CLR = Q2 Q1 Q0
GATE Previous Years Solved Paper 61
22. (b)
Q2 Q1 Q0 = 011 Clock J1 K1 J2 K1 Q1 Q2
1st clk Q2 Q1 Q0 = 100
0 1 1 1 1 0 0
Q0 = 1 (triggers T1) 1 1 1 1 1 1 1
Q1 = 1 (triggers T2) 2 0 0 0 1 1 0
3
23. (d)
So, the sequence is 11, 10, 00, 11, 10, 00 ...
A B Ci S Co
After 1st CP : 1 1 0 0 1 31. (d)
After 2nd CP : 1 1 1 1 1 Initially, QA = QB = QC = 0
DA = QB QC = 1, DB = QA = 0
24. (a)
DC = QB = 0
Q1 Q0 D1 (Q0 ) D0 (Q1 ) After 1-clock pulse,
0 0 0 1 QA = 1, QB = 0, QC = 0
0 1 1 1 DA = QB QC = 1,
1 1 1 0 DB = QA = 1, DC = QB = 0
1 0 0 0
62 Electronics Engineering Digital Electronics
Clear signal is QB QC .
K1 Q1 K2 Q2
Counter is cleared after 0110.
CLK
MOD is the counter is 7 as it counts states
from 0 to 6.
Initially, Q1 = Q2 = 0
Truth table of JK: 41. (c)
J K Qn Clear signal = Q3 Q2
0 0 Previous state Counter is clear after 0100.
0 1 0 So number of states counted are 0 to 4.
1 0 1 MOD of the counter is 5.
1 1 Qn
42. (a)
Case-1 : 1st clock pulse Q is applied as negative edge triggering clock.
Q1 = 0, Q1 = 1, Q2 = 0, Q2 = 1 Counter is up counter.
CK = CLK 2
0
T 2T 3T 4T 5T
T1 = 5T D = CLK 1
Y = Q3 + Q5 Output
Average power dissipated,
TCLK/5
2
V T
P= × ON TCLK/2 TCLK/2
R T
52 3T Duty cycle of output
= × = 1.5 mW
10 k 5T TCLK TCLK
= 2 5 × 100
45. (d) TCLK
Clock frequency = 1 GHz
3
Clock time period = 1 ns = × 100 = 30%
10
If the propagation delay of the NAND gate were
0 ns, the circuit would have behaved as MOD-6 48. Sol.
counter.
However, the delay of NAND gate is 2 ns. Clock Din = A D
A B C D
During this time, two more clock pulses would Number Just before clock
P 5 0 0 0 1 0
1 X
6 0 0 0 0 1
7 1 1 0 0 0
8 1 1 1 0 0
9 1 1 1 1 0
Q 2 Y 10 1 1 1 1 1
D1 = Q2 Q1 = Q2 + Q1 2-bit counter:
PS D2 D1 NS MSB LSB(J, K)
Q2 Q1 Q +2 Q +1 0 0
0 0 0 1 0 1 0 1
1 0
0 1 1 0 1 0
1 1
1 0 0 0 0 0
MOD = 3
CLK
f clk 12
fQ2 = = kHz = 4 kHz
3 3 J
50. Sol. K
Total propagation delay
Q
= (tpd + tset-up)max
= 8 ns + 5 ns = 13 ns Duty cycle = 50%
Frequency of operations fo
Output frequency =
1000 4
= MHz = 76.92 MHz
13
53. (a, c)
51. (5) p2 + p3 = 1
p2 + p3 = p5 + p6
Given: tXOR = 3 ns, f = 500 MHz p5 + p6 = 1
1 Option (a) is correct,
T= = 2 ns
f p1 + p4 + p7 = 1
Initially, Q2Q1Q0 = 111 and D2 = 1 Option (c) is correct.
Clock D2 = Q2 Q0 Q2 Q1 Q0
0 1 1 1 1
Answers
EE Sequential Circuits
9. (c) 10. (a) 11. (d) 12. (c) 13. (a) 14. (d) 15. (b) 16. (c)
17. (b) 18. (d) 19. (6) 20. (b) 21. (c) 22. (6) 23. (b) 24. (a)
Solutions
EE Sequential Circuits
Q3(t + 1) = Q0(t) Q1(t) Q2(t) For the both states (0, 6); our system is stable.
It is bistable multivibrator.
CLK pulse Q3 Q2 Q1 Q0
0 1 0 1 0 7. (d)
1
1 1 1 0 1
2 For a 4-input X-NOR gate output will be zero if
2 0 1 1 0
3 number of 1’s will be odd.
3 0 0 1 1
4 We also know that output of XOR gate will be
4 0 0 0 1
5 ‘1’ will number of 1’s will be odd.
5 1 0 0 0
6
6 0 1 0 0 If the inputs will be same then output of XOR
7
7 1 0 1 0 gate will be 0 so all inputs to XNOR will be zero
so output Y will be ‘1’. So only in option (d) the
4. (d) inputs are different so Y will be zero.
In toggle mode,
8. (b)
f in 10 kHz
fout = = = 5 kHz
2 2
5. (d) CLK
1 1 0 1 1 Qn
GATE Previous Years Solved Paper 67
X Q(t) Q (t + 1)
CLK
0 0 0
0 1 1
T-FF
1 0 1 B
J K QA T QB
1 0 1 1 1 f clk 1 kHz
fQ = = = 0.5 kHz
2 2
0 1 0 1 0
1 0 1 1 0 16. (c)
Overall modulus = 5 × 5 × 5 = 125
QAQB at tn + 3 is ‘1 0’.
68 Electronics Engineering Digital Electronics
1 1 0 1 0 0 0
T1
J K Qn Qn + 1 T 1 1 1 1 0 1 1
0 0 0 0 0 T2
0 1 0 1 1 0 0
0 0 1 1 0 T3
1 1 0 1 0 0 0
table of JK flip-flop
J 0 0 0 00 01
J 0
10 11
T = ( J + Qn ) (K + Qn )
At every 4n clock the system is at 00.
The circuit corresponding to this expression is
So, at 332 it will be at 00.
given option (b).
So, 33rd clock it will be at 01.
18. (d)
21. (c)
A B Q From the figure we get,
0 0 1 JA = KA = 1
0 1 1
JB = KB = QA
1 0 1
1 1 0 Clock JAKA JBKB QBQB
If any one of the input is zero output is logic ‘1’ 0 11 11 00
then output of is logic ‘0’, which represents the 1 11
NAND gate. So next state will be 11.
GATE Previous Years Solved Paper 69
Clock QA QB QC Q A Q B Q C QA QA QB QB QC QC Z
Sequence detector program:
0 1 0 0 1 0 0 0 0 0 0 • If consider the case of non-overlapping
1 0 1 0 1 1 0 1 0 0 1 sequence detector, then the pattern 101 is
2 0 0 1 1 1 1 1 1 0 1
appearing 2 times in the given bit sequence.
3 1 0 0 0 1 1 1 1 1 1
4 0 1 0 0 0 1 0 1 1 1 • If we consider the case of overlapping
5 0 0 1 0 0 0 0 0 1 1 sequence detector, then the pattern 101 is
6 1 0 0 1 0 0 0 0 0 0
appearing 3 times in the given bit sequence.
The output Z will again become zero after The question says that the detector is
6 clock cycles. overlapping, hence answer is (a).
23. (b)
D D D fOUT
QA QB QC
CLK
fIN
QB QC QA QB
DA DB DC QA QB QC
0 0 0
1 0 0 1 0 0
1 1 0 1 1 0
1 1 1 1 1 1
0 1 1 0 1 1 Cycle
0 0 1 0 0 1
1 0 0 1 0 0
1 1 0 1 1 0 Repeated
mod 5 counter
Z=0
S=0
(a) Transitions from State A are ambiguously
S=1 defined.
00 01
(b) Transitions from State B are ambiguously
S=0
defined.
S=1 S=1
(c) Transitions from State C are ambiguously
S=0
defined.
10 11 (d) All of the state transitions are defined
S=1
unambiguously.
S=0 [EC-2016 : 2 Marks]
to that of a NOR circuit in the same technology, Assume that XIN is held at constant logic level
so that its worst case charge and discharge times throughout the operation of the FSM. When the
while driving the same capacitor are similar. FSM is initialized to the QAQB = 00 and clocked,
The channel lengths of all transistors are to be after a few clock cycles, it starts cycling through
kept unchanged. Which one of the following (a) all of the four possible states if XIN = 1
statements is correct? (b) three of the four possible states if XIN = 0
VDD (c) only two of the four possible states if XIN = 1
(d) only two of the four possible states if XIN = 0
VDD
[EC-2017 : 2 Marks]
IN 2 Q.6 The state Diagram of a finite state machine
IN 1
(FSM) designed to detect an overlapping
OUT
sequence of 3-bits is shown in the figure. The
IN OUT
FSM has an input ‘IN and an output ‘OUT. The
C C initial state of the FSM is S0.
In = 0
00
Out = 0
S0
In = 1
(a) Widths of PMOS transistors should be Out = 0
In = 0 In = 1
doubled, while widths of NMOS transistors 01
Out = 0 Out = 0
should be halved. S1 In = 0
(b) Widths of PMOS transistors should be Out = 0
doubled, while widths of NMOS transistors In = 1
10
should not be changed. Out = 0
S2
In = 0 In = 1
(c) Widths of PMOS transistors should be Out = 0 Out = 1
halved, while widths of NMOS transistors
should not be changed. 11
TCLK
S0 S1 S2 S3
0/0 1/0 0/0
CK
1/0
Din
S4
1/0
0/1
T T T
1/0
If the probability of input data bit (Din) transition
in each clock period is 0.3, the average value (a) the sequence 01010 is detected.
(in volts, accurate to two decimal places) of the (b) the sequence 01011 is detected.
voltage at node X, is ______ . (c) the sequence 01001 is detected.
[EC-2018 : 2 Marks] (d) the sequence 01110 is detected.
Q.9 The state transition diagram for the circuit [EC-2020 : 2 Marks]
shown is Q.11 The content of the registers are R1 = 25 H,
R2 = 30 H and R3 = 40 H. The following machine
instructions are executed:
D Q 1 PUSH {R1}
PUSH {R2}
PUSH {R3}
Q 0
CLK POP {R1}
A POP {R2}
A=1
A=0
A=0 POP {R3}
After execution, the content of registers R1, R2,
(a) Q=0 Q=1
R3 are:
A=1 (a) R1 = 25 H, R2 = 30 H, R3 = 40 H
A=0 (b) R1 = 40 H, R2 = 30 H, R3 = 25 H
A=0 (c) R1 = 30 H, R2 = 40 H, R3 = 25 H
A=1
(b) (d) R1 = 40 H, R2 = 25 H, R3 = 30 H
Q=0 Q=1
[EC-2021 : 2 Marks]
A=1
GATE Previous Years Solved Paper 73
Answers
EC Finite State Machine and Miscellaneous
Solutions
EC Finite State Machine and Miscellaneous
to Q1 as,
B 1 A
f
0 A A D2 = Q1 S
0 1
= Q1 S = Q1 S
C 3. (c)
C
For State A :
2. (d) X Y Z Present State Next State
0 0 0 A B
0 0 1 A A
D1 Q1 A
D2 Q2 0 1 0 A A
CLK 0 1 1 A A
S
Q1 Q2 1 0 0 A C
1 0 1 A C
1 1 0 A A
Initially when X-OR gate is connected to the
1 1 1 A A
input of flip-flop 2 i.e. input of D2, i.e.
D2 = A S = Q1 S For State B :
Now, X-OR is replaced by X-NOR, keeping state X Y Z Present State Next State
diagram to be unchanged it means the input to 0 0 0 B A
D2 should not get changed. 0 0 1 B C
When replaced by X-NOR gate. 0 1 0 B B
Now, D2 = A S 0 1 1 B B
Also, we know that, 1 0 0 B A
A B = A B= A B 1 0 1 B B
1 1 0 B B
We require output to be as D2 = A S
1 1 1 B B
74 Electronics Engineering Digital Electronics
11. (b)
R 1 = 25 H, R2 = 30 H, R3 = 40 H
Stack memory
Push R1
Push R2 40 H
Push R3 30 H
25 H
7 Logic Families
ELECTRO NICS EN GINEERIN G (c) the load transistor has a smaller W/L ratio
compared to the driver transistor.
(GATE Previous Years Solved Papers)
(d) none of the above [EC-1997 : 1 Mark]
Q.1 In figure, the Boolean expression for the output
Q.4 For the NMOS logic gate shown in figure, the
in terms of inputs A, B and C when the clock
logic function implemented is
‘CK’ is high, is given by
VDD
p-channel
F
CK
A B A D
C B C E
n-channel
(a) ABCDE
[EC-1991 : 1 Mark]
(b) ( AB + C ) ( D + E)
Q.2 The CMOS equivalent of the following n MOS
(c) A ( B + C ) + D E
gate (figure) is (draw the circuit).
(d) ( A + B) C + D E
VDD
[EC-1997 : 1 Mark]
A C
[EC-1991 : 1 Mark] Vi Vo
Q.6 The circuit in the figure has two CMOS NOR- (a) P NOR Q (b) P NAND Q
gates. This circuit functions as a (c) P OR Q (d) P AND Q
R [EC-2008 : 2 Marks]
VSS
Vo (output) Q.9 In the circuit shown
5V
VSS
0 Vi A
C
(a) flip-flop
C
(b) schmitt trigger
(c) monostable multi-vibrator B
(a) Y = A B + C (b) Y = (A + B) C
T1
Vo (c) Y = ( A + B) C (d) Y = AB + C
T2 [EC-2012 : 1 Mark]
Z
R2
OUT
X Q1
Diode
P Q
Y
(a) XY (b) X Y
(c) X Y (d) XY
[EC-2013 : 2 Marks]
78 Electronics Engineering Digital Electronics
Q.11 The output (Y) of the circuit shown in the figure (a) 3 input OR gate
is (b) 3 input NOR gate
VDD (c) 3 input AND gate
(d) 3 input XOR gate
A B C [EC-2015 : 1 Mark]
Y
Q.14 An SR latch is implemented using TTL gates as
shown in the figure. The set and reset pulse
A inputs are provided using the push-button
switches. It is observed that the circuit fails to
B work as desired. The SR latch can be made
functional by changing,
C
Set Q
(a) A + B + C (b) A + B C + A C 5V
(c) A + B + C (d) A B C
[EC-2014 : 1 Mark] Q
Reset
Q.12 In the following circuit employing pass
(a) NOR gates to NAND gates.
transistor logic, all NMOS transistors are
(b) inverting to buffers.
identical with a threshold voltage of 1 V.
(c) NOR gates to NAND gates and inverters to
Ignoring the body-effect, the output voltages at
buffers.
P, Q and R are
(d) 5 V to ground.
5V 5V 5V
[EC-2015 : 2 Marks]
D2
E2 Enable = 1
D3 is a tristate buffer
E3 Vo
(a) 2-to-1 multiplexer
1k
(b) 4-to-1 multiplexer
10 V (c) 7-to-1 multiplexer
(d) 6-to-1 multiplexer [EC-2016 : 2 Marks]
GATE Previous Years Solved Paper 79
Q.16 The logic functionally realized by the circuit Q.19 The logic gates shown in the digital circuit
shown below is below use strong pull-down nMOS transistors
B B for LOW logic level at the outputs. When the
pull-downs are off, high value resistors set the
output logic levels to HIGH (i.e. the pull-ups
A are weak). Note that some nodes are
Y intentionally shorted to implement “wired
logic”. Such shorted nodes will be HIGH only if
the outputs of all the gates whose outputs are
(a) OR (b) XOR shorted are HIGH.
(c) NAND (d) AND
X0
[EC-2016 : 1 Mark]
X X
Y F
Y
f(X, Y)
A B
Vout2
EN 3V
3V
X1 X2
(a) X1 + X2 (b) X1 X2
3V (c) X 1 X 2 (d) X 1 X 2
Vout1 [EE-2005 : 2 Marks]
3V Q.3 The TTL circuit shown in the figure is fed with
the waveform X (also shown). All gates have
equal propagation delay of 10 ns. The output Y
of the circuit is
GATE Previous Years Solved Paper 81
X (a) XY (b) XY
100 ns (c) XY (d) XY
1
[EE-2013 : 2 Marks]
t
0
Q.5 The logical gate implemented using the circuit
X
Y shown below where, V1 and V2 are inputs (with
0 V as digital 0 and 5 as digital 1) and Vout is the
output, is
Y 5V
1k
(a) 1
V out
1k
t Q1
0 V1
1k
Y V2 Q2
(b) 1
1
(c) SECTIO N -B
t
0 Q.1 A 10 bit A/D converter is used to digitize an
analog signal in the 0 to 5 V range. The
Y
maximum peak to peak ripple voltage that can
be allowed in the dc supply voltage is
(d) 1
(a) nearly 100 mV (b) nearly 50 mV
t (c) nearly 25 mV (d) nearly 5 mV
0
[EE-1993 : 1 Mark]
[EE-2010 : 2 Marks]
Q.2 The number of comparisons carried out in a 4-bit
Q.4 In the circuit shown below, Q1 has negligible
flash type A/D converter is
collector-to-emitter saturation voltage and the
(a) 16 (b) 15
diode drops negligible voltage across it under
forward bias. If VCC is +5 V, X and Y are digital (c) 4 (d) 3
signals with 0 V as logic 0 and VCC as logic 1, [EE-1994 : 1 Mark]
the Boolean expression for Z is Q.3 A dual-slope analog-to-digital converter uses
+V CC an N-bit counter. When the input signal Va is
being integrated, the counter is allowed to count
R1
up to a value
Z (a) equal to 2N – 2
X Q1 (b) equal to 2N – 1
R2 Diode (c) proportional to Va
(d) inversely proportional to Va
Y
[EE-2000 : 2 Marks]
82 Electronics Engineering Digital Electronics
Q.4 Among the following four, the slowest ADC Q.7 The Octal equivalent of the HEX number AB CD
(analog-to-digital converter) is is
(a) parallel-comparator (i.e. flash) type (a) 253.314 (b) 253.632
(b) successive approximation type (c) 526.314 (d) 526.632
(c) integrating type [EE-2007 : 2 Marks]
(d) counting type [EE-2001 : 1 Mark]
Q.8 An 8-bit, unipolar successive approximation
Q.5 The voltage comparator shown in the figure can register type ADC is used to convert 3.5 V to
be used in the analog-to-digital conversion is digital equivalent output.
V1 The reference voltage is +5 V. The output of the
–
Vo ADC at the end of 3rd clock pulse after the start
V2 +
of conversion, is
(a) a 1-bit quantizer (b) a 2-bit quantizer (a) 1010 0000 (b) 1000 0000
(c) a 4-bit quantizer (d) a 8-bit quantizer (c) 0000 0001 (d) 0000 0011
[EE-2004 : 1 Mark] [EE-2015 : 2 Marks]
Q.6 A student has made a 3-bit binary down counter Q.9 A temperature in the range of –40°C to 55°C is
and connected to the R-2-R ladder type DAC to be measured with a resolution of 0.1°C. The
[Gain = (–1 k /2R)] as shown in figure to minimum number of ADC bits required to get a
generate a staircase waveform. The output matching dynamic range of the temperature
achieved is different as shown in figure. What sensor is
could be the possible cause of this error? (a) 8 (b) 10
R R R 1k (c) 12 (d) 14
[EE-2016 : 1 Mark]
2R 2R 2R 2R
+12 V
Q.10 A 2-bit flash analog-to-digital converter (ADC)
–
Vo is given below. The input is 0 < Vin < 3 Volts.
Counter
+ The expression for the LSB of the output B0 as a
1 kHz –12 V
Clock Boolean function of X2, X1 and X0 is
10 k
3V
100
7 + X2
6 –
200
5 B1
4 + X1 Digital
3 circuit
200 –
2
B0
1
+ X0
0
100 –
0 1 2 3 4 5 6 7 ms
V in
(a) The resistance values are incorrect.
(b) The counter is not working properly. (a) X 0 X 2 X1 (b) X 0 X 2 X1
(c) The connection from the counter to DAC is (c) X0[X2 X1] (d) X0 [ X 2 X1 ]
not proper.
[EE-2016 : 2 Marks]
(d) The R and 2R resistances are interchanged.
[EE-2006 : 2 Marks]
GATE Previous Years Solved Paper 83
Answers
EC Logic Families
9. (a) 10. (b) 11. (a) 12. (c) 13. (c) 14. (d) 15. (b) 16. (d)
17. ( ) 18. (d) 19. (8) 20. (a) 21. (b) 22. (d) 23. (a)
Solutions
EC Logic Families
1. Sol. 3. (c)
When clock is high then p-channel is off, so the The gate delay of an NMOS inverter is
input to CMOS is logic 0, then the output of the dominated by charge time rather than discharge
CMOS inverter is logic 1. time because the load transistor has a smaller
W/L ratio compared to the driver transistor.
2. Sol.
CMOS circuit: PMOS and NMOS both , 4. (c)
VDD F = A ( B + C ) + DE
A 5. (a)
VT = 2 V
Vi = –5 V Vo = 0
B C Vi = 0 V Vo = –5 V
7. (c)
Output ID1 = ID2
B K1 (VGS 1 Vt )2 = K 2 (VGS 2 Vt )2
A 36(5 – Vo – 1)2 = 9(Vo – 0 – 1)2
C Vo = 3 V
9. (a)
Series combination of n-mos is equivalent to
AND and parallel combination is equivalent to
Output = A + BC OR.
So, Y = C ( A + B) = C + ( A + B) = C + A B
84 Electronics Engineering Digital Electronics
18. (d) x1
From pull-down network, EN
f ( X , Y ) = X Y + XY = X Y F
f (X, Y) = X Y =X Y x2
D
19. Sol.
X0 Wired AND
When, EN = 0
B
X1 x 1 = (D 0) = 1 PMOS is in OFF state
A
X2
x 2 = (1 + D) = 0 NMOS is in OFF state
Y
X3 Both the transistors are in OFF state, which offers
high impedance.
A = (X1 X2 ) X3 When, EN = 1
B = [( X 1 X 2 ) X 3 X0 ] X 0 = 0 x 1 = (D 1) = D
Y = B + X3 = 0 + X3 = X3
x 2 = (0 + D) = D
Out of 16 possible combinations of X3 X2 X1 X0,
X3 will be high for 8 combinations. So, Y will be F=D
high for 8 combinations. 22. (d)
20. (a) VOUT
Vdd VDD
Slope = –1
Q1
NML
Q2
When, n = p
NMH
Q3 Q4
VDD
0 VIN
VOL VIL VIH VOH
A B VDD
VIT =
2
A B Q1 Q2 Q3 Q4 F
0 0 ON ON OFF OFF 1 Making PMOS wider, shifts input transition
0 1 OFF ON ON OFF 0 point (VIT) towards VDD.
1 0 ON OFF OFF ON 0 Making NMOS wider, shifts input transition
1 1 OFF OFF ON ON 1 point (VIT) towards zero.
So, as PMOS made wider, NML increases and
So, the given logic circuit acts as an XNOR gate.
NMH decreases.
86 Electronics Engineering Digital Electronics
23. (a) 3V 3V 3V
3V + + +
0.6 0.6 0.6
+ – – –
0.6 Vout2
2.4 V
–
3V 2.4 V 2.4 V
+
0.6
3V
–
Vout1
Vout 2 = 2.4 V
3V
Answers
EE Logic Families (Section-A)
Solutions
EE Logic Families (Section-A)
1. (a)
Pull up resistor works as a AND gate.
P X1
Q
t
PQ RS
20 nsec
R
S
1
2. (d)
Output Y
Y 1 = X1 0
t
Output, Q = Y1 + X 2 = ( X1 + X 2 )
Q = X1 X 2 4. (b)
3. (a) X Y Q Z
0 0 OFF 0
0 +5 V OFF +5 V
100 nsec
1
+5 V 0 ON 0
X +5 V +5 V ON 0
t
0 Z = XY
GATE Previous Years Solved Paper 87
Vout V1 V2 Vout
1k 0 0 1
V1 Q1
1k 0 1 0
V2 Q2
1 0 0
1 1 0
Answers
EE Logic Families (Section-B)
Solutions
EE Logic Families (Section-B)
5 5 10. (a)
So, the resolution will be = 8
=
2 1 255 The input to digital circuit is X2, X1, X0 and
The applied input is 3.5 V. output is B1B0.
The successive approximation ADC start
X2 X1 X0 B1 B0
working from the MSB so.
0 0 0 0 0
After one clock:
0 0 1 0 1
SAR will toggle it’s MSB from 0 1 so output of
0 1 1 1 0
SAR will be 1000 0000.
1 1 1 1 1
After second clock:
SAR will toggle its 7th bit from 0 1 but 1100 X1X0
0000 will result in value greater than 3.5 so B0 = X2 00 01 11 10
ELECTRO NICS EN GINEERIN G Q.6 In the DRAM cell in the figure, the Vt of the
NMOSFET is 1 V. For the following three
(GATE Previous Years Solved Papers)
combinations of WL and BL voltages.
Q.1 Choose the correct statement from the following: Word line (WL)
(a) PROM contains a programmable AND
array and a fixed OR array.
(b) PLA contains a fixed AND array and a
Bit line
programmable OR array. (BL)
(c) PROM contains a fixed AND array and a C
programmable OR array.
(d) PLA contains a programmable AND array (a) 5 V, 3 V, 7 V (b) 4 V, 3 V, 4 V
and a programmable OR array.
(c) 5 V, 5 V, 5 V (d) 4 V, 4 V, 4 V
[EC-1992 : 1 Mark]
[EC-2001 : 2 Marks]
Q.2 A PLA can be
Q.7 If the input X3, X2, X1, X0 to the ROM in the figure
(a) as a microprocessor.
are 8 4 2 1 BCD numbers, then the outputs Y3,
(b) as a dynamic memory. Y2, Y1, Y0 are
(c) to realize a sequential logic.
X3 X2 X1 X 0
(c) to realize a combinational logic.
[EC-1994 : 1 Mark]
ROM BCD-to-decimal decoder
Q.3 A dynamic RAM consists of
D0 D1 D8 D9
(a) 6 transistors
(b) 2 transistors and 2 capacitors
(c) 1 transistor and 2 capacitor
Y3
(d) 2 capacitors only Y2
Y1
[EC-1994 : 1 Mark] Y0
Address 0 2 4 6 8 10 11 14 WL
VDD
Data 0011 1111 0100 1010 1011 1000 0010 1000 BL BL
W
MSB
(c)
C A
1
ROM WL
E VDD
BL BL
(d)
C:
t1 t2 time
The clock to the register is shown, and the data
on the W bus at time t1 is 0110. The data on the [EC-20014 : 2 Marks]
bus at time t2 is
Q.10 In a DRAM,
(a) 1111 (b) 1011
(a) periodic refreshing is not required.
(c) 1000 (d) 0010
(b) information is stored in a capacitor.
[EC-2003 : 2 Marks] (c) information is stored in a latch.
Q.9 If WL is the Word Line and BL the Bit Line, an (d) both read and write operations can be
SRAM cell is shown in performed simultaneously.
[EC-2017 : 1 Mark]
WL
VDD Q.11 A 2 × 2 ROM array is built with the help of
BL BL
diodes as shown in the circuit below. Here W0
and W1 are signals that select the word lines
and B0 and B1 are signals that are output of the
(a)
sense amps based on the stored data
corresponding to the bit lines during the read
operation.
B0 B1
Sense amps
WL
VDD W0
BL BL
W1
(b)
VDD
GATE Previous Years Solved Paper 91
B0 B1 1 0 0 1
(a) 0 1 (b) 1 0
W0 D00 D01
W1 D10 D11
1 0 1 1
Bits stored in the ROM array (c) 1 0 (d) 0 0
During the read operation, the selected word
[EC-2018 : 2 Marks]
line goes high and the other word line is in a
high impedance state. As per the Q.12 Addressing of a 32 k × 16 memory is realized
implementation shown in the circuit diagram using a single decoder. The minimum number
above, what are the bits corresponding to Dij of AND gates required for the decoder is
(where, i = 0 or 1 and j = 0 or 1) stored in the (a) 2 8 (b) 2 32
ROM? (c) 2 19 (d) 2 15
[EC-2021 : 1 Mark]
Answers
EC Memories
Solutions
EC Memories
1. (c, d) 3. (c)
PROM contains a fixed AND array and a A dynamic RAM consists of 1 transistor and 1
programmable OR array. capacitor or 2 MOSFETs.
PLA contains a programmable AND array and
5. (a)
a programmable OR array.
Each cell of a static RAM contains six MOS
2. (d) transistors. Each bit on static RAM is stored on
PLA is a type of fixed architecture logic devices four transistors out of which two are PMOS and
with programmable AND gates followed by two are NMOS, that from cross-coupled
programmable OR gates. The PLA can be used inverters. Remaining two transistors are used
to implement a complex combinational circuits. to control reading from or writing into cell.
92 Electronics Engineering Digital Electronics
BL BL
A14
M5 M2 M4
M6 15
address
lines
Q 2
15
Q A0
Decoder
memory
locations
M1 M3
10. (b) 16
ELECTRO NICS EN GINEERIN G Q.5 The number of comparators in a 4-bit flash ADC
is
(GATE Previous Years Solved Papers)
(a) 4 (b) 5
Q.1 For an ADC, match the following: if (c) 15 (d) 16
List-I [EC-2000 : 1 Mark]
A. Flash converter
Q.6 For the 4-bit DAC shown in the figure, the output
B. Dual slope converter
voltage Vo is,
C. Successive approximation converter
1k 7k
List-II
1. requires a conversion time of the order of a +15 V
few seconds. –
R R R Vo
+
2. requires a digital-to-analog converter.
–15 V
3. minmizes the effect of power supply 2R 2R 2R 2R 2R
interference.
4. requires a very complex hardware. 1V 1V
Vin = 6.2 V
Clock
GATE Previous Years Solved Paper 95
Vref 255 +
Vo Thermometer
Digital
– code to binary
output
conversion
(b) Vref 2 +
Vin –
Vref1 +
96 Electronics Engineering Digital Electronics
If the flash ADC has 8-bit resolution, which one Q.20 An 8-bit unipolar (all analog output values are
of the following alternatives is closest to the positive) Digital-to-Analog Converter (DAC)
maximum sampling rate? has a full scale voltage range from 0 V to 7.68 V.
(a) 1 mega samples per second If the digital input code is 10010110 (the left
(b) 6 mega samples per second most bit is MSB), then the analog output voltage
(c) 64 mega samples per second of the DAC (Rounded off to one decimal place)
is _______ Volts.
(d) 256 mega samples per second
[EC-2021 : 1 Mark]
[EC-2016 : 2 Marks]
Answers
EC ADC and DAC
8. (c) 9. (a) 10. (d) 11. (b) 12. (b) 13. (c) 14. (d) 15. (b)
Solutions
EC ADC and DAC
1. Sol. 4. (b)
A-4, B-3, C-2 Conversion time of successive approximate
ADC depends upon the number of bits only.
2. (b)
The advantage of using a dual slope ADC in a 5. (c)
digital voltmeter is its high accuracy. Number of comparators in a flash ADC is equal
to 2n – 1, where n = number of bits.
3. (d)
24 – 1 = 15
6.6
Vo = = 13.2 14
0.5
Binary equivalent = 1110
GATE Previous Years Solved Paper 97
Rf I/4 I/16
Vo = 1+ Vin –
R Vo
+
5
= 8× =5V
8
3
7. (c) I 1 × 10
then, i= = = 62.5 µA
16 16
2n –1 = 23 –1
13. (c)
8. (c)
Net current in inverting terminal of op-amp
2n – 1 = 28 – 1
= 255 I I 5I
= + =
4 16 16
9. (a) 5I
Vo = R×
R R R R 16
Vo = VR d3 + d2 + d1 + d0
R 2R 4R 8R
10 × 10 3 × 5 × 1 × 10 3
=
R 16
Vo = VR (Constant)
R = –3.125 V
Worst case tolerance in,
14. (d)
1.1 × 1.1
Vo = = 35% VDAC = 2–1 b0 + 20 b1 + 21 b2 + 22 b3
0.9
= 0.5 b0 + b1 + 2b2 + 4b3
10. (d) Counter output will start from 0000 and will
increase by 1 at every clock pulse.
2n 100
Table for VDAC is shown below:
n 7
b3 b2 b1 b0 VDAC
11. (b)
0 0 0 0 0
0 0 0 1 0.5
C/P 1 2 3 4 5 6 7
0 0 1 0 1
Counter 001 010 011 100 101 110 1000 0 0 1 1 1.5
0 1 0 0 2
Decoder 0001 0010 0011 1000 1001 1010 0000 0 1 0 1 2.5
1 2 3 8 9 10 0 0 1 1 0 3
0 1 1 1 3.5
D2 is connected to ground and Q2 to D3.
1 0 0 0 4
12. (b) 1 0 0 1 4.5
1 0 1 0 5
Using concept of convert division rule:
1 0 1 1 5.5
VR
I= 1 1 0 0 6
R 1 1 0 1 6.5
10 1 1 1 0 7
= = 1 mA
10 k 1 1 1 1 7.5
98 Electronics Engineering Digital Electronics
Counter will increase till Vin > VDAC. So, when 19. Sol.
VDAC = 6.5 V, the comparator output will be zero Given, n = 10
and the counter will be stable at that reading. VFS = 10 V
The corresponding reading of LED display is 13. Input voltage = (13A)16 = (314)10
Output voltage = Resolution × Decimal
15. (b)
equivalent of input
Magnitude of the error between VDAC and Vin at
10
steady state Vo = 10
× 314 = 3.069 V
= 6.5 – 6.2 2 1
= 0.3 V 20. (4.5)
17. Sol.
Step size = 0.0625 V
Decimal equivalent = 15
Analog output = 15 × 0.0625
= 0.9375 Volts