SlideShare a Scribd company logo
2
Most read
5
Most read
Conversion Methods
Denary Binary Hexadecimal Octal
0 00000000 0 0
1 00000001 1 1
2 00000010 2 2
3 00000011 3 3
4 00000100 4 4
5 00000101 5 5
6 00000110 6 6
7 00000111 7 7
8 00001000 8
9 00001001 9
10 00001010 A
11 00001011 B
12 00001100 C
13 00001101 D
14 00001110 E
15 00001111 F
2
Hexadecimal numbers
Hexadecimal uses the digits 0-9 and the letters A-F, so counting would look like this:
0 1 2 3 4 5 6 7 8 9 A B C D E F
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
20 21 21 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
30 31 32 32 … etc
3
Binary to Hexadecimal
1. Draw the table
a. eg 10110001 add it to your table
b. Divide it into groups of 4 bits starting from the right
hand side
c. In each group start 23 22 21 20
d. Add up the values in each group and from the
heaxadecimal table replace the value
23 22 21 20 23 22 21 20
1 0 1 1 0 0 0 1
8 + 0 + 2 + 1 = 11 0 + 0 + 0 + 1 = 1
B 1
4
Binary to Decimal (Denary)
1. Draw the table
a. eg 10010001 add it to your table
b. Add all the values in the second row that have a 1 in
the third row
c. 128+16+1 = 145
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 0 0 1 0 0 0 1
5
Hexadecimal to Decimal
• Eg. B1 (2 characters)
• Draw the table
162 161 160
256 16 1
B 1
Decimal value 11 1
11x16 =176 1x1 =1
176 + 1 = 177
Decimal to
hexadecimal
from table
slide 2
Multiply these
values eg 11x16
and 1x1 then add
the results
6
Decimal to hexadecimal
• Eg 255
• Divide by 16
• 255/16 = 15 and a remainder of 15
• 15/16 = 0 and a remainder of 15
decimal 15 15
hexadecimal F F
Result = FF
Most significant
Least significant
7
Decimal to hexadecimal
eg 325
325/16 = 20 and a remainder of 5
20/16 =1 and a remainder of 4
1/16 = 0 and a remainder of 1
32510
1 4 5
Result = 14516 or 0x145
Most significant
Least significant
8
Decimal to Binary
Draw the table
Eg 325
29 28
27 26 25 24 23 22 21 20
512 256 128 64 32 16 8 4 2 1
1 0 1 0 0 0 1 0 1
OR
9
Decimal to Binary
Eg 324
324/2 = 162 and a remainder of 0
162/2 = 81 and a remainder of 0
81/2 = 40 and a remainder of 1
40/2 = 20 and a remainder of 0
20/2 = 10 and a remainder of 0
10/2 = 5 and a remainder of 0
5/2 = 2 and a remainder of 1
2/2 =1 and a remainder of 0
1/2 = 0 and a remainder of 1
The result is 101000100
Most significant
Least significant
10

More Related Content

DOC
MATHEMATICS YEAR 1 QUESTIONS
PPTX
November 19
PPTX
Polygonal and square numbers
PPTX
Box multiplication copy
PPTX
Dev project
PPTX
Hockey stick n odd even
PPT
Lecture 06 computer arithmatic
PPTX
Step by Step process of drawing iosmetric view to Orthographic view
MATHEMATICS YEAR 1 QUESTIONS
November 19
Polygonal and square numbers
Box multiplication copy
Dev project
Hockey stick n odd even
Lecture 06 computer arithmatic
Step by Step process of drawing iosmetric view to Orthographic view

What's hot (20)

PPSX
Linear programming
DOCX
Activity ..
PPTX
Unit 3 Data Representation
PPTX
Euler Characteristic WIP
PPT
Chapter 1 standard form
PPTX
PPT
POLYGON PROPERTIES @ 9B
PDF
Obj. 25 Properties of Polygons
PPTX
magic of math
PPTX
Math magic
PPT
Fractions Add & Subtract
PDF
Collins international primary maths workbook 4
PPT
Complements
PPTX
Kinder number before
PPT
Expanded Column Method Addition
DOCX
Algebraic expression (las)
PPT
Algebra I 1
PDF
Working With Binary Numbers
PPT
Complement
PDF
Signed Binary Numbers
Linear programming
Activity ..
Unit 3 Data Representation
Euler Characteristic WIP
Chapter 1 standard form
POLYGON PROPERTIES @ 9B
Obj. 25 Properties of Polygons
magic of math
Math magic
Fractions Add & Subtract
Collins international primary maths workbook 4
Complements
Kinder number before
Expanded Column Method Addition
Algebraic expression (las)
Algebra I 1
Working With Binary Numbers
Complement
Signed Binary Numbers
Ad

Similar to Conversion methods (20)

PPTX
Hexadecimal Number System | conversions hexa to binary
DOCX
Unit 4.docx
PPTX
Cse 112 number system-[id_142-15-3472]
PPTX
Number system
PPTX
Number system by ammar nawab
PPTX
Data representation for o and a levels 2
PPTX
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PPTX
PST SC015 Chapter 2 Computer System 2017/2018
PPTX
number system 1.pptx
PPTX
Number System and Conversions.pptx
DOCX
Number system
PPTX
Hexadecimal (Calculations and Explanations)
PPT
Number System- binary octal hexadecimal numbers
PPTX
dentistry3dentistry3dentistry3dentistry3.pptx
PDF
Number system
PPT
Number Systems
PPT
Number Systems
PPT
Number system and conversions Digitalelectronics.ppt
PPT
Digital logic design lecture 03
PDF
Number Systems
Hexadecimal Number System | conversions hexa to binary
Unit 4.docx
Cse 112 number system-[id_142-15-3472]
Number system
Number system by ammar nawab
Data representation for o and a levels 2
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PST SC015 Chapter 2 Computer System 2017/2018
number system 1.pptx
Number System and Conversions.pptx
Number system
Hexadecimal (Calculations and Explanations)
Number System- binary octal hexadecimal numbers
dentistry3dentistry3dentistry3dentistry3.pptx
Number system
Number Systems
Number Systems
Number system and conversions Digitalelectronics.ppt
Digital logic design lecture 03
Number Systems
Ad

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Trump Administration's workforce development strategy
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
master seminar digital applications in india
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
01-Introduction-to-Information-Management.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
human mycosis Human fungal infections are called human mycosis..pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Orientation - ARALprogram of Deped to the Parents.pptx
Trump Administration's workforce development strategy
Weekly quiz Compilation Jan -July 25.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Cell Types and Its function , kingdom of life
A systematic review of self-coping strategies used by university students to ...
202450812 BayCHI UCSC-SV 20250812 v17.pptx
master seminar digital applications in india
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Final Presentation General Medicine 03-08-2024.pptx
01-Introduction-to-Information-Management.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
VCE English Exam - Section C Student Revision Booklet
FourierSeries-QuestionsWithAnswers(Part-A).pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

Conversion methods

  • 2. Denary Binary Hexadecimal Octal 0 00000000 0 0 1 00000001 1 1 2 00000010 2 2 3 00000011 3 3 4 00000100 4 4 5 00000101 5 5 6 00000110 6 6 7 00000111 7 7 8 00001000 8 9 00001001 9 10 00001010 A 11 00001011 B 12 00001100 C 13 00001101 D 14 00001110 E 15 00001111 F 2
  • 3. Hexadecimal numbers Hexadecimal uses the digits 0-9 and the letters A-F, so counting would look like this: 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 21 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 32 … etc 3
  • 4. Binary to Hexadecimal 1. Draw the table a. eg 10110001 add it to your table b. Divide it into groups of 4 bits starting from the right hand side c. In each group start 23 22 21 20 d. Add up the values in each group and from the heaxadecimal table replace the value 23 22 21 20 23 22 21 20 1 0 1 1 0 0 0 1 8 + 0 + 2 + 1 = 11 0 + 0 + 0 + 1 = 1 B 1 4
  • 5. Binary to Decimal (Denary) 1. Draw the table a. eg 10010001 add it to your table b. Add all the values in the second row that have a 1 in the third row c. 128+16+1 = 145 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 1 0 0 1 0 0 0 1 5
  • 6. Hexadecimal to Decimal • Eg. B1 (2 characters) • Draw the table 162 161 160 256 16 1 B 1 Decimal value 11 1 11x16 =176 1x1 =1 176 + 1 = 177 Decimal to hexadecimal from table slide 2 Multiply these values eg 11x16 and 1x1 then add the results 6
  • 7. Decimal to hexadecimal • Eg 255 • Divide by 16 • 255/16 = 15 and a remainder of 15 • 15/16 = 0 and a remainder of 15 decimal 15 15 hexadecimal F F Result = FF Most significant Least significant 7
  • 8. Decimal to hexadecimal eg 325 325/16 = 20 and a remainder of 5 20/16 =1 and a remainder of 4 1/16 = 0 and a remainder of 1 32510 1 4 5 Result = 14516 or 0x145 Most significant Least significant 8
  • 9. Decimal to Binary Draw the table Eg 325 29 28 27 26 25 24 23 22 21 20 512 256 128 64 32 16 8 4 2 1 1 0 1 0 0 0 1 0 1 OR 9
  • 10. Decimal to Binary Eg 324 324/2 = 162 and a remainder of 0 162/2 = 81 and a remainder of 0 81/2 = 40 and a remainder of 1 40/2 = 20 and a remainder of 0 20/2 = 10 and a remainder of 0 10/2 = 5 and a remainder of 0 5/2 = 2 and a remainder of 1 2/2 =1 and a remainder of 0 1/2 = 0 and a remainder of 1 The result is 101000100 Most significant Least significant 10