TEACHERS PRESENTATION
Download
Report
Transcript TEACHERS PRESENTATION
Hexadecimal
Data Representation
Objectives
Know
how the Hexadecimal counting
system works
Be
able to convert between denary, binary
& hexadecimal counting systems
What is hexadecimal?
Its short hand binary
It makes binary easier to remember
It represents 4 bits – what’s 4 bits called?
Binary Vs Hex
Unlike Binary, Hex is base 16
This means that there are 16
different values available.
It also uses letters to represent
numbers
Denary Binary
Hex
0
0
0
1
1
1
2
3
2
3
4
4
5
5
6
6
7
7
8
9
8
9
A
B
C
D
E
F
Hex
Converting to Hex from Decimal
0=0
94
1
Start with a Decimal Number
01011110
2
Convert to binary
1110
3
Split the 8 bits into 2 nibbles
5
14
4
Convert each nibble into decimal
5
E
5
Convert the decimal using the Hex
conversion (in the box)
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
A = 10
0101
B = 11
C = 12
D = 13
E = 14
F = 15