Binary It’s all 0’s and 1’s.

Slides:



Advertisements
Similar presentations
Binary and Denary Numbers. Time remaining: Today’s date : all of the things that this COULD mean: even if you think that what you are thinking is daft.
Advertisements

How to Convert Decimal Numbers to Binary EXAMPLES.
Base 10 Denary Decimal
101.  Take a look at this code and tell me what generation of programming language is used here. It is important that you can EXPLAIN how you came up.
Information Processing Session 5B Binary Arithmetic Slide
Chapter 4.2 Binary numbers: Arithmetic
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
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.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
Revision tip: Focus on the things you find difficult first.
© 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 Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
Computer Organization & Programming Chapter2 Number Representation and Logic Operations.
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
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.
Conversions Denary to Binary Method 1
Working with 8-bit bytes and hexadecimal
How a Computer Processes Information. Java – Numbering Systems OBJECTIVE - Introduction to Numbering Systems and their relation to Computer Problems Review.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Computer Programming 12 Mr. Jean February 5 th, 2014.
GCSE Computing: A451 Computer Systems & Programming Numbers Representation of Data in Computer Systems.
Candidates should be able to:
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.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
GCSE Computing#BristolMet Session Objectives#8 MUST add two 8-bit binary integers SHOULD explain overflow errors COULD provide solutions to limit overflow.
Units Representation of Data in Computer Systems.
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.
Numerical formats What’s the main idea? Want to represent numbers (eg: 45, -12, ) using only bits. We’ve already seen (or you can read in the book)
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
OBJECTIVES 1. Be able to recognise binary code 2. Be able to convert denary numbers into binary numbers 3. Be able to convert binary into denary numbers.
Binary & Normalization What is Normalization? We discussed this the other day (special review session slides, near the end) Can someone tell us.
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
Lesson 2 – Denary to Binary
Binary Numbers Press any key to begin.. In order to understand the binary numbering system lets first look at our decimal system. The decimal numbering.
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, Denary, Hexadecimal Conversion Binary Addition
Lesson Objectives Aims You should be able to:
Lesson Objectives Aims
Binary numbers: Week 7 Lesson 1
Adding Integers.
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Denary to Binary Numbers & Binary to Denary
DATA REPRESENTATION – 3 binary addtion
Addition and Substraction
Lesson Objectives Aims You should be able to: Convert Denary to Binary
Binary Arithmetic.
Binary Addition & Subtraction
Saturday, 10 November 2018 Binary
Topic 3: Data Binary Arithmetic.
Learn what binary and denary mean.
Teaching Computing to GCSE
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.
Topic 3: Data Signed Binary.
For OCR GCSE Computing Unit 1 - Theory
Teaching Computing to GCSE
Binary Numbers Press any key to begin..
Topic 3: Data Hexadecimal.
Fundamentals of Data Representation
(return of the…) Data blast
Data Binary Conversion.
Binary  Name: Class: .
Hexadecimal.
Data Binary Arithmetic.
Understanding the Number Decimal to Binary Conversion
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Signed Integers.
Binary.
Theory: 2.6 – Data Representation
Two’s Complement & Binary Arithmetic
Presentation transcript:

Binary It’s all 0’s and 1’s

Objective for the rest of the Lesson You will be able to convert denary to binary and back again! How to add to add 2 different binary numbers together

Units The most basic and smallest piece of computer data is a bit 8 bits = 1 byte We then measure everything in bits not bytes So kilobyte – 1024 bytes

So what is Binary? Humans use the denary number system Computers use 1 and 0 hence BINARY Its all about what the CPU is reading 0 a switch is open 1 its closed

On Paper! It all about tables! Binary only goes from 0-255 128 64 32 16 8 4 2 1 Denary 86 149 255 It all about tables! Binary only goes from 0-255 Use this chart and you can’t go wrong!

Adding Binary 0 + 0 = 0 1 + 0 = 0 1 + 1 = 10 1 + 1 + 1 = 11 Confused?

Let me explain The first 2 rows are the 2 numbers you are adding 1 The first 2 rows are the 2 numbers you are adding The third row is where the carrying goes The bottom row is the answer

Stage 1 From the rules earlier we know that 1+1=10 1 From the rules earlier we know that 1+1=10 So 0 goes in the fourth row and the 1 carries over

Row 2 is now 0+1+1 which is 10 so the same happen again Stage 2 1 Row 2 is now 0+1+1 which is 10 so the same happen again

Row 3 is now 1+0+1 which is 10 so the same happen again Stage 3 1 Row 3 is now 1+0+1 which is 10 so the same happen again

Row 4 is now 1+1+1 which is 11 so the same happen again Stage 4 1 Row 4 is now 1+1+1 which is 11 so the same happen again

Carry this on until… 1 00011101 10011011+ Simple? 10111000

Overflow? The biggest number you can represent with 8 bits is 255 (128+64+32+16+8+4+2+1) (252) 11111100 (15) 00001111+ (267) 100001011 The computer would need 9 bits to represent 267 so this 9th bit doesn’t fit in the byte allocated. This is overflow.

Finally I need a volunteer…. Tell the class about units What about denary and binary Hands up if you love 1’s and 0’s