CS302P - Sample Paper
CS302P - Sample Paper
FINALTERM EXAMINATION
Fall 2022
CS302P – Digital Logic Design (Practical)
Time: 90 min
Marks: 40
MCQ Part
Generally, for checking the result in a single bit, we use _________ indicator.
A. Logic Converter
B. Logic Tester
C. Probe
D. 7-sagment Display
A. Truth Table
B. Boolean Algebra
C. Circuit Minimizer
D. Logic Converter
A. A = 1, B = 1, C = 1
B. A = 0, B = 0, C = 0
C. A = 0, B = 1, C = 0
D. A = 0, B = 0, C = 1
A. N x N
B. 2 x N
C. N+2
D. 2^N
In a 4-bit odd counter, if the current state is 0001 then the next state will be
______________.
A. 0010
B. 0000
C. 0011
D. 1100
The 4-bit grey code for the binary 1001 will be _______________.
A. 1100
B. 0011
C. 1111
D. 1101
Which of the following is the correct maxterm ID for the term x+y’+z?
A. M2
B. M5
C. m2
D. m5
Which of the following gates is used to get the sum output of the full adder
circuit?
A. AND
B. OR
C. NOR
D. XOR
Question No: 10 (Marks: 01) - Please choose the correct option
To build an XOR gate using basic gates only, _____________ gates can be used?
A. 4 NAND
B. 2 NAND
C. 2 NOR
D. 4 NOR
Consider the given circuit, what value will be displayed on 7-segment display
when the simulation is activated?
A. 3
B. 12
C. d
D. 6
When using full adders to build a 4-bit parallel subtractor circuit, the carry
input of which of the full adders is always set to 1?
A. Multiplexer
B. Demultiplexer
C. Counter
D. Full Adder
A. Counter
B. Register
C. Flip-flop
D. Full Adder
In a 74151, 1-of-8 Data Sel/Mux, which of the following pins is used as strobe
signal?
A. Y
B. W
C. G’
D. GND
In a 1-of-8 decoder, what will be the value of output Y when strobe pin is set to
logic high?
A. Y=0
B. Y=W
C. Y=1
D. Y=D0
A. D0
B. D1
C. D2
D. D3
A. AB+AB’+A’B
B. AB+A’B’C+A’B
C. AB’+AB+A’B’C
D. AB+A’B’+ABC
For which of the following input combination of ground lines of 74138 decoder,
all the decoder outputs are set to 1?
A. G2A’ = X, G2B’ = 1, G1 = X
B. G2A’ = X, G2B’ = X, G1 = X
C. G2A’ = 1, G2B’ = 1, G1 = X
D. G2A’ = X, G2B’ = X, G1 = X
For which of the following combinations of ground input lines, all the output
lines of 74138 decoder correspond to stored address 0?
A. G2A’ = X, G2B’ = 1, G1 = X
B. G2A’ = X, G2B’ = X, G1 = X
C. G2A’ = 1, G2B’ = 0, G1 = 1
D. G2A’ = X, G2B’ = X, G1 = X
Question No: 22 (Marks: 01) - Please choose the correct option
To create a binary to gray code converter circuit by using the logic gates only,
which of the following gates is used?
A. AND
B. OR
C. NAND
D. XOR
A. W Y’ Z + W ‘Y’ Z
B. W XY’ + W’ Y’Z
C. W Y’ Z’ + W Y’ Z
D. W Y Z’ + WYZ
A. A+B=B+A
B. A•B=B+A
C. A • (B • C) = (A • B) • C
D. A•B=B•A
Descriptive Part
Inputs Output
A B C F
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
Solution:
Realize the below given 4-variable function by using 16x1 multiplexer in Electronics
Workbench.
F(A, B, C, D) = A'B'C'D'+A'BC'D+ABC’D’+A'BC'D'+AB'C'D'
Solution:
Question No: 27 (Marks: 05)
F = AB + (AC)′ + AB′C(AB + C)
Solution:
F = AB + (AC)′ + AB′C(AB + C)
= AB + A′ + C′+ AB′C.AB + AB′C.C
= AB + A′ + C′ + 0 + AB′C (B.B′ = 0 and C.C = C)
= ABC + ABC′ + A′ + C′ + AB′C (AB = AB(C + C′)
= ABC + ABC′) = AC(B + B′) + C′(AB + 1) + A′
= AC + C′+A′ (B + B′ = 1 and AB + 1 = 1)
= AC + (AC)′ = 1
Solution:
WX/YZ 00 01 11 10
00 x 1 1 x
01 x 1
11 1
10 x 1
WX/YZ 00 01 11 10
00 x 1 1 x
01 x 1
11 1
10 x 1
Solution:
Question No: 30 (Marks: 05)
Build a 2-bit up counter in Electronics Workbench by using a D-Flop Flip.
Solution: