80 likes | 360 Views
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?.
E N D
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?
Denary 0 1 2 3 4 5 6 7 8 9 Binary 0 1 Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F 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
Hex 0 = 0 1 = 1 2 = 2 3 = 3 4 = 4 5 = 5 6 = 6 7 = 7 8 = 8 9 = 9 A = 10 B = 11 C = 12 D = 13 E = 14 F = 15 Converting to Hex from Decimal 1 Start with a Decimal Number 94 01011110 0101 1110 5 14 5 E Convert to binary 2 Split the 8 bits into 2 nibbles 3 4 Convert each nibble into decimal 5 Convert the decimal using the Hex conversion (in the box)