You are on page 1of 8

Uses base 16 which is (0-9, A-F)

In order to show that a number is


hexadecimal you use 16 as a subscript, for
example 9AF16 or
Put 0X in front, for example 0X9AF
A single digit must be able to take any value
between 0 and 15.
HEXADECIMAL DECIMAL VALUE BINARY
DIGIT REPRESENTATION

0 0 0000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
9 9 1001
A 10 1010
B 11 1011
C 12 1100
D 13 1101
E 14 1110
F 15 1111
Using the hexadecimal table, find the four digit
binary representation for each hexadecimal value.
Going from right to left, place the binary digits in
groups of 3.
Add placeholders where necessary.
Eg E 5 16 to ( ?) 8

E 5

1110 0101

Rewrite and group it in 3 groups starting from right to left


011 100 101

3 4 5 Ans = 3458
Find the binary equivalent of the octal
number. (*following the octal to binary steps)
Going from right to left group the binary
numbers in groups of four.
Add placeholders where necessary.
Eg 345 8 to ( ?) 16

3 4 5

011 100 101

Rewrite and group it in 4 groups starting from right to left


0 1110 0101
E 5
Ans = E516
Convert from hexadecimal to decimal
multiply the decimal value of each digit by its
place value.
Convert 0X7FE or 7FE16
Place Value 162 161 160
256 16 1
Hexadecimal 7 F E
Digit
Decimal value 7 15 14

(256x7) + (16X15) + (1X14) = 1792+240+14=2046 10


Using the decimal to binary steps in conversion;
convert the decimal value to its binary equivalent.
Starting from right to left group the binary digits in
sets of 4.
Place the groups in the hexadecimal table to find
their hexadecimal value.
16 2482 2
Divide ( 9 11 2)
16 155 11
by 16
9
9 B 2

Ans = 9 B 2 16
Going from right to left, group the binary
digits in groups of 4.
Write the corresponding hexadecimal digit for
each group.
Eg. Convert 1010100101002 to hexadecimal

When we group the digits we get:


1010 1001 0100

A 9 4
Ans = OxA94 or A9416
Here will write the 4-digit binary equivalent
of each digit. E.g. Convert 0XABC to binary.
A B C

1010 1011 1100

0XABC =1010101111002

You might also like