Introduction to Number Representation A451 GCSE Computing.

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
Candidates should be able to:
CS 151 Digital Systems Design Lecture 3 More Number Systems.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
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.
Introduction to Number Systems
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
© 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.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
Introduction to Number Representation F451 Year 10 Computing Binary Numbers Binary Numbers Sign/Magnitude Sign/Magnitude 2s Complement 2s Complement Binary.
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
1 Press Ctrl-A ©G Dear 2010 – Not to be sold/Free to use Converting Bits and Bytes Stage 6 - Year 11 Applied Mathematic (Preliminary General 1)
Conversions Denary to Binary Method 1
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.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Number Base Relationships F451 AS WBGS How to explain the relationship between binary and Octal/Hex values.
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.
Number Systems Denary Base 10 Binary Base 2 Hexadecimal Base 16
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 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
Reasons to  Binary With Mrs
Chapter 2 Instructions: Language of the Computer Part IIa Number Representation.
The Hexadecimal Number System Representation of Data in Computer Systems.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Two’s Complement The language of machines, part II.
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.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
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.
Consider this number: , Ones (7 ones) Tens (no tens)
Unit 18: Computational Thinking
Binary numbers: Week 7 Lesson 1
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Denary to Binary Numbers & Binary to Denary
…to GCSE Level with Python Sue Sentance
Binary & Hexidecimal Numbers
Lesson Objectives Aims You should be able to: Convert Denary to Binary
Principles of Computing – UFCFA Lecture-3
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Hexadecimal Conversions
Follow-up question Factorize x2 + 2x – 15. Solution
Binary Lesson 3 Hexadecimal
COMS 161 Introduction to Computing
Topic 1: Data Representation
(return of the…) Data blast
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
C1 Number systems.
Binary Lesson 3 Hexadecimal
Binary  Name: Class: .
Binary Lesson 4 Hexadecimal and Binary Practice
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
COMS 161 Introduction to Computing
Binary.
Theory: 2.6 – Data Representation
Section 6 Primitive Data Types
Presentation transcript:

Introduction to Number Representation A451 GCSE Computing

BinaryBinary

BinaryBinary All computer processing is carried out digitally. This means that the processor handles instructions as binary codes – zeros and ones. All data on a PC is essentially 0’s and 1’s.

Bits, Nibbles, Bytes Bit – 1 or 0 Nibble – 4 Bits Byte – 8 Bits

Converting positive denary integers into binary Example 1 Whole positive denary (base ten) numbers are converted into binary as follows: 135 from denary into binary =

Converting positive denary integers into binary Example from denary into binary =

1 Byte – Maximum and Minimum Value Maximum value = = 255 Minimum value =

Hex – Base 16 Only uses single digits Only uses single digits A = 10 A = 10 B = 11 B = 11 C = 12 C = 12 D = 13 D = 13 E = 14 E = 14 F = 15 F = 15 Only uses single digits Only uses single digits A = 10 A = 10 B = 11 B = 11 C = 12 C = 12 D = 13 D = 13 E = 14 E = 14 F = 15 F =

Hex – Base in denary 75 in denary is 4B in Hex is 4B in Hex 0*0=0 0*0=0 4*16=64 4*16=64 1*11=11 (B) 1*11=11 (B) 64+11= =75 0*0=0 0*0=0 4*16=64 4*16=64 1*11=11 (B) 1*11=11 (B) 64+11= = B 11

Hex – Base in denary 2797 in denary is AED in Hex is AED in Hex 10*256=2560 (A) 10*256=2560 (A) 14*16=64 (E) 14*16=64 (E) 13*1=11 (D) 13*1=11 (D) = = *256=2560 (A) 10*256=2560 (A) 14*16=64 (E) 14*16=64 (E) 13*1=11 (D) 13*1=11 (D) = = 2797 AE 14 D 13

Hex to Denary C4 in Hex 1C4 in Hex 1*256 = 256 1*256 = *16 = *16 = 192 4*1 = 4 4*1 = = = 452 1*256 = 256 1*256 = *16 = *16 = 192 4*1 = 4 4*1 = = = 452 1C 4

Hex to Denary EB in Hex EB in Hex 0 * 0 = 0 0 * 0 = 0 16 * 14 = * 14 = * 11 = 11 1 * 11 = = = * 0 = 0 0 * 0 = 0 16 * 14 = * 14 = * 11 = 11 1 * 11 = = = 235 0E B

Binary to Hex in denary 108 in denary  = 6  = 12 (C)  108 in hex is 6C

Hex to Binary AF in hex AF in hex (10*16)+(1*15) = 175 (10*16)+(1*15) = 175 A = 10 A = 10 F = 15 F = = =