Unit 2.6 Data Representation Lesson 1 ‒ Numbers

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

Base 10 Denary Decimal
Candidates should be able to:
Binary Representation Introduction to Computer Science and Programming I Chris Schmidt.
2.2 General Positional-Number-System Conversion
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 1 Fundamentals of Computing
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Numbering systems.
Lecture 2 Bits, Bytes & Number systems
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation.
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)
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.
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.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Computer Programming 12 Mr. Jean February 5 th, 2014.
Candidates should be able to:
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
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.
The Hexadecimal Number System Representation of Data in Computer Systems.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
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.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Binary & Hex Review.
© 2003, Cisco Systems, Inc. All rights reserved.
Binary, Denary, Hexadecimal Conversion Binary Addition
Data Representation – numbers Binary conversion Hexadecimal Negative numbers Binary addition Binary shifts.
Consider this number: , Ones (7 ones) Tens (no tens)
Octal to Decimal Decimal Octal Binary Hexadecimal.
Unit 18: Computational Thinking
Lesson Objectives Aims
Binary numbers: Week 7 Lesson 1
Memory Parts of a computer
Information Support and Services
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
CSE 102 Introduction to Computer Engineering
Chapter 3 Data Representation
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Denary to Binary Numbers & Binary to Denary
Lesson Objectives Aims You should be able to: Convert Denary to Binary
Data Representation Numbers
Representation of Data in Computer Systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Hexadecimal Conversions
Binary Lesson 3 Hexadecimal
Topic 3: Data Hexadecimal.
Data Representation – Numbers
(return of the…) Data blast
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Numeral systems (radix)
Binary System.
Binary Lesson 4 Hexadecimal and Binary Practice
Hexadecimal.
Computer Science 1 Binary and Hexadecimal Numbers
Binary & Hex Review.
WJEC GCSE Computer Science
Computer Systems Nat 4/5 Computing Science Data Representation
Presentation transcript:

Unit 2.6 Data Representation Lesson 1 ‒ Numbers

Starter Put these units in the correct order of size (smallest->largest): Bit Gigabyte Kilobyte Byte Petabyte Terabyte Megabyte Nibble

Hexadecimal Numbers Hexadecimals use the base-16 number system. This means that there are 16 possibilities: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Notice that we use the values A-F to represent 10-15

Convert to base 10 Base 16 is represented by the following place values: Therefore to convert 4C from Hexadecimal into base 10: 256(162) 16(161) 1(160) 256(162) 16(161) 1(160) 4 C 4*16=64 12*1=12 64+12=76

Convert to Hexadecimal Using the inverse, we can convert from to Hexadecimal by using the following method: e.g. Convert 167 into Hexadecimal Divide the number by 16: 167/16= 10(A) 2. Record the remainder: Remainder = 7 Therefore the answer = A7

Binary to Hexadecimal Using 4 bits (a nibble) we can hold 16 possible decimal values. 0000 = 0 1111 = 15 This is useful when convert between Binary and Hexadecimal (base 16). To convert 10101011 into Hex, we can use the following steps: Split into 2 nibbles: 1010 1011 Convert each nibble into decimal: 1010 = 10(A) 1011 =11(B) Therefore 10101011 in Hex is AB

Hexadecimal to Binary To convert from Hexadecimal to Binary we can do the opposite, where we convert each digit into a nibble. To convert 3B into Hex, we can use the following steps: Split into 2 digits: 3 B Convert each digit into 4 bits (a nibble!): 3= 0011 B=1011 Therefore 3B in Binary is 00111011

Why use Hexadecimal Numbers? Hexadecimals are used by computer scientists for the following reasons: Binary produces long strings and can be difficult to work with. Hex is shorter. Hex can be easily converted to/from binary as there is 1 hex digit per nibble. Hex is less susceptible to error.