BinaryLogicWorksheets

advertisement
Binary Logic
Worksheets
Binary Logic: AND, NOT, OR
Fill in the blank boxes.
0
NOT
1
NOT
0
1
AND
0
1
OR
1
0
AND
1
0
OR
0
0
AND
0
0
OR
1
1
AND
1
1
OR
Binary Logic: AND, NOT, OR, XOR
Fill in the blank boxes.
NOT 0 =
NOT 1 =
0 AND 1 =
0 AND 0 =
0 OR 1 =
0 OR 0 =
0 XOR 1 =
0 XOR 0 =
1 AND 0 =
1 AND 1 =
1 OR 0 =
1 OR 1 =
1 XOR 0 =
1 XOR 1 =
Binary Logic: NAND, NOR, XNOR
Fill in the blank boxes.
0 NAND 0 =
0 NAND 1 =
0 NOR 0 =
0 NOR 1 =
0 XNOR 0 =
0 XNOR 1 =
1 NAND 1 =
1 NAND 0 =
1 NOR 1 =
1 NOR 0 =
1 XNOR 1 =
1 XNOR 0 =
Binary Logic: Chaining Gates
Fill in the blank boxes. Hint: the output
of one gate is input to another.
0
1
AND
NOT
0
1
OR
NOT
0
1
AND
0
1
OR
1
1
1
NOT
1
OR
AND
OR
Binary Logic: AND, NOT, OR
Answer key:
0
NOT
1
1
NOT
0
OR
1
0
1
AND
0
0
1
1
0
AND
0
1
0
OR
1
0
0
AND
0
0
0
OR
0
1
1
AND
1
1
1
OR
1
Binary Logic: AND, NOT, OR, XOR
Answer key:
NOT 0 =
1
NOT 1 =
0
0 AND 1 =
0
0 AND 0 =
0
0 OR 1 =
1
0 OR 0 =
0
0 XOR 1 =
1
0 XOR 0 =
0
1 AND 0 =
0
1 AND 1 =
1
1 OR 0 =
1
1 OR 1 =
1
1 XOR 0 =
1
1 XOR 1 =
0
Binary Logic: NAND, NOR, XNOR
Answer key:
0 NAND 0 = 1
0 NAND 1 = 1
0 NOR 0 =
0 NOR 1 =
1
0
0 XNOR 0 = 1
0 XNOR 1 = 0
1 NAND 1 = 0
1 NAND 0 = 1
1 NOR 1 =
1 NOR 0 =
0
1 XNOR 1 = 1
0
1 XNOR 0 = 0
Binary Logic: Chaining Gates
Fill in the blank boxes. Hint: the output
of one gate is input to another.
0
1
AND
0
NOT
1
0
1
OR
1
NOT
0
0
1
AND
0
1
OR
1
0
1
OR
1
1
AND
1
NOT
0
1
OR
1
1
Feel free to send me your
feedback, as I strive to make my
products accessible for teachers
and their neurodiverse students.
And as always, please let me
know of other computer science
or computer programming
lessons or worksheets that you
want for your classrooms.
Sincerely,
Jen Vanderputten
The Coding Club
Download