T2 Worksheet 2
T2 Worksheet 2
T2 Worksheet 2
Unit 2 Data
Using rules (a)-(e) of binary addition below as a guide, work out the answers to questions 1-10.
(a) 0+0=0
(b) 0+1=1
(c) 1+0=1
(d) 1 + 1 = 0 carry 1 = 10
(e) 1 + 1 + 1 = 1 carry 1 = 11
1. Start with this simple addition. (You can use rules (a) and (b) to help you if necessary.)
Calculate the denary equivalent to check that it is correct.
8 4 2 1 Denary equivalent
0 0 1 1 = 3
+ 0 1 0 0 = + 4
= 0 1 1 1 = = 7
1
Worksheet 2 Binary arithmetic and hexadecimal
Unit 2 Data
2. Use the same techniques as you did in the last question to find the binary result.
0 0 0 1
+ 1 1 0 0
= 1 1 0 1
3. Now use rule (d) to help with this problem. Use the carry row at the top for the carried 1.
1
0 0 1 1
+ 1 0 1 0
= 1 1 0 1
4. This one will carry into a new column. Remember that like in denary addition, the last carry
just makes the number bigger and is added on to the left of the number.
1
1 0 1 0
+ 1 0 1 1
= 1 0 1 0 1
5. Use rule (e) in this question. Use the carry row again and remember: 1+1+1 = 1 carry 1.
1 1
0 1 1 0
+ 1 1 1 0
= 1 0 1 0 0
6. Now try a full 8-bit binary number. Apply the same rules as before.
1 1
1 0 0 0 1 0 1 1
+ 0 1 0 0 1 0 1 0
= 1 1 0 1 0 1 0 1
7. Here is another 8-bit number that requires you use all of the rules.
1 1 1 1
1 0 0 1 1 1 1 0
+ 0 1 0 1 1 0 1 0
= 1 1 1 1 1 0 0 0
2
Worksheet 2 Binary arithmetic and hexadecimal
Unit 2 Data
8. Now try without the help of the grid or rules (a) to (e) to refer to.
1 1 1 1
1 0 1 0 0 1 0 1
+ 0 0 1 1 1 1 0 0
= 1 1 1 0 0 0 0 1
An 8-bit binary number holds 256 different numbers – 0-255. When the result of the addition is
greater than 255, an overflow error occurs
9. Work out the answer here using all the normal rules and explain what happens.
1 1 1 1 1
1 1 1 1 0 0 1 1
+ 1 0 1 0 0 1 0 1
= 1 1 0 0 1 1 0 0 0