Professional Documents
Culture Documents
1 Data Representation - L5 - Decimal To Hexadecimal Conversion
1 Data Representation - L5 - Decimal To Hexadecimal Conversion
1 Data Representation - L5 - Decimal To Hexadecimal Conversion
Decimal to Hexadecimal
Conversion
5 Number System
Previously we Learned
• Concept of Binary
Numbers
• Base and Range of Binary
numbers
• How to convert a Decimal
to a Binary number.
Decimal Binary Octal Hexadecimal
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
The table is shows the decimal, binary, 4 0100 4 4
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
Decimal to Binary Conversion
• To convert a Denary number to Hexadecimal
we should follow two steps
– Denary to Binary Conversion
– Binary to Hexadecimal Conversion
1. Decimal to Binary Conversion
1. Start by making a power chart of 2.
2. Look for the greatest power of 2.
3. Move to the next lower power of two.
4. Subtract each successive number that can fit, and
mark it with a 1.
5. Continue until you reach the end of your chart.
6. Write out the binary answer.
2. How to Convert Binary to Hex
• Converting from binary to hex is easy since
hexadecimal numbers are simplified versions of binary
strings. You just need to remember that each hex digit
represents four binary digits.
Evaluation Worksheet
3! 2! 1!
1.
3 Things I 2.
learned
3.
1.
2 Interesting
2.
facts
1 Question
1.