Lesson 2: Binary to Denary Conversion.

Slides:



Advertisements
Similar presentations
Conversion and Coding (12)10.
Advertisements

Base 10 Denary Decimal
A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
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.
Decimal to Binary Conversion Press any key to continue…
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Convert Decimal to Floating point number [IEEE 754]
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
PYTHON PROGRAMMING Week 14 – Tuesday. STARTER You need to find out the average of a set of exam marks for a class. You don’t know how many marks there.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
COMPSCI 210 Semester Tutorial 1

Conversions Denary to Binary Method 1
Lesson 4-7 Example Example 1 Find 4.32 × Multiply the factors, ignoring the decimal points for now. 432 × 6 = 2592.
Working with 8-bit bytes and hexadecimal
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Number Bases and Representation. Denary Number System (Base 10) Our number system uses 10 digits (0-9) As you move from right to left each number is worth.
Addition and Substraction
Denary (our numbers) Binary
Arithmetic in Binary. Addition A “Rule of Addition” is a statement of the form: = 8 How many such rules are there in Decimal?
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.
Introduction to Number Representation A451 GCSE Computing.
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.
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.
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
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
First Foray into Programming (the hard way). A reminder from last lesson: A machine code instruction has two parts:  Op-code  Operand An instruction.
Advanced Binary b. describe and use two’s complement and sign and magnitude to represent negative integers; c. perform integer binary arithmetic, that.
Lesson 2 – Denary to Binary
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
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.
Number Systems Write the decimal value of the binary number
Octal to Decimal Decimal Octal Binary Hexadecimal.
Recap Add these numbers together in binary
Binary numbers: Week 7 Lesson 1
Using the Windows Calculator for quick decimal to binary conversions
Denary to Binary Numbers & Binary to Denary
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
Binary Lesson 1 Nybbles.
COUNTING IN BINARY Binary weightings 0 x x x x 8
Theory: 2.6 – Data Representation
Binary Lesson 1 Nybbles.
Scientific Notation.
Binary Lesson 1 Nybbles.
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
Lesson 6: End of Unit Assessment
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
Lesson 1: Introduction to Binary
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Binary Lesson 3 Hexadecimal
Binary  Name: Class: .
Lesson 3: Denary to Binary Conversion.
PYTHON: BUILDING BLOCKS Inputs & Outputs
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
COUNTING IN BINARY Binary weightings 0 x x x x 8
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Lesson 4: Introduction to Hexadecimal
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Chapter 2 Number Systems.
The Price is Right Mae’r Pris yn Iawn
Number Systems.
Binary.
Chapter 2 Number Systems.
Presentation transcript:

Lesson 2: Binary to Denary Conversion. DATA REPRESENTATION Lesson 2: Binary to Denary Conversion. YEAR 7 @ MIDHURST ROTHER COLLEGE

BRAIN WARMING 4 3 2 1 Only using the above numbers once, can you add them up to make the following numbers? 5 6 7 8 EXTENSION: Is there more than one way? What is the highest number you can make?

DATA REPRESENTATION In this lesson you will... LEARN how to convert binary into numbers. So that you can… UNDERSTAND what 4-bit and 8-bit binary numbers mean.

DISCUSS: HOW DO WE WRITE NUMBERS? IN PAIRS: Think about how you write numbers down. How many digits can you use? What do you count in? Do you know what system is used? After 5mins you will be asked to share your thoughts with the rest of the class.

DENARY To write numbers we use ‘denary’ (or ‘decimal’). Because we have 10 digits available to use, we use base 10. This means we use 1s, 10s, 100s… etc to represent our numbers. 10,000 1,000 100 10 1 3 6 7 2 3 x 1,000 6 x 100 7 x 10 2 x 1

DISCUSS: BINARY How many digits can we use? If denary uses base 10, what do you think binary uses?

BINARY In binary we only have 2 digits available to use (0 or 1), so we use base 2. This means we use 1s, 2s, 4s, 8s… etc to represent binary numbers. To convert this binary number to denary, we simply look at where the 1s are placed and add up the values. Here we have a 1 with a value of 4 and a 1 with a value of 1. So, 4 + 1 = 5 16 8 4 2 1 0 x 8 = 0 1 x 4 = 4 0 x 2 = 0 1 x 1 = 1

CONVERT 4-BIT BINARY TO DENARY In your OneNote, on one page explain how you convert binary numbers to denary numbers. Then convert these 4-bit binary numbers into denary numbers. 1001 6) 1000 0011 7) 0100 1100 8) 1110 0110 9) 1011 0111 10) 1111 8 4 2 1 NEED HELP? Ask the teacher or partner for further assistance. You can use a calculator. EXTENSION: Can you make some of your own binary to denary questions?

CONVERT 8-BIT BINARY TO DENARY In your OneNote, convert these 8-bit binary numbers into denary numbers. 10010000 10016) 10001000 01000011 00117) 01000100 11000011 8) 11101110 01100110 9) 10111101 00010111 011110) 11110101 128 64 32 16 8 4 2 1 NEED HELP? Ask the teacher or partner for further assistance. You can use a calculator. EXTENSION: What is the highest number that can be converted from 8-bit binary? How about 16-bit?

PLENARY: WHO GETS THE JOKE? Write this joke in your OneNote. Do you get the joke? Do you understand binary code?