Hexadecimal and Conversions

Hexadecimal and Conversions
1 / 26
volgende
Slide 1: Tekstslide
ComputingLower Secondary (Key Stage 3)

In deze les zitten 26 slides, met interactieve quizzen, tekstslides en 5 videos.

time-iconLesduur is: 55 min

Onderdelen in deze les

Hexadecimal and Conversions

Slide 1 - Tekstslide

Deze slide heeft geen instructies

Drag the text on to the pictures that you think
best represent that number system
Binary
(base 2)
Denary
(base 10)
Hexadecimal
(base 16)

Slide 2 - Sleepvraag

Deze slide heeft geen instructies

Key objective
  1. Understand the hexadecimal number system
  2. Convert between hexadecimal and decimal
  3. Convert between binary and hexadecimal 

Slide 3 - Tekstslide

Deze slide heeft geen instructies

Hexadecimal
  • "Hexa" - comes from the Greek word "six"
  • "Decimal" - comes from the Latin word "Decimus"                                                - which means "10th"
  • "6 and 10" - "Base 16"



However we only have 10 digits:
0,1,2,3,4,5,6,7,8,9
What do we do now?

Slide 4 - Tekstslide

Deze slide heeft geen instructies

Review this picture and guess what they have done to represent numbers greater than 9:

Slide 5 - Woordweb

Deze slide heeft geen instructies

Hexidecimal System
We know Binary is base 2 and uses: 0 and 1.
We know Denary/Decimal is base 10 and uses: 0 up to 9.
Hexidecimal is base 16 and uses:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F - 0 to 15 where 10 is A and 15 is F.

Hexadecimal or "Hex" is used to compact values, so instead of "1111" in binary, we can just write "F".

Slide 6 - Tekstslide

Deze slide heeft geen instructies

Bringing it all together
Consider how we want to start moving from one base to another.

Knowing your times tables and this counting system will help.

If in doubt, have a pen and paper about, show your workings out!

Slide 7 - Tekstslide

Deze slide heeft geen instructies

Bases
What is the pattern -
How is each column growing?

Slide 8 - Woordweb

Deze slide heeft geen instructies

Bases
Each column is a multiple of the base.



 

Slide 9 - Tekstslide

Deze slide heeft geen instructies

Example: Representing 11
How would we represent the digits 11 in each base?



Slide 10 - Tekstslide

Deze slide heeft geen instructies

Converting Hexadecimal to Denary
How do we convert C9 to Denary




Multiple by columns
12 x 16 = 192
9 x 1 = 9


Add together
192 + 9 = 201
We know 9 = 9
Break it up by column
C | 9
We know C = 12
We know 9 = 9

Slide 11 - Tekstslide

Deze slide heeft geen instructies

Slide 12 - Video

Deze slide heeft geen instructies

Slide 13 - Tekstslide

Look on the monitor for "purple" themed game.
ViPos for top 3
Make sure to tell students who are struggling to use slower speeds and tell them to review the helper text that appears when they attempt to answer.
Converting Denary to Hexadecimal
How do we convert 201 to Hexadecimal





Divide by Base (16)
201 / 16 =  12 with 9 remainder.



Put it together
C | 9 -> C9


Break it up by column
We know C = 12
And the remainder can be
directly translated to 9 = 9

Slide 14 - Tekstslide

Deze slide heeft geen instructies

Slide 15 - Video

Deze slide heeft geen instructies

Slide 16 - Tekstslide

Look on the monitor for "blue" themed game.
ViPos for top 3
Make sure to tell students who are struggling to use slower speeds and tell them to review the helper text that appears when they attempt to answer.
Converting Binary to Hexadecimal
How do we convert 000111101100 to Hexadecimal





Separate the nibbles (4 bits)
0001 | 1110 | 1100



Put it together
1 | E | C -> 1EC


Look up the column or count the bits
We know 0001 = 1
We know 1110 = E
We know 1100 = C

Slide 17 - Tekstslide

Deze slide heeft geen instructies

Slide 18 - Video

Deze slide heeft geen instructies

Slide 19 - Tekstslide

Look on the monitor for "teal" themed game.
ViPos for top 3
Make sure to tell students who are struggling to use slower speeds and tell them to review the helper text that appears when they attempt to answer.
Converting Hexadecimal to Binary 
How do we convert F1A to Hexadecimal





Separate the nibbles (4 bits)
F | 1 | A



Put it together
1111 | 0001 | 1010 -> 111100011010


Look up the column or count the bits
We know 1111 = F
We know 0001 = 1
We know 1010 = A


Slide 20 - Tekstslide

Deze slide heeft geen instructies

Slide 21 - Video

Deze slide heeft geen instructies

Slide 22 - Tekstslide

Look on the monitor for "pink" themed game.
ViPos for top 3
Make sure to tell students who are struggling to use slower speeds and tell them to review the helper text that appears when they attempt to answer.
Stretch: Go for the high score!

Slide 23 - Tekstslide

Look on the monitor for "purple" themed game.
ViPos for top 1
This is probably the hardest mode.
Connolly's Count Like a Computer

Slide 24 - Tekstslide

Deze slide heeft geen instructies

How confident are you with converting between base numbers?
πŸ˜’πŸ™πŸ˜πŸ™‚πŸ˜ƒ

Slide 25 - Poll

Deze slide heeft geen instructies

Slide 26 - Video

Deze slide heeft geen instructies