0% found this document useful (1 vote)
485 views2 pages

UCom Worksheet 6 Binary Addition

1) The document discusses binary addition using rules such as 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 0 carry 1. It provides examples of adding binary numbers in 2, 4, 6 and 8-bit patterns. 2) When adding two 8-bit binary numbers, the result can be greater than 255, causing an overflow error. Computers deal with numbers greater than 255 by dropping the overflow digit, so 255 + 1 = 0. 3) The document asks the reader to practice several multi-bit binary additions with and without using the provided rules as a guide, including one that results in an overflow error.

Uploaded by

Dami 12
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 (1 vote)
485 views2 pages

UCom Worksheet 6 Binary Addition

1) The document discusses binary addition using rules such as 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 0 carry 1. It provides examples of adding binary numbers in 2, 4, 6 and 8-bit patterns. 2) When adding two 8-bit binary numbers, the result can be greater than 255, causing an overflow error. Computers deal with numbers greater than 255 by dropping the overflow digit, so 255 + 1 = 0. 3) The document asks the reader to practice several multi-bit binary additions with and without using the provided rules as a guide, including one that results in an overflow error.

Uploaded by

Dami 12
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/ 2

Understanding Computers

Worksheet 6

Worksheet 6: Binary Addition

Using the 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 sum. (You can use rules (a) and (b) to help you if necessary.) Calculate the
decimal equivalent and check that it is correct.

8 4 2 1 Decimal
0 0 1 1 = 3
+ 1 0 0 0 = + 8
= 1 0 1 1 = = 11

2: Use the same techniques as you did in the last question to find the binary result.

1 0 0 1
+ 0 1 0 0
= 1 1 0 1

3: Use the carry row at the top for the carried 1.

1
1 0 1 1
+ 0 0 1 0
= 1 1 0 1

4: Now use rule (d) to help with this problem. Remember that like in decimal addition, the last carry
just makes the number bigger and is added on to the left of the number.

1
1 0 1 1
+ 1 0 1 0
= 1 0 1 0 1
Understanding Computers
Worksheet 6

5: Use rule (e) in this question. Use the carry row again and remember: 1+1+1 = 1 carry 1.

1 1 1
1 1 1 1
+ 1 0 1 1
= 1 1 0 1 0

6: Increase the size of the numbers using a 6-bit pattern. Apply the same rules as before.

1
1 0 0 0 1 1
+ 0 1 1 0 1 0
= 1 1 1 1 0 1

7: Now try a full 8-bit binary pattern.

1 1 1
1 1 0 1 1 0 1 1
+ 0 0 0 1 1 0 1 0
= 1 1 1 1 0 1 0 1

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 pattern can hold 256 different numbers – 0-255. When the result of the addition is
greater than 255, an overflow error occurs!

9: Try and work out the answer here using all the normal rules and see if you get an overflow error.

1 1 1
1 1 0 1 0 0 1 1
+ 1 0 1 1 1 0 0 0
= 1 0 0 0 1 0 1 1

10: How do computers hold numbers greater than 255?

The CPU drops the overflow digit because the computer cannot store it anywhere therefore to a
computer 255 + 1 = 0.

You might also like