Docsity

Boolean Algebra Exercises and Problems, Quizzes of Law

Toggle sidebar
bg1
P3
1
Problem 1: Factories use three-way valves to direct the flow of water or gas in one direction or
the other. These valves have a two-stage actuator (left and right), separated by a limit switch.
Limit switches will activate their output with 1 when activated.
Problem 2: In traffic control, fact tables allow to control the various input positions (roads) used
to build Boolean logic circuits (which are planned).
2
a)
A: “Father not in a house"
B: “Mother not in a house”
C: "son not in a house”
Output “A cat steals milk”
A B C output
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
b)
X = rainy day
Y = worn
Z = taking a turn
Page | 1
pf3
pf4
pf5

Partial preview of the text

Download Boolean Algebra Exercises and Problems and more Quizzes Law in PDF only on Docsity!

P

Problem 1: Factories use three-way valves to direct the flow of water or gas in one direction or

the other. These valves have a two-stage actuator (left and right), separated by a limit switch.

Limit switches will activate their output with 1 when activated.

Problem 2: In traffic control, fact tables allow to control the various input positions (roads) used

to build Boolean logic circuits (which are planned).

a)

A: “Father not in a house" B: “Mother not in a house” C: "son not in a house” Output “A cat steals milk” A B C output 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0

b)

X = rainy day Y = worn Z = taking a turn

Output “car skids” X Y Z output 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1

a) 𝐴̅𝐵𝐶̅+ 𝐴𝐵̅ 𝐶̅ + 𝐴𝐵𝐶 +𝐴̅𝐵̅ 𝐶̅

A B C 𝐴’𝐵𝐶’ 𝐴𝐵’𝐶’ 𝐴𝐵𝐶 𝐴’𝐵’c 𝐴’𝐵𝐶’+ 𝐴𝐵’𝐶’ + 𝐴𝐵𝐶

  • 𝐴’𝐵’c 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 1 0 0 1 0 1

b) (𝐴 + 𝐵̅ + 𝐶)( 𝐴̅+ 𝐵 + 𝐶̅ )

A B C 𝐴 + 𝐵’ +

= A.C + A.C’ + A.B.C + A.B.C’ + A. (B +1)

= A.C + A.C’ + A.B.C + A.B.C’ + A

= A.C + A.C’ + A.B. (C + C’) + A

= A.C + A.C’ + A.B + A

= A.C + A.C’ + A. (B + 1)

= A.C + A.C’ +A

= A. (C + C’) + A

= A + A

= A

d. 𝐴̅ (A+B) + (B + A) (A + 𝐵̅)

= A’A +BA’ + AB + BB’ +AA + AB’

= 0 + BA’ + AB + 0 + A + AB’

= BA’ + AB + A + AB’

= BA’ + AB + A (1 + B’)

= BA’ + AB + A

= B (A’ + A) + A

= B + A

A

A’BC’ + AB’C’ + AB’C + ABC’

= A’BC’ + AB’C’ + A (B’C + BC’)

= A’BC’ + AB’C’ + A

= C’ (A’B + AB’) + A

= C’ + A

AB/C 0 1

BC’ + AB’

A

B

BC’ + AB’

C

(B+D) (A+B’) C

1. A’B C’ + A B’ C’ + A B’ C + A B C’