0% found this document useful (0 votes)
28 views10 pages

Hexadecimal

Hexadecimal

Uploaded by

molaposk10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views10 pages

Hexadecimal

Hexadecimal

Uploaded by

molaposk10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Y10-02-P10: Hexadecimal

Y10-02-P10: Hexadecimal

Learning objectives
In this lesson you will learn to:

• define what is meant by the term 'hexadecimal'


• explain why hexadecimal notation is used
• convert between hexadecimal and binary.

For more information about this topic and additional student activities
see Topic 2 of the student book.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Quick test!

Copy down this number. You have 5 seconds!

11110010111010110101000101100111

Did you get it all down correctly?

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Human problems
That was difficult, wasn’t it?

Did you get all of the digits correct?

Even if you had more than 5 seconds, chances are you’d make a
mistake.

This is because people find binary numbers hard to read, write and
understand.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

An alternative solution
Computer scientists often use an alternative method of
representing long binary numbers.

This is known as hexadecimal.

Hexadecimal is a number system that is base 16.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Denary Binary Hexadecimal


Hexadecimal values 0 0000 0
1 0001 1
You don’t need to memorise this 2 0010 2
table! 3 0011 3
4 0100 4
5 0101 5
Remember that: 6 0110 6

• 1010 is 10102 and A16 7 0111 7


8 1000 8
• 1510 is 11112 and F16 9 1001 9
10 1010 A
11 1011 B
Then you can work out the rest. 12 1100 C
13 1101 D
14 1110 E
15 1111 F
16 10000 10

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Conversion
You can convert easily between binary and hexadecimal by
splitting the binary number into nibbles.

0 1 1 0 1 1 0 0

You convert each nibble into denary and then into one hexadecimal
digit.

4+2=6 8 + 4 = 12 = C

So the hexadecimal is 6C.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Conversion
Going from hexadecimal to binary is just as straightforward.
We take the hexadecimal, split it into its digits and convert these to
decimal and then into binary nibbles.

Binary Denary (Base 10)


conversion by
B E
subtraction
B = 11 E = 15

11 - 8 - 2 - 1 15 - 8 - 4 - 2 - 1
1011 1111

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Where is it used?

One of the most common uses of hexadecimal values is for colours.

Find out more information about this in Activity 3.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-02-P10: Hexadecimal

Wrap up: you have learned how to…


 Define what is meant by the term 'hexadecimal’.
• Base-16; 0-9 then A, B, C, D, E, F.

 Explain why hexadecimal notation is used.


• Easier for people to read, write and understand.

 Convert between hexadecimal and binary.


• Split into nibbles and convert each nibble.

© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.

You might also like