Assignment #02 Name:M.Hamza Amin ID NO:191862
Assignment #02 Name:M.Hamza Amin ID NO:191862
Assignment #02 Name:M.Hamza Amin ID NO:191862
NAME:M.HAMZA AMIN
ID NO:191862
QUESTION#01:
Show a block diagram of a circuit using AND and OR
b+gates for: f = a+ (b+ c), g = (a+ b) + c
Answer:
F=a+(b+c):
g=(a+b)+c:
Question#02
Show a truth table for the following function: f = X’Y
+ Y’Z’ + XYZ:
Answer:
Question#04
Using properties of Boolean algebra, reduce the following
expressions to a minimum SOP form.
Show each step (number of terms and number of literals
in minimum shown in parentheses).
i. x’z + xy’z + xyz (1 term, 1 literal)
ii. a’b’c’ + a’b’c + abc + ab’c (2 terms, 4 literals)
iii. x’y’z’ + x’y’z + x’yz + xyz + xyz’ (2 solutions, each
with 3 terms, 6 literals)
ANSWER:
i)x’z+xy’z+xyz
=z(x’+xy’+xy)
=z(x’+x(y’+y))
=z(x’+x)
=z(1 term, 1 literal)
ii)a’b’c’+ a’b’c + abc + ab’c
=a’b(c’+c)+c(ab+ab’)
=a’b+b+c(2 terms, 4literals)
iii) x’y’z’ + x’y’z + x’yz + xyz + xyz’
= x’y’(z’+z)+yz(x’+x)+xyz’
=x’y’+yz+xyz’
=x’y’+y(z+xy) (2 solutions, each with 3 terms, 6 literals)
Question#04
Determine, using truth tables, which expressions in the
groups are equal:
F = a’c’+bc+ab’
G = b’c’+ a’c’+ ac
H = b’c’+ac+a’b
ANSWER:
Question #05:
Find the complement of the following expression. F =
abd’+b’c’+ a’cd + a’bc’d
Answer:
F = abd’+b’c’+ a’cd + a’bc’d
F’=(abd’)’(b’c’)’(a’cd)’(a’bc’d)’
F’=(a’b’d)(bc)(ac’d’)(ab’cd’)
Question #06:
For each of the following functions (f and g) and
inputs a, b, c:
abcfg
00001
00111
01000
01100
10001
10111
11011
11110
a. Show the minterms in numerical form.
b. Show an algebraic expression in sum of minterms
form.
c. Show a minimum SOP expression (f: 2 terms, 4
literals; g: 2 terms, 3 literals).
d. Show the minterms of f’ (complement of f) in
numeric form.
e. Show an algebraic expression in product of
maxterms form.
f. Show a minimum POS expression (f: 2 terms, 4
literals; g: 2 terms, 4 literals)
ANSWER:
Function f:
FUNCTION g:
a. Show the minterms in numerical form.
∑(0,1,4,5,6)
b. Show an algebraic expression in sum of minterms
form.
a’b’c’+ab’c+ g=a’b’c’+a’b’c+abc’
c. Show a minimum SOP expression (f: 2 terms, 4
literals; g: 2 terms, 3 literals).
g=a’b’c’+a’b’c+ab’c’+abc’+ab’c
=a’b(c+c’)+ac’(b’+b)ab’c
=a’b’+ac’+ab’c
=a’b+a(c’+b’)
=a’b+ab’+ac’
=b’(a+a’)+ac’
=b’+ac’
d. Show the minterms of f’ (complement of f) in
numeric form.
∑(2,3,7)
e. Show an algebraic expression in product of
maxterms form.
∑(2,3,7)
=B’C’D+BC’+A’D+ACD
=(BC)’D+BC’+A’D+ACD
=(BC)’D+BC’+D(A’+AC)
=(B’+C’)D+BC’+D(A’+AC)
=B’D+C’D+BC’+D((A’+A)(A’+C))
=B’D+C’D+BC’+DA’+DC
=D(B’+C’+A’+C)+BC’
=D(B’+(C’+C)+A’)+BC’
=D(B’+A’)+BC’
=B’D+A’D+BC’
=a’b(c’+cd’.d’)+bc’d+abd+abc
=a’b(c’+cd)+bd(c’+a)+abc
=a’bd+bd(c’+a)+abc
=bd(a’+a+c’)+abc
=bdc’+abc