Download presentation

Presentation is loading. Please wait.

Published byAngel Pilcher Modified over 3 years ago

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 3 + 4 = 7= 7 7 + 8 = 15= 5 (carry 1) GCSE Computing GCSE Computing Theory © gcsecomputing.net

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

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

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

7
Adding Binary Numbers 7 1100 1010 0110 1 Carry 12 10 22 + + Decimal AdditionBinary Addition 1 GCSE Computing GCSE Computing Theory © gcsecomputing.net

8
Adding Binary Numbers 8 1111 1010 1001 1 Carry 15 10 25 + + Decimal AdditionBinary Addition 1 GCSE Computing 1 1 GCSE Computing Theory © gcsecomputing.net

9
Overflow in Binary Number Addition 9 1100 1010 0110 1 Carry 12 10 6 + + 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

Similar presentations

OK

Computer Organization & Programming Chapter2 Number Representation and Logic Operations.

Computer Organization & Programming Chapter2 Number Representation and Logic Operations.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To ensure the functioning of the site, we use **cookies**. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy & Terms.
Your consent to our cookies if you continue to use this website.

Ads by Google

Ppt on world environment day activities Ppt on cartesian product sets Ppt on number system class 10 Ppt on natural disaster tsunami Ppt on peak load pricing examples Ppt on japanese culture Converter pdf to ppt online Ppt on different types of computer softwares programs Ppt on service oriented architecture interview Ppt on teachers day quotes