1
BINARY Your name:
DENARY (decimal) number system uses 10 digits - 0 to 9 base10
BINARY number system uses the 2 digits - 0 & 1 base2
BITS & BYTES
1 bit = a binary digit eg 1 or 0
1 nibble = 4 bits eg 1 0 0 1
1 byte = 8 bits or 2 nibbles eg 0 0 1 1 0 1 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
Binary number system exercises
Is binary new to you? Write 1 for Yes, 0 for No.
1 Binary (base2) numbers and their denary (base10) numbers
Study the 3 sequences of numbers below. Complete the grey cells first, then complete the binary table.
binary table denary
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)?
2 Convert these binary (base2) numbers to denary (base10).
Complete the grey row first again to help you with the exercises below.
128 64 32 16 8 4 2 1 Denary Nos
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
working out the denary values
may help check your work
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