Character sets: ASCII and Unicode – OCR GCSE Computer Science lesson (J277)
Pupils learn to explain how a character set gives each character a binary code, encode and decode text with ASCII, and compare ASCII and Unicode by bits per character and range.
Lesson 1 of 11 in unit 10.4 Characters, Images, Sound, Strings and Arrays, taught in Year 10, Spring 2. It answers one big question: How does a computer store the letters we type?
By the end, pupils can explain how a character set gives each character a binary code, encode and decode text with ASCII, and compare ASCII and Unicode by bits per character and range.
- The Build (the main task)
- Complete the app's alert decoder. a) Use the ASCII table to decode the three alerts: 71 65 84 69 83 32 79 80 69 78; 82 65 73 78; 83 69 84 32 55. b) Encode the word STAGE in denary and in 8-bit binary. c) Explain why the line-up page needs Unicode to show an act called Zoë.
- Support version
- Part-filled table: the first alert is decoded and the codes for A–Z are listed in order.
- Challenge
- Calculate how many characters 8-bit and 16-bit character sets can represent, and explain why Unicode keeps ASCII's first 128 codes.
- Real-world link
- The line-up page shows act names from around the world, with accents.
- Key words
- Character set, Unicode and Range, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Upper case and lower case letters share the same code, so 'A' and 'a' are both 65”; “The digit '7' typed as text is stored as the binary number for 7 (0000 0111)”.
- OCR J277 specification
- 1.2.4 (data storage – characters: character sets, ASCII and Unicode, bits per character and the number of characters represented. Images: pixels, colour depth, resolution and metadata. Sound: sampling, sample rate, duration and bit depth, and their effect on quality and file size).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils can do it all on paper.
Also sold in the Characters, Images, Sound, Strings and Arrays unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for GCSE Computer Science (OCR)
See allPupils learn to use concatenation, length, slicing, upper and lower case and ASCII conversion in Python and OCR Exam Reference Language to build and extract parts of strings.
Pupils learn to explain how a bitmap image is stored as pixels with binary colour codes, and describe how colour depth and resolution affect quality and file size.
How big will an image file be before we save it? One complete OCR GCSE Computer Science (J277) lesson with slides, worksheets and a lesson plan.
Written for the specifications named. Not endorsed by or affiliated with any exam board.