0% found this document useful (0 votes)
39 views14 pages

Logic Gates

This document discusses Boolean logic gates and provides examples of how they can be used to control machines. Boolean logic uses true/false values to represent inputs and outputs. Three examples are given of machines controlled with AND, OR, and NOT logic gates. Truth tables are provided to show the output for each combination of true/false inputs. The examples demonstrate how keys, passwords, switches, and safety sensors can be combined using Boolean logic to control whether a machine is active or stopped.

Uploaded by

api-285135663
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views14 pages

Logic Gates

This document discusses Boolean logic gates and provides examples of how they can be used to control machines. Boolean logic uses true/false values to represent inputs and outputs. Three examples are given of machines controlled with AND, OR, and NOT logic gates. Truth tables are provided to show the output for each combination of true/false inputs. The examples demonstrate how keys, passwords, switches, and safety sensors can be combined using Boolean logic to control whether a machine is active or stopped.

Uploaded by

api-285135663
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 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