You are on page 1of 14

Unit 18 Computational Thinking

Boolean Algebra
Name: Sean Reid

What are Boolean


operations?
Boolean logic gates are operations
with only 2 possible outcomes, true or
false (1 or 0), true being 1 and false
being 0.

Logic Gate for example 1


-metal cutting machine that needs a
physical key and an activation code to work
Key
And

Passwo
rd

Use
machin
e

Truth Table for example 1


-metal cutting machine that needs a
physical key and an activation code to work
Key

Password

Machine

Logic Gate for example 2


- machine that has 2 switches,
either can be used

Floor
switch
on
Side
switch on

Or

Machin
e

Truth Table for example 2


- machine that has 2 switches,
either can be used
Floor Switch

Side Switch

Machine

Logic Gate for example 3


-the safety switch on the door that causes
the machine to stop if the door is opened

Saftey switch (not) > machine stops

Safety
switch

Not

Machine
stops

Truth Table for example 3


-the safety switch on the door that causes
the machine to stop if the door is opened
Safety switch

Machine

Logic Gate for example 1


with an emergency stop button
-metal cutting machine that needs a physical
key and an activation code to work

Emergen
cy Stop
Button
Ke
y
Pas
s

No
t
An
d

Machine
Access

X
And
Y

Truth Table for example 1


with an emergency stop button
-metal cutting machine that needs a physical
key and an activation code to work
Emergen Key
cy Stop

Passwor
d

Machine
Access

Logic Gate for example 2


with an emergency stop button
- machine that has 2 switches, either can be
used

Truth Table for example 2


with an emergency stop button
- machine that has 2 switches, either can be
used

Logic Gate for example 3


with an emergency stop button
-the safety switch on the door that causes the
machine to stop if the door is opened

Truth Table for example 3


with an emergency stop button
-the safety switch on the door that causes the
machine to stop if the door is opened

You might also like