University of Sargodha: Midterm Digital Logic Design (CS-Department)
University of Sargodha: Midterm Digital Logic Design (CS-Department)
Q No.1: [80]
Simplify the following Boolean function using K-map and Boolean Algebra.
F(A, B, C, D) = ∑(1, 4, 5, 7, 10, 13, 15)
A. Create a truth table. [10]
B. Draw a circuit before minimization. [10]
C. Draw a circuit after minimization. [15 + 15 + 10 = 40]
D. What is the purpose of K-map and Boolean algebra theorems and pustulates? If any similarities between
them. Explain your opinion with logical reasoning. [10]
E. What is the benefit of the Don’t care condition? Can we use the Don’t care condition with Boolean
algebra? If yes/no. Justify your answer with some supporting examples and explanations. [10]
Q No.2: [20]
Write down the gate level output against every input.
Marks Distribution [2] [2] [2] [2] [2] [5] [5]
A B C D AND OR NOT NAND NOR EXCLUSIVE‐OR EXCLUSIVE‐NOR
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1