Professional Documents
Culture Documents
L8 Slides - Data Representation - KS4
L8 Slides - Data Representation - KS4
L8 Slides - Data Representation - KS4
text
KS4 – Data representations
Starter activity
Question 1 0000
0001
How many combinations of 1s and 0s can 0010
you make with just 4 bits? ?
Question 2
Question 1 Answer 1
Question 2 Answer 2
How many bits would be needed to You would need at least 5 bits to represent
represent all 26 letters of the alphabet? all 26 letters of the alphabet. 5 bits would
allow for 32 combinations.
Objectives
Formula:
2×2
Activity 1
2×2
Activity 1
Formula:
2×2×2×2 Formula:
2×2×2×2 Formula:
Representing text
Representing text
● Lower-case letters
● Punctuation
● Spaces
● Numbers
Representing text
Representing text
7 bits.
Activity 2
7-bit ASCII
7-bit ASCII
For example,
A 10000012
B 10000102
C 10000112
Activity 2
7-bit ASCII
8-bit ASCII
8-bit ASCII
C 0100 0011
Activity 2
8-bit ASCII
C 0100 0011
D 0100 0100
Activity 2
8-bit ASCII
ASCII tasks
The ASCII character set contains all of ● Other languages (eg Greek)
the characters that can be found on a ● Emojis
standard English keyboard. ● Special characters (eg ½)
Next lesson...
Quiz time!
8 16
32 4
Plenary
8 16
32 4
Plenary
8 16
32 4
Plenary
8 16
32 4
Plenary
8 64
128 256
Plenary
8 64
128 256
ASCII originally used 7 bits!
Plenary
100 101
103 104
Plenary
100 101
103 104
Plenary
TRUE FALSE
Plenary
TRUE FALSE
Plenary
01000001 is the ASCII code for the letter A. What is the ASCII
code for the letter B?
01000001 01000010
01000011 01000100
Plenary
01000001 is the ASCII code for the letter A. What is the ASCII
code for the letter B?
01000001 01000010
01000011 01000100
Plenary
01010100 is the ASCII code for the letter T. What is the ASCII
code for the letter U?
01010111 01011111
01010101 01011000
Plenary
01010100 is the ASCII code for the letter T. What is the ASCII
code for the letter U?
01010111 01011111
01010101 01011000
Summary
Next lesson
Learnt how text is represented using Learn about Unicode and file size
binary numbers calculation