Activity 1 - Logicgates Worksheet
Activity 1 - Logicgates Worksheet
Label these basic logic gates and fill in their truth tables.
This gate takes two inputs This gate takes takes two This gate takes one input
and gives an output if either inputs and gives an output and gives an output that is
one input or the other input only if both inputs are true the opposite value to the
or both inputs are true input
0 0 0 0 0 0 0 1
0 1 1 0 1 0 1 0
1 0 1 1 0 0
1 1 1 1 1 1
For this combination of two logic gates, fill in the truth table. Point C is used to helpyou
work out the output.
Output
A C
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
Draw your own combination of logic gates that will give this truth table output. Usethe
logic lab at https://circuitverse.org/simulator to test your predictions.
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
Binary → Denary Conversions Worksheet
● To convert from binary to denary we just need to be able to add....
● Start by writing the column names above the binary digits remembering they startat
one on the right hand side and double as you move to the left.
● Then add up the values of the columns with a 1.
64
For example: 32
8
128 64 32 16 8 4 2 1 4
0 1 1 0 1 1 0 1 +1
109
Now it's your turn:
128
64
128 64 32 16 8 4 2 1 4
+ 2
1 1 0 0 0 1 1 0 ____
198
32
32 16 8 2 16
8
+2
0 0 1 1 1 0 1 0 __
25
128
16
128 16 8 2 1 8
2
1 0 0 1 1 0 1 1 + 1
____
155
128
32
128 32 16 4 2 16
4
+2
1 0 1 1 0 1 1 0 ____
182
32
32 4 1 4
+1
0 0 1 0 0 1 0 1 __
37
Denary → Binary Conversions Worksheet
● To convert from denary to binary we just need to be able to subtract....
● Start by writing the column names above where your binary digits will go,
remembering they start at one on the right hand side and double as you move to
the left.
● Then start from the left and see if you can take the value above the column away
from your denary number. If you can, enter a 1 in that column and move right.
128 64 32 16 8 4 2 1
1 1 0 1 0 0 0 1
209 81 17 1
-128 -64 -16 -1
81 17 1 0
Now it's your turn: Convert 164 to binary
128 64 32 16 8 4 2 1
1 0 1 0 0 1 0 0
128 64 32 16 8 4 2 1
1 1 1 1 0 0 1 1
Convert 71 to binary
128 64 32 16 8 4 2 1
0 1 0 0 0 1 1 0
128 64 32 16 8 4 2 1
1 1 1 1 1 1 1 1
Binary Addition Worksheet
For example:
00 01 01 01 0001 0101
+01 +00 +01 +10 +0101 +0111
01 01 10 11 0110 1100
1 1 1 1 1
Now it's your turn (don't forget, you can check by converting to denary):
The problem above is called an Over flow . It means that there are
more bit added than can be stored in a byte, or eight bit number.