Characters, Images, Sound, Strings and Data Structures – AQA GCSE Computer Science lessons (8525)
11 AQA 8525 lessons on ASCII and Unicode, images, sound and file sizes, with strings, arrays, 2D arrays and records.
Pupils learn how characters, images and sound become binary: 7-bit ASCII and Unicode and how character codes run in sequence; bitmaps made of pixels, image size and colour depth, converting between a bitmap and binary and calculating bitmap file sizes; and sound sampled by its sampling rate and sample resolution, with sound file sizes calculated. On the programming track they handle strings (length, position, substring, concatenation and character codes) and learn data structures: one and two-dimensional arrays and records. Everything is set in one music festival's app.
Unit 10.4 is taught in Year 10, Spring 2, and answers one big question: How does a computer store text, pictures and sound? Every lesson uses the same real-world context (one summer music festival's app runs through the unit: act names from around the world, fans' wristband codes, festival posters, live-set recordings, the stage line-ups and the ticket records), and pupils make wristband-code and line-up programs, a ticket record, and the app's file-size estimates. The careers link is an app developer: app developers store text, images and sound efficiently and organise data in arrays and records.
What happens in each lesson:
Lesson 1, Character encoding: ASCII and Unicode: How does a computer store the letters we type? Main task: explain one advantage of using Unicode instead of ASCII for the names of the acts. (2 marks) In ASCII, the character code for 'C' is 67. State the character codes for 'A' and for 'F'. (2 marks) State how many different characters 7-bit ASCII can represent. (1 mark)
Lesson 2, String handling: How can a program take apart and join up text? Main task: write a program that inputs a fan's first name and surname and outputs a wristband code made of the first three letters of the surname, the length of the first name and the character code of the first name's first letter. For example, Maya Osei gets Ose477. (6 marks)
Lesson 3, Bitmap images: pixels, image size and colour depth: How does a computer store a picture as binary? Main task: explain how the black and white tent icon is represented as a bitmap. (3 marks) Write the bit pattern for Row 5 of the tent icon. (1 mark) Shade the grid to show the image for the four rows of bits. (2 marks)
Lesson 4, Bitmaps and binary, and image file sizes: How big will an image file be before we save it? Main task: calculate the minimum file size in bytes of the thumbnail, which is 200 × 100 pixels with a colour depth of 8 bits. Show your working. (3 marks) Explain the effect on the file size of increasing the colour depth. (2 marks)
Lesson 5, Arrays: How can one name hold a whole list of values? Main task: write a program that stores the five acts on the main stage in an array, outputs the act at index 2, changes the last act to Red Kites, then uses a loop to output every act. Use the acts Echo Vale, The Lumens, Kai Rivers, Sola and Night Owls. (5 marks)
Lesson 6, Sound: sampling rate and sample resolution: How can a computer record a sound wave as numbers? Main task: explain how the analogue sound of the live set is converted into digital form. (3 marks) State what is meant by the sampling rate. (1 mark) State what is meant by the sample resolution. (1 mark)
Lesson 7, Sound file sizes: How much storage does a recorded sound need? Main task: calculate its file size in megabytes: a recording of a live set has a duration of 50 seconds, a sampling rate of 40 000 hertz (Hz) and a sample resolution of 16 bits. Show your working. (3 marks)
Lesson 8, Two-dimensional arrays: How can a program store a table of data? Main task: write a program that stores the line-ups in a 2D array (stage 0: Sola, Kai, Mira, Juno; stage 1: Vex, Ode, Tide, Ash; stage 2: Pip, Rue, Zed, Lark), outputs the array element at stage 1, slot 2, then uses nested loops to output every act: the festival's three stages each have four time slots. (6 marks)
Lesson 9, Records: How can one variable hold different kinds of data about one thing? Main task: write a pseudo-code record definition for a festival ticket with the fields ticketID, name, days and paid. (3 marks) Write a pseudo-code statement that creates a ticket called t1 for Ravi Shah, ticket ID 205, for 2 days, not yet paid. Then write a statement that updates its paid field to True. (2 marks)
Lesson 10, File size calculations, mixed: How do we get every file size calculation right? Main task: calculate the total file size in megabytes (MB): at the end of one day the app uploads 40 photos, each 1000 × 500 pixels with a colour depth of 8 bits, and a 25-second recording with a sampling rate of 40 000 Hz and a sample resolution of 16 bits. Show your working. (5 marks)
Lesson 11, Progress Check: 26 multiple-choice questions (set as homework or at the start of the next lesson) + a 40-minute written test of 40 marks: 22 marks in Paper 2 style (character codes, bitmaps, file sizes, sound) and 18 in Paper 1 style (string handling, arrays and a record)
- Misconceptions it tackles include
- “Each character's code has to be looked up separately”; “The first character of a string is at position 1”; “A pixel is a square on the screen”. Each is planned into a hinge question before the main task or an exit question, so you find out who still holds it.
AQA GCSE Computer Science (8525) specification coverage: 3.3.5, character encoding: 7-bit ASCII and Unicode; 3.3.6, representing images: pixels, image size, colour depth, bitmap file sizes, bitmaps and binary; 3.3.7, representing sound: sampling, sampling rate, sample resolution, file sizes; 3.2.6, data structures: one and two-dimensional arrays and records; 3.2.8, string handling: length, position, substring, concatenation, character codes, conversions.
It builds on 10.3 Binary, Logic and Iteration: binary, units and loops. It leads on to 10.5 Compression, Networks and Searching (compression, searching arrays), 11.2 (database records and fields).
- Adapting it for your school
- Lesson 10 (File size calculations, mixed) is the flex lesson. No calculators: every calculation uses numbers that work by hand. Lessons 2, 5, 8 and 9 need computers; each has an unplugged paper version.
Choose your school's Paper 1 language when you buy: C#, Python or VB.NET. You get that language's files: every program, code example, worked answer and programming task is written in it, and lessons with no code are the same in all three. Algorithms are also shown in AQA pseudo-code, as in the exam.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
What's included
- 11 lesson slide decks (PowerPoint)
- 11 lesson plans (Word)
- 11 worksheets, plus 10 support versions with scaffolds (Word)
- 1 exam-style paper with mark scheme (Word)
- Medium term plan with intent, key words, misconceptions and adaptive teaching notes (Word)
- Progress Check lesson to assess the unit
- File size calculations mixed - Quiz Quiz Trade Cards
- Department licence: every teacher in your department can use and adapt it
- Your choice of Paper 1 language: C#, Python or VB.NET
In this bundle
Worth £44 bought separately at £4 a lesson. The bundle saves you 11%.
More for GCSE Computer Science (AQA)
See all13 AQA 8525 lessons on algorithms, the CPU, fetch-execute and embedded systems, with first programs in C#, Python or VB.NET.
Free sample lesson12 AQA 8525 lessons on main memory, RAM, ROM and secondary storage, with IF, ELSE IF, nested selection and Boolean conditions.
Free sample lesson13 AQA 8525 lessons on bits and bytes, binary, hex, shifts and logic gates, with FOR, WHILE and REPEAT…UNTIL loops.
Free sample lessonWritten for the specifications named. Not endorsed by or affiliated with any exam board.