SlideShare a Scribd company logo
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
 
B010310813
B010310813B010310813
B010310813
IOSR Journals
 
ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-ゲーム理論BASIC 第37回 -カーネル-
ゲーム理論BASIC 第37回 -カーネル-
ssusere0a682
 
01 derivadas
01   derivadas01   derivadas
01 derivadas
klorofila
 
ゲーム理論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 212
Mahmoud Samir Fayed
 
ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-ゲーム理論BASIC 第32回 -市場ゲームとコア-
ゲーム理論BASIC 第32回 -市場ゲームとコア-
ssusere0a682
 
ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-ゲーム理論BASIC 演習5 -カーネルを求める-
ゲーム理論BASIC 演習5 -カーネルを求める-
ssusere0a682
 
Derivadas
DerivadasDerivadas
TensorFriday#01
TensorFriday#01TensorFriday#01
TensorFriday#01
MasashiMisaki
 
Power point array
Power point arrayPower point array
Power point array
acit4693
 
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」基礎からのベイズ統計学 輪読会資料  第8章 「比率・相関・信頼性」
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
Ken'ichi Matsui
 
Jackson d.e.v.
Jackson d.e.v.Jackson d.e.v.
Jackson d.e.v.
Dougfield32
 
9-8 Notes
9-8 Notes9-8 Notes
9-8 Notes
Jimbo Lamb
 
Ch 1 part-1 final
Ch 1 part-1 finalCh 1 part-1 final
Ch 1 part-1 final
aminsir
 
No3
No3No3
Algebra [project]
Algebra [project]Algebra [project]
Algebra [project]
Innah Fajardo
 
ゲーム理論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

Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
Prof. Dr. K. Adisesha
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
Benesh Selvanesan
 
Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
Abhinay Potlabathini
 
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
ericbrooks84875
 
Algebra digital textbook gopika
Algebra digital textbook gopikaAlgebra digital textbook gopika
Algebra digital textbook gopika
gopikarchandran
 
Answers homework2
Answers homework2Answers homework2
Answers homework2
Iyut Sbono
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean Algebra
Gouda Mando
 
329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptx329978676-Perkalian-Skalar-Dua-Vektor.pptx
329978676-Perkalian-Skalar-Dua-Vektor.pptx
DeniFARHAN2
 
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
naveenkumar9211
 
Zeros of polynomial functions
Zeros of polynomial functionsZeros of polynomial functions
Zeros of polynomial functions
RhodaLuis
 
Ass logic
Ass logicAss logic
Interpolation.pptx
Interpolation.pptxInterpolation.pptx
Interpolation.pptx
MinaSafwatMSR
 
CSE-205_ch-3.pptx
CSE-205_ch-3.pptxCSE-205_ch-3.pptx
CSE-205_ch-3.pptx
MdTahsinAmin2
 
Additional mathematics
Additional mathematicsAdditional mathematics
Additional mathematics
geraldsiew
 
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
Laurie Smith
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
Manash Kumar Mondal
 
Integral table
Integral tableIntegral table
Integral table
Sasidhar Jannu
 
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
ThejesviIrugu1
 
Basic m4-2-chapter1
Basic m4-2-chapter1Basic 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...
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

BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 

Recently uploaded (20)

BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 

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.