0% found this document useful (0 votes)
87 views3 pages

T2 Worksheet 2

The document provides a worksheet on binary arithmetic and hexadecimal conversions. It contains tasks on (1) converting between denary, hexadecimal and binary numbers, and (2) calculating binary additions. For binary addition, it gives rules for adding binary digits and examples of adding 8-bit binary numbers, including ones that require carrying digits. It notes that adding two 8-bit binary numbers greater than 255 would cause an overflow error.

Uploaded by

Aziz Alusta Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views3 pages

T2 Worksheet 2

The document provides a worksheet on binary arithmetic and hexadecimal conversions. It contains tasks on (1) converting between denary, hexadecimal and binary numbers, and (2) calculating binary additions. For binary addition, it gives rules for adding binary digits and examples of adding 8-bit binary numbers, including ones that require carrying digits. It notes that adding two 8-bit binary numbers greater than 255 would cause an overflow error.

Uploaded by

Aziz Alusta Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Worksheet 2 Binary arithmetic and hexadecimal

Unit 2 Data

Name:..................................................................................................... Class: .....................

Task 1: Hexadecimal conversion

(a) Denary to Hexadecimal conversion

(i) Convert denary 19 to hexadecimal: 13

(ii) Convert denary 44 to hexadecimal: 2C

(iii) Convert hexadecimal 19 to denary: 25

(iv) Convert hexadecimal A3 to denary: 163

(b) Binary to hexadecimal conversion:

(i) Convert binary 00110101 to hexadecimal: 35

(ii) Convert binary 11010111 to hexadecimal: D7

(iii) Convert hexadecimal 1E to binary: 00011110

(iv) Convert hexadecimal FF to binary: 11111111

Task 2: Binary Addition

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

You might also like