2.1.11 Boolean Logic Flashcards
1
Q
What is computer logic?
A
How a machine solves problems.
Yes or No only.
2
Q
And
A
Yes Yes = Yes
3
Q
Or
A
Yes No = Yes
4
Q
Not
A
Yes = No
5
Q
Nand
A
Yes Yes = No
6
Q
Nor
A
Yes No = No
7
Q
XOR
A
Yes No = Yes
Yes Yes = No
8
Q
What could And be used for?
A
Fire alarm (smoke and heat)
9
Q
What could Or be used for?
A
Internal car light (either door open)
10
Q
What could Not be used for?
A
Microwave will stop if door is open.
11
Q
What could NAND be used for?
A
Security is active unless both code and ID are correct.
12
Q
What could NOR be used for?
A
Air condition will only come on if both windows are closed.
13
Q
What could XOR be used for?
A
Only one lightswitch on at one time.