mid17
mid17
Instructions:
• You are allowed to carry the textbook, your own notes and other course related material
with you. Electronic reading devices [including cell phones, ipads, laptops, etc.] are
not allowed.
• You are required to provide a detailed explanation of how you arrived at your answers.
• Good Luck!
Midterm Page 1 of 9
1. Mix of Questions (40 points)
Answer the following 8 questions. Simple reasoning will be enough. Each of them worth
5 points.
Midterm Page 2 of 9
(e) Convert X = AB(CD + EF ) to sum-of-product (SOP) form.
(f) Implement a logic circuit for X = AD + B C̄.
(g) For the full-adder with input A = 0, B = 1, Cin = 1, determine the outputs Σ and
Cout .
(h) Design a simple decoder that detects the presence of the binary code 0110.
Midterm Page 3 of 9
Extra Pages for Problem 1.
Midterm Page 4 of 9
2. Karnaugh Map (30 points)
Let X = (A + BC)(AC + D) + ĀB C̄ D̄.
Midterm Page 5 of 9
Extra Pages for Problem 2.
Midterm Page 6 of 9
3. Functions of Combinational Logic (30 points)
Figure 1: Multiplexer.
Midterm Page 7 of 9
(b) Suppose you have two 4-bit odd parity generators as decribed in Figure 3. This
4-bit odd parity generators outputs 1 if even numbers of inputs are 1 and outputs
0 if odd numbers of inputs are 1. For example, the output is P = 1 if A = 1, B =
0, C = 1, D = 0, and the output is P = 0 if A = 1, B = 0, C = 1, D = 1. Construct
8-bit odd parity generator using two 4-bit odd parity generators with one additional
logic gate. (15 points)
(Hint: Again, 8-bit odd parity generator outputs 1 if even number of inputs are 1
and outputs 0 if odd numbers of inputs are 1)
Midterm Page 8 of 9
Extra Pages for Problem 3.
Midterm Page 9 of 9