Professional Documents
Culture Documents
Part I: MCQ
Question 1 [10 points]: Select the appropriate answer for each question.
a. F= a’ + c’ + c b
b. F= a’ ⨁ b’
c. F= a’ b’ c + a’ b c’ + a b’ c’ + a b c
d. F= a ⨁ b ⨁ c
Page 1 of 8
CSCI345 Exam II - Sample
a) XOR
b) XNOR
c) AND
d) XAND
a. A
b. B
c. A’
d. AB’
Page 2 of 8
CSCI345 Exam II - Sample
Part II: Implementation of Digital Circuits with NAND, NOR, XOR and XNOR
Question 1 [25 points]: Consider the following truth table where A, B, C and D are considered as
inputs and F is the output:
A B C D F
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 1
Page 3 of 8
CSCI345 Exam II - Sample
Or by realizing the function using logic gates (AND, NOT and OR),
Then replacing the OR gate by an inverted inputs NAND gate, then pushing the bubbles
from the NAND inputs to the AND’s output.
Page 4 of 8
CSCI345 Exam II - Sample
Page 5 of 8
CSCI345 Exam II - Sample
A B C D F d
0 0 0 0 0 d0=0
0 0 0 1 0
0 0 1 0 0 d1=0
0 0 1 1 0
0 1 0 0 0 d2 = 0
0 1 0 1 0
0 1 1 0 0 d3=D
0 1 1 1 1
1 0 0 0 0 d4 = 0
1 0 0 1 0
1 0 1 0 0 d5=D
1 0 1 1 1
1 1 0 0 0 d6=D
1 1 0 1 1
1 1 1 0 1 d7=1
1 1 1 1 1
Page 6 of 8
CSCI345 Exam II - Sample
Page 7 of 8
CSCI345 Exam II - Sample
Question 2 [20 points]: Consider the following truth table where X, Y and Z are considered as
inputs and A, B and C are the outputs:
Page 8 of 8