Mid
Mid
2. Do 2-inputs NOR gate form a complete set of logic gates? Prove your answer.
3. The definitions of:
a. Literals: a variable or its complement 1 point
b. Combinational circuit: Output depends only on the current input values (called an input
combination) 1 point
c. Sequential circuit’s: Sequential circuit’s output depends not only on its current input but also on
the past sequence of inputs that have been applied to it. • I.e., a sequential circuit has memory of
past events 1 point
d. Product term: X, X’·Y, X·Y’·Z 1 point
e. Sum-of-products expression: X + X·W’ 1 point
f. Sum term: X, X’+Y, X+Y’+Z 1 point
g. Product-of-sums expression: (X’+Y) · (Y+Z) 1 point
h. Minterm (n variables) -- a normal product term with n literals
– 2n terms, e.g., X·Y’·Z (n=3)
--- AND terms with every variable present in either true or complemented form
-– is “1” in a given row of the truth table. 1 point
i. Maxterm (n variables) -- a normal sum term with n literals
– 2n terms, e.g., X’+Y’+Z
--- OR terms with every variable in true or complemented form
– is “0” in a given row of the truth table 1 point
j. First and second Canonical form (SOP and POS). 2 point
Canonical sum: is the sum of the minterms corresponding to the truth-table rows of values “1”.
F = ΣX,Y,Z (1,2,5,7) minterm list = X’·Y’·Z + X’·Y·Z’ + X·Y’·Z + X·Y·Z
Canonical product: is the product of the maxterms corresponding to the truth-table rows of values
“0”. F = ΠX,Y,Z (0,3,4,6) maxterm list = (X+Y+Z) · (X+Y’+Z’) · (X’+Y+Z) · (X’+Y’+Z)
The two descriptions are in fact the same. The relation between the minterm and the maxterm lists
is e.g. ΣX,Y,Z (1,2,5,7) = ΠX,Y,Z (0,3,4,6)
k. Decoder: A decoder is a logic circuit that converts coded inputs into coded outputs. Each input
code word produces a different output code word (there is a one-to-one mapping between inputs
and outputs) 2 points
Binary Decoder: Accepts a n-bit binary input code and generates a 1-outof- 2n output code. Used to
activate exactly one of 2n outputs based on n-bit input value. Examples: 2-to-4, 3-to-8, 4-to-16, etc.
l. Multiplexer: A multiplexer (MUX for short) is a digital switch: – it passes (connects) one of its
data inputs to the Output - – the data input selected is a function of a set of control inputs
called selection inputs. 2 points
4. DeMorgan Symbols 6 points
F = ((A’+B+C’)(M’+LN))’
OUT=(A’+B+C’)(M’+LN)
10. Write the canonical sum and product for each of the following logic functions: 5 points (bonus)
F = Σ X1X0 (1,3) = X 1 ’X0 + X 1 X0 F = ΠX1X0 (0,1,3) = (X1 +X 0 ) (X1 + X0 ’) (X 1 ’+ X0)
’