A)Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa b)Add two 8-bit binary integers and explain overflow errors which.

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

Candidates should be able to:
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #3 NUMBER SYSTEMS, OPERATION & CODES (PART 2)
Information Processing Session 5B Binary Arithmetic Slide
Chapter 4.2 Binary numbers: Arithmetic
Mathematics with Binary. Question  Below is a binary string  Which is the least significant bit (LSB)?  Which is the most significant bit (MSB)? 0.
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
© GCSE Computing Candidates should be able to:  convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa  add two 8-bit.
Binary Arithmetic In today’s lesson we will look at: a reminder of how binary works adding binary numbers overflow complements negative numbers and subtraction.
Chapter 4: Representation of data in computer systems: Number OCR Computing for GCSE © Hodder Education 2011.
BR 8/99 Binary Numbers Again Recall than N binary digits (N bits) can represent unsigned integers from 0 to 2 N bits = 0 to 15 8 bits = 0 to 255.
Conversions Denary to Binary Method 1
STEP 1 Multiply the digits in the ones place. Write the product in the ones place of the answer box. If the product is greater than ten, carry the number.
Data Representation Conversion 24/04/2017.
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Addition and Substraction
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
GCSE Computing: A451 Computer Systems & Programming Numbers Representation of Data in Computer Systems.
Candidates should be able to:
Digital Representations ME 4611 Binary Representation Only two states (0 and 1) Easy to implement electronically %0= (0) 10 %1= (1) 10 %10= (2) 10 %11=
1 4. Computer Maths and Logic 4.1 Number Systems.
GCSE Computing#BristolMet Session Objectives#8 MUST add two 8-bit binary integers SHOULD explain overflow errors COULD provide solutions to limit overflow.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Lesson Aim (Data representation) To be able to: Convert B/D & D/B Convert D/H & H/D Convert H/B & B/H Perform simple binary arithmetic Represent a number.
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Introduction to Number Representation A451 GCSE Computing.
The Hexadecimal Number System Representation of Data in Computer Systems.
Two’s Complement The language of machines, part II.
Starter Using the mini whiteboards record your answers: 1) Name 2 different Character Sets 2) Convert the Hex number 9E into denary 3) Convert the binary.
STARTER – CRACK THE CODE
Conversions 1)Binary to Denary Method 1 Work out the position values of the binary bits and add those values together So above would be
WHAT IS BINARY? Binary is a number system that only uses two digits: 1 and 0. Any information that processed by a computer it is put into sequence of.
Binary and Logic Computers use electrical signals that are on or off, so they have to see everything as a series of binary numbers. This data is represented.
Binary, Denary, Hexadecimal Conversion Binary Addition
Binary and Hexadecimal
3.1 Denary, Binary and Hexadecimal Number Systems
Lesson Objectives Aims
Denary to Binary Numbers & Binary to Denary
…to GCSE Level with Python Sue Sentance
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
5Th Class Maths Additon & Subtraction.
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
Addition and Substraction
Lesson Objectives Aims You should be able to: Convert Denary to Binary
Topic 3: Data Binary Arithmetic.
Teaching Computing to GCSE
MMNSS COLLEGE,KOTTIYAM DEPARTMENT OF PHYSICS
Lesson Objectives To understand how to add 4 and 8 bit binary numbers together To understand what is meant by the term “Overflow” ALL students will add.
Follow-up question Factorize x2 + 2x – 15. Solution
Teaching Computing to GCSE
Data Representation Conversion 05/12/2018.
Binary Math Basic operations.
Data Hexadecimal.
(return of the…) Data blast
Binary “There are 10 types of people in the world: Those who understand binary, and those who don't.”
Binary  Name: Class: .
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
LO1 – Understand Computer Hardware
Binary It’s all 0’s and 1’s.
Data Binary Arithmetic.
Sum means find the answer by Addition.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Signed Integers.
Binary.
Theory: 2.6 – Data Representation
Two’s Complement & Binary Arithmetic
Section 6 Primitive Data Types
Presentation transcript:

a)Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa b)Add two 8-bit binary integers and explain overflow errors which may occur c)Convert positive denary whole numbers (0-255) into 2- digit hexadecimal numbers and vice versa. d)Convert between binary and Hex equivalents of the same number e)Explain the use of Hex numbers to represent binary numbers Candidates should be able to:

Have a go at converting denary to binary numbers on the booklet provided OR Binary Nibble Bingo Starter

 FEW RULES: Adding binary numbers together

Adding binary numbers together

Step 1: Start off by putting the numbers in the top 2 rows in a 4 row table. 3 rd row will hold any carry overs 4 th row will contain the answer Adding binary numbers together

Step 2: Add the column on the right together From the rules above we know that 1+1 = 10 Adding binary numbers together

Step 2: Put a 0 on the bottom row & we carry a 1 over into column 7 Adding binary numbers together

Step 3: Column 7 Add the 3 rows together = 10 Adding binary numbers together

Step 3: Column 7 Put 0 at bottom of column 7 Carry the 1 to row 3 of column 6 Adding binary numbers together

Step 4: Column = 10 Adding binary numbers together

Step 4: Column 6 Put 0 down Carry 1 over to column 5 Adding binary numbers together

Step 5: Column = 11 Adding binary numbers together

Step 5: Column 5 Put 1 down in column 5 Carry 1 over to row 3 column 4 Adding binary numbers together

Step 6: Column = 11 Adding binary numbers together

Step 6: Column 4 Put 1 down in column 4 Carry 1 over into column 3 Adding binary numbers together

Step 7: Column Adding binary numbers together

Step 7: Column 3 Put 1 down in column 3 row 4 Carry 0 to column 2 Adding binary numbers together

Step 8: Column =0 Adding binary numbers together

Step 8: Column 2 Put 0 down in column 2 row 4 Carry 0 into column 1 row 3 Adding binary numbers together

Step 9: Column = 1 Adding binary numbers together

Step 9: Column 1 Put 1 down in column 1 row 4 Nothing to carry over Adding binary numbers together

RESULTS: Adding binary numbers together

 The last binary add was straightforward. HOWEVER what would happen if the sum in column 1 had been 1+1?  The carried 1 would have nowhere to go and would be lost.  The problem is called overflow and causes the wrong answer. Overflow Errors

 To “solve” this problem what normally happens is a flag in the CPU (processor)  The software that has caused the error MUST check to see if this flag has been set - & if so it has to handle the problem. Overflow Errors

nversion.html