2. STARTER – CRACK THE CODE
15 21 20 3 15 13 5
O U T C O M E
9
I
3 1 14
C A N
3 15 14 22 5 18 20
C O N V E R T
21 19 9 14 7
U S I N G
2 9 14 1 18 25
B I N A R Y
3.
4. OUTCOMES
• All students will be able to convert using 8 bit
numbers
• Most students will be able to convert between
binary, denary and binary to hexadecimal.
• Some students will be able to convert confidently
between binary, denary and hexadecimal
Objective:
I can convert using binary, denary
and hexadecimal numbers
5. HOW DO COMPUTERS TALK?
Objective:
I can convert using binary, denary
and hexadecimal numbers
6. EXAMPLE
128 64 32 16 8 4 2 1
0 0 0 0 1 0 0 1
1 = On
0 = Off
Take the “On” numbers
and add them together
8+1 = 9
So;
1001 in Binary is equal to
the denary (integer) 9
Objective:
I can convert using binary, denary
and hexadecimal numbers
7. TASK ONE - A
Binary Denary
11100101
01011010
10110101
01000101
11011111
11110000
10000000
11111111
2) So how ….. can I
represent the
number 256 in
binary?
1
128 64 32 16 8 4 2 1
Objective:
I can convert using binary, denary and
hexadecimal numbers
8. TASK ONE - A
Binary Denary
11100101 229
01011010 90
10110101 181
01000101 69
11011111 223
11110000 240
10000000 128
11111111 255
2) So how ….. can I
represent the
number 16 in
binary?
1
128 64 32 16 8 4 2 1
Objective:
I can convert using binary, denary and
hexadecimal numbers
9. CAN WE MAKE NUMBERS INTO BINARY?
So we know that 00000110 is equal to 5
but how to we make numbers into
binary code.
Simple!
Objective:
I can convert using binary, denary
and hexadecimal numbers
10.
11. DENARY TO BINARY
99 =
Why?
64+31+2+1 = 99
128 64 32 16 8 4 2 1
0 1 1 0 0 0 1 1
Objective:
I can convert using binary, denary and
hexadecimal numbers
12. TASK ONE – B – CONVERT THE DENARY
Binary Decimal
8
12
56
93
121
187
209
254
2) So what is
110110100 in
denary form?
1
128 64 32 16 8 4 2 1
Objective:
I can convert using binary, denary and
hexadecimal numbers
13. TASK ONE – B – CONVERT THE DENARY
Binary Decimal
00001000 8
00001100 12
00111000 56
01011101 93
01111001 121
10111011 187
11010001 209
11111110 254
2) So what is
110110100 in
denary form?
1
128 64 32 16 8 4 2 1
Objective:
I can convert using binary, denary and
hexadecimal numbers
14. PROGRESS CHECK
Can we all
confidently
convert using 8
bit binary
numbers?
Objective:
I can convert using binary, denary and
hexadecimal numbers
15. THE SOLUTION TO BIGGER NUMBERS ….
Sometimes binary numbers get really long –
so we use Hexadecimal to shorten them –
making them easier to store and remember.
In this example, the relatively small number of
42,780 in binary is
1010011100011100
Objective:
I can convert using binary, denary and
hexadecimal numbers
16. CONVERSION TO HEXADECIMAL
1010 0111 0001 1100
10 7 1
12
A 7 1 C
1) Split the binary into
groups of 4
2) Using the table system
convert to denary
numbers
3) Use the Hex table to
convert
8 4 2 1
1 0 1 0
8 2 4 1
0 1 1 1
8 4 2 1
0 0 0 1
8 4 2 1
1 1 0 0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 1 2 3 4 5 6 7 8 9 A B C D E F
17. TASK TWO A – BINARY TO HEX
Binar
y
Hex
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F
Convert the following from Binary to Hexadecimal:
1. 1001 1111 1010 1110 1110
2. 1110 0010 1110 0010 1101
3. 1101 0010 0100 0000 1110
4. 0101 0100 1001 0100 0100
5. 0001 0001 1110 1110 1110
Convert:
8F to Decimal
6F8AB to Binary
18. TASK TWO A – BINARY TO HEX
Binar
y
Hex
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F
Convert the following from Binary to Hexadecimal:
1. 1001 1111 1010 1110 1110 9FAEE
2. 1110 0010 1110 0010 1101 E2E2D
3. 1101 0010 0100 0000 1110 D240E
4. 0101 0100 1001 0100 0100 54944
5. 0001 0001 1110 1110 1110 11EEE
Convert:
8F to Decimal 143
6F8AB to Binary
1101111100010101011
19. PLENARY
Using what you have learnt this lesson answer the following
questions;
1. Convert the denary number 110 to binary.
2. Convert the binary for 110 to Hexadecimal.
3. Convert the Hexadecimal E2 to binary
4. Convert the binary for E2 to denary
Objective:
I can convert using binary, denary and
hexadecimal numbers