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.

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
Hexadecimal In today’s lesson we will look at: the need for something other than binary how hexadecimal works how to convert between hexadecimal and binary.
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.
Number Systems and Codes In PLC
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Abstraction – Number Systems and Data Representation.
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
Representation of Data Ma King Man. Reference Text Book: Volume 2 Notes: Chapter 19.
Chapter 4: Representation of data in computer systems: Number OCR Computing for GCSE © Hodder Education 2011.
The Teacher CP4 Binary and all that… CP4 Revision.
Number Bases In today’s lesson we will look at: what we mean by a number base how ordinary numbers work a number system called binary why binary is useful.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Conversions Denary to Binary Method 1
Chapter 2 Data Representation.
Data Representation Conversion 24/04/2017.
Fractions in Binary.
Hexadecimal. Overview Hexadecimal (hex) ~ base 16 number system Use 0 through 9 and... A = 10 B = 11 C = 12 D = 13 E = 14 F = 15.
Octal to Decimal Hexadecimal DecimalOctal Binary.
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.”
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Candidates should be able to:
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.
Binary  Decimal. Review Each binary digit (bit) is a power of 2 Place the bits, multiply, and add Example:
Comp 335 – File Structures Hexadecimal Dumps Interpreting File Contents.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
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.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
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
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
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.
Data Representation Covering… Binary addition / subtraction
Understanding binary Understanding Computers.
Binary and Hexadecimal
Octal to Decimal Decimal Octal Binary Hexadecimal.
Unit 18: Computational Thinking
Binary numbers: Week 7 Lesson 1
Binary Positional Notation
BINARY CODE.
Representation of data in computer systems
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Binary & Hexidecimal Numbers
Number Systems Base 2, 10, 16.
Numbering System TODAY AND TOMORROW 11th Edition
Data Representation Conversion 05/12/2018.
Data Hexadecimal.
Topic 3: Data Hexadecimal.
Chapter 2: Number Systems
Data Binary Conversion.
Binary  Name: Class: .
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.
23/04/2019 Data Representation Conversion.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
Binary, Hexadecimal, and Base 10.
Binary.
Section 6 Primitive Data Types
Presentation transcript:

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 10 times more than the previous one E.g. 583 Base 10 means we use 10 digits and the multiplier is 10 as we move from right to left 3x18x105x100

Binary Number System (Base 2) Binary uses 2 digits (0-1) and each digit is worth twice as much as the one on its right E.g and 1 represent the on off state of electrical circuits but are inconvenient as even small numbers require a lot of digits to represent them 1x11x20x40x81x = 19

Hexadecimal Number System (Base 16) By putting binary numbers into groups of 4 bits and displaying as hexadecimal you reduce the number of digits that need to be displayed Hexadecimal uses shorthand notation to represent binary digit patterns. Digits 0-9 and letters A-f DenaryBinaryHexadecimal A B C D E F

Translating Denary to Binary E.g. translate 179 to Binary Step 1: Write down headings shown:

Translating Denary to Binary E.g. translate 179 to Binary Step 2: 128 is the largest number to go into 179, so put a 1 under

Translating Denary to Binary E.g. translate 179 to Binary Step 3: 179 – 128 = is the next largest number to go into 51, so put a 1 under

Translating Denary to Binary E.g. translate 179 to Binary Step 4: 51 – 32 = is the next largest number to go into 19, so put a 1 under

Translating Denary to Binary E.g. translate 179 to Binary Step 5: 19 – 16 = 3. 2 is the next largest number to go into 3, so put a 1 under

Translating Denary to Binary E.g. translate 179 to Binary Step 6: 3 – 2 = 1. 1 is the next largest number to go into 1, so put a 1 under

Translating Denary to Binary E.g. translate 179 to Binary Step 7: Fill in the gaps with

Translating Denary to Binary Therefore 179 in Binary is

Converting Denary to Hexadecimal Step 1: Convert Denary to Binary To convert 179 to Hexadecimal you must first convert it to Binary (as shown before) 179 in Binary = Step 2: Break the binary number into two groups of

Converting Binary to Hexadecimal Step 3: Convert blocks of 4 to hexadecimal = = B3 DenaryBinaryHexadecimal A B C D E F B 3

Task Translate 124 to Binary and Hexadecimal Translate 15 to Binary and Hexadecimal Translate 258 to Binary and Hexadecimal

Hexadecimal to Binary 92 in Hexadecimal 9 = = DenaryBinaryHexadecimal A B C D E F

Binary to Denary Converting to denary: Step 1: Put in numbers above binary number Step 2: Add up the numbers with a 1 underneath = 146 Hexadecimal 92 Binary Denary 146

Task 1.Translate Binary to Denary and to Hexadecimal 2.The ASCII code for the letter N is Show how this would be represented in Denary and Hexadecimal 3. Convert the Hexadecimal E2 to Binary and Decimal