An Introduction To Binary
An Introduction To Binary
1 nibble = 4 bits eg 1 0 0 1
word - one byte or several bytes, the more bits the more powerful the computer,
eg, 16 bits, 32 bits, 64 bits
bit
0 1 0 1 1 0 1 1 0 0 1 0 1 0 0 1
1 byte = 8 bits
word of 2 bytes or 16 bits
8 4 2 1 numbers
0 0
1 1
1 0 2
1 1 3
1 0 0
1 0 1
1 1 0
Study the pattern of 0s and 1s in the table. What do you notice? Discuss with neighbours, and explain briefly.
2
Complete these boxes again to help you with the exercises below.
4 2 1
What is the smallest binary number that can be accomodated with 4 bits? Denary Nos
What is the largest binary number that can be accomodated with 4 bits?
What is the largest binary number that can be accomodated with a byte (8 bits)?
0 0 1 1
0 0 0 1 1 0 1 0
1 0 0 0 0 0 0 1
1 1 1 0 0 0 0 0
0 1 0 1 0 1 0 1
0 0 0 0 0 1 1 0
1 0 1 0 1 0 1 0
1 1 0 0 0 0 1 1
1 1 1 1 1 1 1 0
0 0 0 0 0 0 1 0
Convert these denary numbers to binary. Hint: use the table above. The first is done for you.
There is no need to put in any leading zeros as I have above.
128 64 32 16 8 4 2 1
1 0 1 5
6
7
15
16
17
18
192
201
60
65
126
255
3
3 Binary additions: IMPORTANT - Show ALL your binary working.
Suggestion - on completion, use the boxes provided to confirm/check denary value of results
128 64 32 16 8 4 2 1 AFTERWARDS!
1 0 1 1
+ 1 0 1 + 1 0
1 0 1 0 1 1 0
+ 1 1 + 1 1 1 1
1 1 1 1 1 1 1 1 1 1
+ 1 + 1 1 1 1 1
1 0 1 1 1 1 1 1 1 1
+ 1 1 1 0 1 0 1 1 1 1 1 1
+ 1 0 0 0 1
1 1 1 1 1 1 0 0 0 0
0 1 1 1 1 1 1 0 0 0
0 0 1 1 1 1 1 1 0 0
0 0 0 1 1 1 1 1 1 0
+ 0 0 0 0 1 + 1 1 1 1 1
0 1 0 0 0 1 0 1 0 1 0 0
0 1 1 0 0 0 0 0 0 1 0 1
0 1 1 1 0 0 0 0 0 0 1 0
0 1 1 1 1 0 0 1 0 1 1 1
0 1 1 1 1 1 1 0 0 0 0 0
+ 1 1 0 0 0 0 + 1 1 0 1 0 1
1 0 0 1 0 0 0 0
1 1 1 1 0 1 1 0
1 0 0 1 0 0 1 1
1 1 0 1 0 1 1 0
+ 1 0 0 1 0 0 0 0
5 Conversion revision
What is the denary value of these 3 binary numbers, and the binary of the 5 denary numbers?
Complete the top rows first.
binary denary
64 4 2 1 10 1
0 1 0 1 0 0 1 0
0 0 0 1 0 0 1 0
0 0 0 1 0 0 0 1
9 9
1 0 0
1 0 1
5 0 1
2 0 1 4