SlideShare a Scribd company logo
1 of 3
Download to read offline
a)

2.12 Problems
2.1

Convert the following decimal numbers to binary:
a) 66
b) 49
c) 513
d) 864
e) 1897
f) 2004

2.2
a)
b)
c)
d)
e)
f)

a)
b)
c)
d)
e)
f)
g)
h)

F
0
0
1
1
0
0
1
0

w
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

2.6

z
0
1
0
1
0
1
0
1

x'
1
1
1
1
0
0
0
0

y'
1
1
0
0
1
1
0
0

x+y'
1
1
0
0
1
1
1
1

yz
0
0
0
1
0
0
0
1

(yz)'
1
1
1
0
1
1
1
0

[(x+y' ) (yz)' ]
1
1
0
0
1
1
1
0

xy'
0
0
0
0
1
1
0
0

Derive the Boolean function for the following truth tables:

x'y
0
0
1
1
0
0
0
0

(xy' + x'y)
0
0
1
1
1
1
0
0

[(x+y' ) (yz)' ] (xy' + x'y)
0
0
0
0
1
1
0
0

a)
b)
c)
d)

x
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1

y
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1

z
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

F
0
0
1
0
1
1
0
1
0
1
1
0
1
1
0
1

d)
w
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

Derive the truth table for the following Boolean functions.
F(x,y,z) = x'y'z' + x'yz + xy'z' + xyz
F(x,y,z) = xy'z + x'yz' + xyz + xyz'
F(w,x,y,z) = w'xy'z + w'xyz + wxy'z + wxyz
F(w,x,y,z) = wxy'z + w'yz' + wxz + xyz'
F(x,y,z) = xy' + x'y'z + xyz'
F(w,x,y,z) = w'z' + w'xy + wx'z + wxyz
F(x,y,z) = [(x+y' ) (yz)' ] (xy' + x'y)
F(N3,N2,N1,N0) = N3'N2'N1N0' + N3'N2'N1N0 + N3N2'N1N0' + N3N2'N1N0 + N3N2N1'N0' + N3N2N1N0

Answer:
g)
x y
0 0
0 0
0 1
0 1
1 0
1 0
1 1
1 1

2.5

c
0
1
0
1
0
1
0
1

c)

Convert the following hexadecimal numbers to binary:
a) 66
b) E3
c) 2FE8
d) 7C2
e) 5A2D
f) E08B

2.4

b
0
0
1
1
0
0
1
1

Convert the following unsigned binary numbers to decimal, hexadecimal and octal:
11110
11010
100100011
1011011
1101101110
101111010100

Answer:
a) 3010, 1E16, 368
e) 87810, 36E16, 15568
2.3

b)
a
0
0
0
0
1
1
1
1

x
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1

y
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1

z
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

F1
1
0
0
1
0
1
1
0
0
1
1
0
1
0
0
1

F2
1
1
1
1
0
1
0
0
1
1
0
0
1
1
1
1

N3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

N2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1

Use a truth table to show that the following expressions are true:
w'z' + w'xy + wx'z + wxyz = w'z' + xyz + wx'y'z + wyz
z + y' + yz' = 1
xy'z' + x' + xyz' = x' + z'
xy + x'z + yz = xy + x'z

Answer:
d)
x
0
0
0
0
1
1

y
0
0
1
1
0
0

z
0
1
0
1
0
1

xy
0
0
0
0
0
0

x'z
0
1
0
1
0
0

yz
0
0
0
1
0
0

xy+x'z+yz
0
1
0
1
0
0

xy+x'z
0
1
0
1
0
0

N1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1

N0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

F
0
0
1
1
0
0
1
0
0
0
1
1
1
0
0
1
1
1
e)
f)
g)
h)
2.7

1
1

0
1

1
1

0
0

0
1

1
1

1
1

w'x'yz' + w'x'yz + wx'yz' + wx'yz + wxyz = y(x' + wz)
w'xy'z + w'xyz + wxy'z + wxyz = xz
xiyi + ci(xi + yi) = xiyici + xiyici' + xiyi'ci + xi'yici
xiyi + ci(xi + yi) = xiyi + ci(xi yi)

Use Boolean algebra to show that the expressions in Problem 2.6 are true.
a) Answer
w'z' + w'xy + wx'z + wxyz
= w'x'y'z' + w'x'yz' + w'xy'z' + w'xyz' + w'xyz' + w'xyz + wx'y'z + wx'yz + wxyz
= w'x'y'z' + w'x'yz' + w'xy'z' + w'xyz' + w'xyz + wx'y'z + wx'yz + wxyz
= w'z' + w'xyz + wx'y'z + wx'yz + wxyz
= w'z' + (w'+w)xyz + wx'y'z + w(x'+x)yz
= w'z' + xyz + wx'y'z + wyz

c)
Answer:
x y' z' + x' + x y z' = x z' (y' + y) + x'
= x z' + x'
= x z' + 1 x'
= (x + 1)(x + x' )(z' + 1)(z' + x' )
= 1 1 1 (z' + x' )
= x' + z'

f)
Answer:
w'xy'z + w'xyz + wxy'z + wxyz
= xy'z(w' + w) + xyz(w' + w)
= xy'z + xyz
= xz(y + y')
= xz
g)
Answer:
xiyi + ci(xi + yi)
= xiyi + xici + yici
= xiyi(ci + ci' ) + xi(yi + yi' )ci + (xi + xi' )yici
= xiyici + xiyici' + xiyici + xiyi'ci + xiyici + xi'yici
= xiyici + xiyici' + xiyi'ci + xi'yici

2.8

Use Boolean algebra to reduce the functions in Problem 2.4 as much as possible.
Answer:
a)
F(x,y,z) = x'y'z' + x'yz + xy'z' + xyz
= y'z' (x + x') + yz(x + x' )
= y'z' + yz
= (y + z' ) (y' + z)
=y z

2.9

Any function can be implemented directly as specified or as its inverted form with a not gate added at the

final output. Assume that the circuit size is proportional to only the number of AND gates and OR gates, i.e.
ignore the number of NOT gates in determining the circuit size. Determine which form of the function (the
inverted or un-inverted) will result in a smaller circuit size for the following function. Give your reason and
specify how many AND and OR gates are needed to implement the smaller circuit.
F(x,y,z) = x'y'z' + x'y'z + xy'z + xy'z' + xyz

2.10 Derive the truth table for the following logic gates:
a) A 4-input AND gate.
b) A 4-input NAND gate.
c) A 4-input NOR gate.
d) A 4-input XOR gate.
e) A 4-input XNOR gate.
f) A 5-input XOR gate.
g) A 5-input XNOR gate.
2.11 Derive the truth table for the following Boolean functions.
a) F(w,x,y,z) = [(x y)' + (xyz)'] (w' + x + z)
b) F(x,y,z) = x y z
c) F(w,x,y,z) = [w'xy'z + w'z (y x)]'
2.12 Use Boolean algebra to convert the functions in Problem 2.11 to:
a) The sum-of-minterms format.
b) The product-of-maxterms format.
2.13 Use Boolean algebra to reduce the functions in Problem 2.11 as much as possible.
2.14 Use a truth table to show that the following expressions are true:
a) (x y) = (x y)'
b) x y' = x y
c) (w x) (y z) = (w x) (y z) = (((w x) y) z).
Answer
w x y Z w x y z (w x) (y z) w x y z (w x) (y z)
0 0 0 0
0
0
1
1
1
1
0 0 0 1
0
1
0
1
0
0
0 0 1 0
0
1
0
1
0
0
0 0 1 1
0
0
1
1
1
1
0 1 0 0
1
0
0
0
1
0
0 1 0 1
1
1
1
0
0
1
0 1 1 0
1
1
1
0
0
1
0 1 1 1
1
0
0
0
1
0
1 0 0 0
1
0
0
0
1
0
1 0 0 1
1
1
1
0
0
1
1 0 1 0
1
1
1
0
0
1
1 0 1 1
1
0
0
0
1
0
1 1 0 0
0
0
1
1
1
1
1 1 0 1
0
1
0
1
0
0
1 1 1 0
0
1
0
1
0
0
1 1 1 1
0
0
1
1
1
1
d) [((xy)'x)' ((xy)'y)' ]' = x

y

2.15 Use Boolean algebra to show that the expressions in Question 2.14 are true.
d)

(((w x) y) z)
1
0
0
1
0
1
1
0
0
1
1
0
1
0
0
1
Answer:
F = [((xy)'x)' ((xy)'y)' ]'
= ((xy)'x) + ((xy)'y)
= (x' + y' )x + (x' + y' )y
= xx' + xy' + x'y + y'y
= xy' + x'y
=x y
2.16 Use Boolean algebra to show that XOR = XNOR for three inputs.
Answer:
x y z = ( x y) z
= (x'y + xy') z
= (x'y + xy')' z + (x'y + xy') z'
= (x'y)' · (xy')' z + x'yz' + xy'z'
= (x + y') · (x' + y) z + x'yz' + xy'z'
= xx'z + xyz + x'y'z + y'yz + x'yz' + xy'z'
= (xy + x'y') z + (x'y + xy') z'
= (xy + x'y') z + (xy + x'y')' z'
= (x y) z + (x y)' z'
=x y z

(x’ + y’ + x)(x’ + y’ + y’)(x’ + y’ + z)
(x’ + z’ + x)(x’ + z’ + y’)(x’ + z’ + z)
(y + x + x)(y + x + y’)(y + x + z)
(y + y’ + x)(y + y’ + y’)(y + y’ + z)
(y + z’ + x)(y + z’ + y’)(y + z’ + z)
(z + x + x)(z + x + y’)(z + x + z)
(z + y’ + x)(z + y’ + y’)(z + y’ + z)
(z + z’ + x)(z + z’ + y’)(z + z’ + z)
= (x’ + y’ + z) (x’ + y’ + z’) (x + y + z) (x + y + z’) (x + y’ + z)
2.21 Given F = xy'z' + xy'z + xyz' + xyz, write the expression for F ' using:
a) the AND-of-OR format
Answer:
AND-of-OR format is obtained by using the duality principle or De Morgan’s Theorem:
F' = (x'+y+z) (x'+y+z') (x'+y'+z) (x'+y'+z')
b) the OR-of-AND formats
Answer:
OR-of-AND format is obtained by first constructing the truth table forF and then inverting the 0’s and 1’s
to get F '. Then we simply use the AND terms where F' = 1.
x
0
0
0
0
1
1
1
1

2.17 Express the Boolean functions in Question 2.4 using:
a) The notation.
b) The notation.
2.18 Write the following expression as a Boolean function in the canonical form:
c) F(x, y, z) = (1, 3, 7)
d) F(w, x, y, z) = (1, 3, 7)
e) F(x, y, z) = (1, 3, 7)
f) F(w, x, y, z) = (1, 3, 7)
g) F' (x, y, z) = (1, 3, 7)
h) F' (x, y, z) = (1, 3, 7)
2.19 Given F' (x, y, z) = (1, 3, 7), express the function F using a truth table.
Answer:
F' is expressed as a sum of its 0-minterms. Therefore, F is the sum of its 1-minterms = (0, 2, 4, 5, 6). Using
three variables, the truth table is as follows:
x
0
0
0
0
1
1
1
1

y
0
0
1
1
0
0
1
1

z
0
1
0
1
0
1
0
1

Minterms
m0=x' y' z'
m1=x' y' z
m2=x' y z'
m3=x' y z
m4=x y' z'
m5=x y' z
m6=x y z'
m7=x y z

F
1
0
1
0
1
1
1
0

2.20 Use Boolean algebra to convert the function F(x, y, z) = (3, 4, 5) to its equivalent product-of-sum canonical
form.
Answer:
F = (3, 4, 5) = m3 + m4 + m5
= x’yz + xy’z’ + xy’z
= (x’ + x + x)(x’ + x + y’)(x’ + x + z)

y
0
0
1
1
0
0
1
1

z
0
1
0
1
0
1
0
1

F
0
0
0
0
1
1
1
1

F'
1
1
1
1
0
0
0
0

F ' = x'y'z' + x'y'z + x'yz' + x'yz

2.22 Use Boolean algebra to convert the equation F = w x y z to:
a) The sum-of-minterms format.
Answer
F=w x y z
= (wx + w'x' ) y z
= [(wx + w'x' )y + (wx + w'x' )' y' ] z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z'
= wxyz + w'x'yz + (wx)' (w'x' )'y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z'
= m15 + m3 + (w'+x' )(w+x)y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z'
= m15 + m3 + w'xy'z + wx'y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z'
= m15 + m3 + m5 + m9 + [(wx + w'x' ) y]' [(wx + w'x' )' y' ]' z'
= m15 + m3 + m5 + m9 + [(wx + w'x' )' + y' ] [(wx + w'x' )+ y] z'
= m15 + m3 + m5 + m9 + [(wx)' (w'x' )' + y' ] [wxz' + w'x' z' + yz' ]
= m15 + m3 + m5 + m9 + [(w'+x' )(w+x) + y' ] [wxz' + w'x' z' + yz' ]
= m15 + m3 + m5 + m9 + [w'x + wx' + y' ] [wxz' + w'x' z' + yz' ]
= m15 + m3 + m5 + m9 + w'xyz' + wx'yz' + wxy'z' + w'x'y'z'
= m15 + m3 + m5 + m9 + m6 + m10 + m12 + m0
b) The product-of-maxterms format.
2.23 Write the complete dataflow VHDL code for the Boolean functions in Problem 2.4.
2.24 Write the complete dataflow VHDL code for the logic gates in Problem 2.10.

More Related Content

What's hot

第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」
第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」
第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」Ken'ichi Matsui
 
ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-ssusere0a682
 
01 derivadas
01   derivadas01   derivadas
01 derivadasklorofila
 
ゲーム理論BASIC 演習4 -交渉集合を求める-
ゲーム理論BASIC 演習4 -交渉集合を求める-ゲーム理論BASIC 演習4 -交渉集合を求める-
ゲーム理論BASIC 演習4 -交渉集合を求める-ssusere0a682
 
ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ssusere0a682
 
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-ssusere0a682
 
The Ring programming language version 1.10 book - Part 64 of 212
The Ring programming language version 1.10 book - Part 64 of 212The Ring programming language version 1.10 book - Part 64 of 212
The Ring programming language version 1.10 book - Part 64 of 212Mahmoud Samir Fayed
 
ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-ssusere0a682
 
ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-ssusere0a682
 
Power point array
Power point arrayPower point array
Power point arrayacit4693
 
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」Ken'ichi Matsui
 
Ch 1 part-1 final
Ch 1 part-1 finalCh 1 part-1 final
Ch 1 part-1 finalaminsir
 
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-ssusere0a682
 

What's hot (20)

第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」
第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」
第13回数学カフェ「素数!!」二次会 LT資料「乱数!!」
 
B010310813
B010310813B010310813
B010310813
 
ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-
 
01 derivadas
01   derivadas01   derivadas
01 derivadas
 
ゲーム理論BASIC 演習4 -交渉集合を求める-
ゲーム理論BASIC 演習4 -交渉集合を求める-ゲーム理論BASIC 演習4 -交渉集合を求める-
ゲーム理論BASIC 演習4 -交渉集合を求める-
 
ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-
 
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-
ゲーム理論NEXT コア第2回 -3人ゲームのコアの存在-
 
The Ring programming language version 1.10 book - Part 64 of 212
The Ring programming language version 1.10 book - Part 64 of 212The Ring programming language version 1.10 book - Part 64 of 212
The Ring programming language version 1.10 book - Part 64 of 212
 
ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-
 
ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-
 
Derivadas
DerivadasDerivadas
Derivadas
 
TensorFriday#01
TensorFriday#01TensorFriday#01
TensorFriday#01
 
Power point array
Power point arrayPower point array
Power point array
 
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
 
Jackson d.e.v.
Jackson d.e.v.Jackson d.e.v.
Jackson d.e.v.
 
9-8 Notes
9-8 Notes9-8 Notes
9-8 Notes
 
Ch 1 part-1 final
Ch 1 part-1 finalCh 1 part-1 final
Ch 1 part-1 final
 
No3
No3No3
No3
 
Algebra [project]
Algebra [project]Algebra [project]
Algebra [project]
 
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-
ゲーム理論NEXT 線形計画問題第10回 -シンプレックス法5 人工変数続き-
 

Similar to SOAL RANGKAIAN LOGIKA

xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxxy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxericbrooks84875
 
Algebra digital textbook gopika
Algebra digital textbook gopikaAlgebra digital textbook gopika
Algebra digital textbook gopikagopikarchandran
 
Answers homework2
Answers homework2Answers homework2
Answers homework2Iyut Sbono
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraGouda Mando
 
329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptx329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptxDeniFARHAN2
 
2 complex numbers part 2 of 3
2 complex numbers part 2 of 32 complex numbers part 2 of 3
2 complex numbers part 2 of 3naveenkumar9211
 
Zeros of polynomial functions
Zeros of polynomial functionsZeros of polynomial functions
Zeros of polynomial functionsRhodaLuis
 
Additional mathematics
Additional mathematicsAdditional mathematics
Additional mathematicsgeraldsiew
 
Assignment For Matlab Report Subject Calculus 2
Assignment For Matlab Report Subject  Calculus 2Assignment For Matlab Report Subject  Calculus 2
Assignment For Matlab Report Subject Calculus 2Laurie Smith
 
9A%20thejesvi%20math%20journal%20activity%201-7.pdf
9A%20thejesvi%20math%20journal%20activity%201-7.pdf9A%20thejesvi%20math%20journal%20activity%201-7.pdf
9A%20thejesvi%20math%20journal%20activity%201-7.pdfThejesviIrugu1
 
Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...Beckham000
 

Similar to SOAL RANGKAIAN LOGIKA (20)

Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
 
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docxxy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
xy2.5 3.0 3.5-1.0 6 7 81.0 0 1 23.0 -6 -5 .docx
 
Algebra digital textbook gopika
Algebra digital textbook gopikaAlgebra digital textbook gopika
Algebra digital textbook gopika
 
Answers homework2
Answers homework2Answers homework2
Answers homework2
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean Algebra
 
329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptx329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptx
 
2 complex numbers part 2 of 3
2 complex numbers part 2 of 32 complex numbers part 2 of 3
2 complex numbers part 2 of 3
 
Zeros of polynomial functions
Zeros of polynomial functionsZeros of polynomial functions
Zeros of polynomial functions
 
Ass logic
Ass logicAss logic
Ass logic
 
Interpolation.pptx
Interpolation.pptxInterpolation.pptx
Interpolation.pptx
 
CSE-205_ch-3.pptx
CSE-205_ch-3.pptxCSE-205_ch-3.pptx
CSE-205_ch-3.pptx
 
Additional mathematics
Additional mathematicsAdditional mathematics
Additional mathematics
 
Assignment For Matlab Report Subject Calculus 2
Assignment For Matlab Report Subject  Calculus 2Assignment For Matlab Report Subject  Calculus 2
Assignment For Matlab Report Subject Calculus 2
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
 
Integral table
Integral tableIntegral table
Integral table
 
9A%20thejesvi%20math%20journal%20activity%201-7.pdf
9A%20thejesvi%20math%20journal%20activity%201-7.pdf9A%20thejesvi%20math%20journal%20activity%201-7.pdf
9A%20thejesvi%20math%20journal%20activity%201-7.pdf
 
Basic m4-2-chapter1
Basic m4-2-chapter1Basic m4-2-chapter1
Basic m4-2-chapter1
 
Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...
 

Recently uploaded

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Recently uploaded (20)

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 

SOAL RANGKAIAN LOGIKA

  • 1. a) 2.12 Problems 2.1 Convert the following decimal numbers to binary: a) 66 b) 49 c) 513 d) 864 e) 1897 f) 2004 2.2 a) b) c) d) e) f) a) b) c) d) e) f) g) h) F 0 0 1 1 0 0 1 0 w 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2.6 z 0 1 0 1 0 1 0 1 x' 1 1 1 1 0 0 0 0 y' 1 1 0 0 1 1 0 0 x+y' 1 1 0 0 1 1 1 1 yz 0 0 0 1 0 0 0 1 (yz)' 1 1 1 0 1 1 1 0 [(x+y' ) (yz)' ] 1 1 0 0 1 1 1 0 xy' 0 0 0 0 1 1 0 0 Derive the Boolean function for the following truth tables: x'y 0 0 1 1 0 0 0 0 (xy' + x'y) 0 0 1 1 1 1 0 0 [(x+y' ) (yz)' ] (xy' + x'y) 0 0 0 0 1 1 0 0 a) b) c) d) x 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 y 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 z 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F 0 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 d) w 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 Derive the truth table for the following Boolean functions. F(x,y,z) = x'y'z' + x'yz + xy'z' + xyz F(x,y,z) = xy'z + x'yz' + xyz + xyz' F(w,x,y,z) = w'xy'z + w'xyz + wxy'z + wxyz F(w,x,y,z) = wxy'z + w'yz' + wxz + xyz' F(x,y,z) = xy' + x'y'z + xyz' F(w,x,y,z) = w'z' + w'xy + wx'z + wxyz F(x,y,z) = [(x+y' ) (yz)' ] (xy' + x'y) F(N3,N2,N1,N0) = N3'N2'N1N0' + N3'N2'N1N0 + N3N2'N1N0' + N3N2'N1N0 + N3N2N1'N0' + N3N2N1N0 Answer: g) x y 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 2.5 c 0 1 0 1 0 1 0 1 c) Convert the following hexadecimal numbers to binary: a) 66 b) E3 c) 2FE8 d) 7C2 e) 5A2D f) E08B 2.4 b 0 0 1 1 0 0 1 1 Convert the following unsigned binary numbers to decimal, hexadecimal and octal: 11110 11010 100100011 1011011 1101101110 101111010100 Answer: a) 3010, 1E16, 368 e) 87810, 36E16, 15568 2.3 b) a 0 0 0 0 1 1 1 1 x 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 y 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 z 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F1 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 F2 1 1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 N3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 N2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 Use a truth table to show that the following expressions are true: w'z' + w'xy + wx'z + wxyz = w'z' + xyz + wx'y'z + wyz z + y' + yz' = 1 xy'z' + x' + xyz' = x' + z' xy + x'z + yz = xy + x'z Answer: d) x 0 0 0 0 1 1 y 0 0 1 1 0 0 z 0 1 0 1 0 1 xy 0 0 0 0 0 0 x'z 0 1 0 1 0 0 yz 0 0 0 1 0 0 xy+x'z+yz 0 1 0 1 0 0 xy+x'z 0 1 0 1 0 0 N1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 N0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F 0 0 1 1 0 0 1 0 0 0 1 1 1 0 0 1
  • 2. 1 1 e) f) g) h) 2.7 1 1 0 1 1 1 0 0 0 1 1 1 1 1 w'x'yz' + w'x'yz + wx'yz' + wx'yz + wxyz = y(x' + wz) w'xy'z + w'xyz + wxy'z + wxyz = xz xiyi + ci(xi + yi) = xiyici + xiyici' + xiyi'ci + xi'yici xiyi + ci(xi + yi) = xiyi + ci(xi yi) Use Boolean algebra to show that the expressions in Problem 2.6 are true. a) Answer w'z' + w'xy + wx'z + wxyz = w'x'y'z' + w'x'yz' + w'xy'z' + w'xyz' + w'xyz' + w'xyz + wx'y'z + wx'yz + wxyz = w'x'y'z' + w'x'yz' + w'xy'z' + w'xyz' + w'xyz + wx'y'z + wx'yz + wxyz = w'z' + w'xyz + wx'y'z + wx'yz + wxyz = w'z' + (w'+w)xyz + wx'y'z + w(x'+x)yz = w'z' + xyz + wx'y'z + wyz c) Answer: x y' z' + x' + x y z' = x z' (y' + y) + x' = x z' + x' = x z' + 1 x' = (x + 1)(x + x' )(z' + 1)(z' + x' ) = 1 1 1 (z' + x' ) = x' + z' f) Answer: w'xy'z + w'xyz + wxy'z + wxyz = xy'z(w' + w) + xyz(w' + w) = xy'z + xyz = xz(y + y') = xz g) Answer: xiyi + ci(xi + yi) = xiyi + xici + yici = xiyi(ci + ci' ) + xi(yi + yi' )ci + (xi + xi' )yici = xiyici + xiyici' + xiyici + xiyi'ci + xiyici + xi'yici = xiyici + xiyici' + xiyi'ci + xi'yici 2.8 Use Boolean algebra to reduce the functions in Problem 2.4 as much as possible. Answer: a) F(x,y,z) = x'y'z' + x'yz + xy'z' + xyz = y'z' (x + x') + yz(x + x' ) = y'z' + yz = (y + z' ) (y' + z) =y z 2.9 Any function can be implemented directly as specified or as its inverted form with a not gate added at the final output. Assume that the circuit size is proportional to only the number of AND gates and OR gates, i.e. ignore the number of NOT gates in determining the circuit size. Determine which form of the function (the inverted or un-inverted) will result in a smaller circuit size for the following function. Give your reason and specify how many AND and OR gates are needed to implement the smaller circuit. F(x,y,z) = x'y'z' + x'y'z + xy'z + xy'z' + xyz 2.10 Derive the truth table for the following logic gates: a) A 4-input AND gate. b) A 4-input NAND gate. c) A 4-input NOR gate. d) A 4-input XOR gate. e) A 4-input XNOR gate. f) A 5-input XOR gate. g) A 5-input XNOR gate. 2.11 Derive the truth table for the following Boolean functions. a) F(w,x,y,z) = [(x y)' + (xyz)'] (w' + x + z) b) F(x,y,z) = x y z c) F(w,x,y,z) = [w'xy'z + w'z (y x)]' 2.12 Use Boolean algebra to convert the functions in Problem 2.11 to: a) The sum-of-minterms format. b) The product-of-maxterms format. 2.13 Use Boolean algebra to reduce the functions in Problem 2.11 as much as possible. 2.14 Use a truth table to show that the following expressions are true: a) (x y) = (x y)' b) x y' = x y c) (w x) (y z) = (w x) (y z) = (((w x) y) z). Answer w x y Z w x y z (w x) (y z) w x y z (w x) (y z) 0 0 0 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 1 0 0 1 1 1 1 0 1 0 0 1 0 0 0 1 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 1 0 0 1 1 0 1 1 1 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 1 1 0 1 0 1 0 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 1 1 0 0 1 1 1 1 d) [((xy)'x)' ((xy)'y)' ]' = x y 2.15 Use Boolean algebra to show that the expressions in Question 2.14 are true. d) (((w x) y) z) 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1
  • 3. Answer: F = [((xy)'x)' ((xy)'y)' ]' = ((xy)'x) + ((xy)'y) = (x' + y' )x + (x' + y' )y = xx' + xy' + x'y + y'y = xy' + x'y =x y 2.16 Use Boolean algebra to show that XOR = XNOR for three inputs. Answer: x y z = ( x y) z = (x'y + xy') z = (x'y + xy')' z + (x'y + xy') z' = (x'y)' · (xy')' z + x'yz' + xy'z' = (x + y') · (x' + y) z + x'yz' + xy'z' = xx'z + xyz + x'y'z + y'yz + x'yz' + xy'z' = (xy + x'y') z + (x'y + xy') z' = (xy + x'y') z + (xy + x'y')' z' = (x y) z + (x y)' z' =x y z (x’ + y’ + x)(x’ + y’ + y’)(x’ + y’ + z) (x’ + z’ + x)(x’ + z’ + y’)(x’ + z’ + z) (y + x + x)(y + x + y’)(y + x + z) (y + y’ + x)(y + y’ + y’)(y + y’ + z) (y + z’ + x)(y + z’ + y’)(y + z’ + z) (z + x + x)(z + x + y’)(z + x + z) (z + y’ + x)(z + y’ + y’)(z + y’ + z) (z + z’ + x)(z + z’ + y’)(z + z’ + z) = (x’ + y’ + z) (x’ + y’ + z’) (x + y + z) (x + y + z’) (x + y’ + z) 2.21 Given F = xy'z' + xy'z + xyz' + xyz, write the expression for F ' using: a) the AND-of-OR format Answer: AND-of-OR format is obtained by using the duality principle or De Morgan’s Theorem: F' = (x'+y+z) (x'+y+z') (x'+y'+z) (x'+y'+z') b) the OR-of-AND formats Answer: OR-of-AND format is obtained by first constructing the truth table forF and then inverting the 0’s and 1’s to get F '. Then we simply use the AND terms where F' = 1. x 0 0 0 0 1 1 1 1 2.17 Express the Boolean functions in Question 2.4 using: a) The notation. b) The notation. 2.18 Write the following expression as a Boolean function in the canonical form: c) F(x, y, z) = (1, 3, 7) d) F(w, x, y, z) = (1, 3, 7) e) F(x, y, z) = (1, 3, 7) f) F(w, x, y, z) = (1, 3, 7) g) F' (x, y, z) = (1, 3, 7) h) F' (x, y, z) = (1, 3, 7) 2.19 Given F' (x, y, z) = (1, 3, 7), express the function F using a truth table. Answer: F' is expressed as a sum of its 0-minterms. Therefore, F is the sum of its 1-minterms = (0, 2, 4, 5, 6). Using three variables, the truth table is as follows: x 0 0 0 0 1 1 1 1 y 0 0 1 1 0 0 1 1 z 0 1 0 1 0 1 0 1 Minterms m0=x' y' z' m1=x' y' z m2=x' y z' m3=x' y z m4=x y' z' m5=x y' z m6=x y z' m7=x y z F 1 0 1 0 1 1 1 0 2.20 Use Boolean algebra to convert the function F(x, y, z) = (3, 4, 5) to its equivalent product-of-sum canonical form. Answer: F = (3, 4, 5) = m3 + m4 + m5 = x’yz + xy’z’ + xy’z = (x’ + x + x)(x’ + x + y’)(x’ + x + z) y 0 0 1 1 0 0 1 1 z 0 1 0 1 0 1 0 1 F 0 0 0 0 1 1 1 1 F' 1 1 1 1 0 0 0 0 F ' = x'y'z' + x'y'z + x'yz' + x'yz 2.22 Use Boolean algebra to convert the equation F = w x y z to: a) The sum-of-minterms format. Answer F=w x y z = (wx + w'x' ) y z = [(wx + w'x' )y + (wx + w'x' )' y' ] z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z' = wxyz + w'x'yz + (wx)' (w'x' )'y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z' = m15 + m3 + (w'+x' )(w+x)y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z' = m15 + m3 + w'xy'z + wx'y'z + [(wx + w'x' )y + (wx + w'x' )' y' ]' z' = m15 + m3 + m5 + m9 + [(wx + w'x' ) y]' [(wx + w'x' )' y' ]' z' = m15 + m3 + m5 + m9 + [(wx + w'x' )' + y' ] [(wx + w'x' )+ y] z' = m15 + m3 + m5 + m9 + [(wx)' (w'x' )' + y' ] [wxz' + w'x' z' + yz' ] = m15 + m3 + m5 + m9 + [(w'+x' )(w+x) + y' ] [wxz' + w'x' z' + yz' ] = m15 + m3 + m5 + m9 + [w'x + wx' + y' ] [wxz' + w'x' z' + yz' ] = m15 + m3 + m5 + m9 + w'xyz' + wx'yz' + wxy'z' + w'x'y'z' = m15 + m3 + m5 + m9 + m6 + m10 + m12 + m0 b) The product-of-maxterms format. 2.23 Write the complete dataflow VHDL code for the Boolean functions in Problem 2.4. 2.24 Write the complete dataflow VHDL code for the logic gates in Problem 2.10.