HW-2 Logic
HW-2 Logic
Ministry of Education
KING ABDULAZIZ UNIVERSITY
Name:
ID No:
Points
20
3. Determine, using truth tables, which expressions in each of the groups are equal:
a. f = ac' + a'c + bc
g = (a + c)(a' + b + c')
b. f = a ' c ' + bc + ab'
g = b ' c ' + a ' c ' + ac
h = b'c' + ac + a'b
c. f = ab + ac + a' bd
g = bd + ab'c + abd'
4. For each of the following expressions, indicate which (if any) of the following apply (more than
one may apply):
i. Product term
ii. SOP expression
iii. Sum term
iv. POS expression
a. abc'd + b'cd + ad'
b. a' + b + cd
c. b'c'd'
d. (a + b)c'
e. a ' + b
f. a'
g. a(b + c) + a'(b' + d)
h. ( a + b ' + d ) ( a ' + b + c)
2
5. For the expressions of problem 2, how many literals are in each?
6. Using properties 1 to 10, reduce the following expressions to a minimum SOP form. Show each
step (number of terms and number of literals in minimum shown in parentheses).
a. x' z + xy'z + xyz (1 term, 1 literal)
b. x' y'z' + x'yz + xyz (2 terms, 5 literals)
c. x' y' z ' + x' y' z + xy' z + xyz' (3 terms, 7 literals)
d. a ' b ' c ' + a'b'c + abc + ab'c (2 terms, 4 literals)
e. x' y' z ' + x' yz'+ x' yz + xyz (2 terms, 4 literals)
f. x' y' z ' + x' y' z + x' yz + xyz + xyz' (2 solutions, each with 3 terms, 6 literals)
g. x ' y ' z' + x' y ' z + x ' y z + x y ' z + x y z + x y z ' (3 terms, 5 literals)
h. a'b'c' + a'bc' + a'bc + ab'c + abc' + abc (3 terms, 5 literals)
7. Show a block diagram of a system using AND, OR, and NOT gates to implement the following
functions. Assume that variables are available only uncomplemented. Do not manipulate the
algebra.
a. P ' Q ' + PR + Q ' R
b. ab + c(a + b)
c. wx'(v + y'z) + (w'y + v ' ) ( x + yz)'
3
9. Find the complement of the following expressions. Only single variables may be complemented
in the answer.
a. f = abd' + b'c' + a'cd + a'bc'd
b. g = ( a + b' + c)(a' + b + c)(a + b' + c')
c. h = (a + b)(b' + c) + d'(a'b + c)
000 0 1
001 1 1
010 0 0
011 0 0
100 0 1
101 1 1
110 1 1
111 1 0
4
12. For each of the following circuits,
i. find an algebraic expression.
ii. put it in SOP form.