Presentation is loading. Please wait.

Presentation is loading. Please wait.

GCSE Computing Theory © gcsecomputing.net 1 GCSE Computing 2.14 Data Representation Binary Arithmetic.

Similar presentations


Presentation on theme: "GCSE Computing Theory © gcsecomputing.net 1 GCSE Computing 2.14 Data Representation Binary Arithmetic."— Presentation transcript:

1 GCSE Computing Theory © gcsecomputing.net 1 GCSE Computing 2.14 Data Representation Binary Arithmetic

2 Learning Objectives: 2 add two 8-bit binary integers explain overflow errors which may occur GCSE Computing GCSE Computing Theory © gcsecomputing.net

3 Decimal Arithmetic Rules 3 ADDdenarydenary sum = 7= = 15= 5 (carry 1) GCSE Computing GCSE Computing Theory © gcsecomputing.net

4 Adding Decimal Numbers Carry + GCSE Computing GCSE Computing Theory © gcsecomputing.net

5 Adding Decimal Numbers Carry + 1 GCSE Computing GCSE Computing Theory © gcsecomputing.net

6 Binary Arithmetic Rules 6 ADDdenarybinarybinary sum = 0= 00= = 1= 01= = 1= 01= = 2= 10= 0 (carry 1) = 3= 11= 1 (carry 1) GCSE Computing GCSE Computing Theory © gcsecomputing.net

7 Adding Binary Numbers Carry Decimal AdditionBinary Addition 1 GCSE Computing GCSE Computing Theory © gcsecomputing.net

8 Adding Binary Numbers Carry Decimal AdditionBinary Addition 1 GCSE Computing 1 1 GCSE Computing Theory © gcsecomputing.net

9 Overflow in Binary Number Addition Carry Decimal AdditionBinary Addition GCSE Computing If we only have 4 bits to store the result there would be no room for a carry, so it is lost and we get the wrong answer. When there isn’t enough room for a result, this is called an overflow and it produces an overflow error. GCSE Computing Theory © gcsecomputing.net


Download ppt "GCSE Computing Theory © gcsecomputing.net 1 GCSE Computing 2.14 Data Representation Binary Arithmetic."

Similar presentations


Ads by Google