Hexadecimal Conversions

Slides:



Advertisements
Similar presentations
A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
Advertisements

Candidates should be able to:
Information Processing
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 4.2 Binary numbers: Arithmetic
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
1 Number Systems. 2 Numbers Each number system is associated with a base or radix – The decimal number system is said to be of base or radix 10 A number.
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Binary Numbers 1.Binary and Denary RecapBinary.
Hexadecimal Dk Izzati Pg Haji Ahmad.
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.
Binary and Hexadecimal Numbers
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
Lecture 2 Bits, Bytes & Number systems
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Binary Values and Number Systems
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Positional Notation 642 in base 10 positional notation is:
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
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.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
1 Computer Science LESSON 1 on Number Bases. 2 Objective In this lesson you’ll learn about different Number Bases, specifically about those used by the.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Springfield Technical Community College Center for Business and Technology.
Announcement!!! First exam next Thursday (I’m trying to give you a first exam before the drop date) I’ll post a sample exam over the weekend and will try.
HEXADECIMAL NUMBERS.
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.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Hexadecimal (base 16) BY MAT D. What is hexadecimal  Hexadecimal is a number system like binary or denary that has 16 characters, the numbers 0-9 and.
The Hexadecimal Number System Representation of Data in Computer Systems.
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
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
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 Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Lecturer: Santokh Singh
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary and Logic Computers use electrical signals that are on or off, so they have to see everything as a series of binary numbers. This data is represented.
Binary, Denary, Hexadecimal Conversion Binary Addition
Different Numeral Systems
Octal to Decimal Decimal Octal Binary Hexadecimal.
Unit 18: Computational Thinking
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
Number Systems.
Convert Decimal to Binary
CSE 102 Introduction to Computer Engineering
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Topic 3: Data Hexadecimal.
(return of the…) Data blast
Number Systems Rayat Shikshan Sanstha’s
Numeral systems (radix)
Lesson 4: Introduction to Hexadecimal
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
Number Systems Rayat Shikshan Sanstha’s
LO1 – Understand Computer Hardware
COMS 161 Introduction to Computing
Number Systems.
Presentation transcript:

Hexadecimal Conversions 2.6 – Representing Data

What is Hexadecimal? Hexadecimal is a base 16 number system: there are 16 digits, 0 to 15. As we have only 10 single digits (0-9), we use upper-case letters A to F for the remaining digits. Therefore, hexadecimal digits are represented as: 0123456789ABCDEF

Why do we need Hexadecimal? We need hexadecimal numbers because of our human limitations. Computers do not use or understand hexadecimal, only binary. Hexadecimal is used because we get confused with large binary numbers, so we simplify them by representing them in hexadecimal notation. If we tried to give our phone number to someone in binary, it would be really difficult, therefore humans need an easier method. Since a byte is 8-bits, it makes sense to divide that binary number into two 4-bit numbers. Since 4-bits gives you a possible range of 0-15, a Base 16 system is easier to work with. Lets look at an example…

Hexadecimal Number system Denary 1 2 3 4 5 6 7 8 9 A 10 B 11 C 12 D 13 E 14 F 15 Remember that in denary (Base 10) we only have 10 single digits available to us… therefore, for Base 16 we use this representation.

Hex Denary 1 2 3 4 5 6 7 8 9 A 10 B 11 C 12 D 13 E 14 F 15 Hexadecimal Here is a byte (8-bits): Saying that is quite a mouthful, so its easier represented as hexadecimal. To convert the binary to hexadecimal the byte is split into two halves of 4 bits each. These are called nibbles. Each nibble is now converted into its denary number. Here are the nibbles with their place values. The denary numbers are 13 and 3. Therefore the hexadecimal representation is D3. It is far easier to remember D3 than 11010011. 1 1 1 8 4 2 1 8 4 2 1

Lets have a go… 1000 0111 0111 0101 0001 1000 0110 1110 1001 1111 1011 1011 0110 0110

Answers… 1000 0111 87 0111 0101 75 0001 1000 18 0110 1110 6E 1001 1111 9F 1011 1011 BB 0110 0110 66

Converting denary to hexadecimal 1 2 3 4 5 6 7 8 9 A 10 B 11 C 12 D 13 E 14 F 15 Here is denary number 213. To convert to hexadecimal, we must progressively divide by 16 until the result is 0 and remember the remainders. 213 ÷ 16 = 13 (remainder 5) 13 = D 5 = 5 D5

Lets have a go… 226 98 13 57 198 207 136

Answers… 226 E2 98 62 13 D 57 39 198 C6 207 CF 136 88