Data representation and calculations – AQA GCSE Computer Science lesson (8525)
Pupils learn to convert between number bases, add binary numbers, apply shifts and calculate image, sound and Huffman sizes without a calculator.
Lesson 3 of 7 in unit 11.4 Revision, taught in Year 11, Spring 2. It answers one big question: How do I get every data calculation right?
By the end, pupils can convert between number bases, add binary numbers, apply shifts and calculate image, sound and Huffman sizes without a calculator.
- What happens
- Bell Task: four quick conversions. Reteach 1: adding three binary numbers and stating a shift's effect. Reteach 2: the file size formulae and bits to MB, with working shown. Build: calculations on the festival app's posters and recordings and a Huffman comparison with 7-bit ASCII. Challenge: A festival logo uses 20 different colours. State the minimum colour depth needed, and explain why 4 bits is not enough (3 marks); The app's background colour is stored as three bytes: 01011010, 11110000 and 00111100. Convert each byte into hexadecimal (3 marks); A 30-second recording has a sampling rate of 40,000 Hz and a sample resolution of 16 bits. The app only sends recordings under 2 MB. Calculate the recording's file size in MB, and explain one change to the sample resolution that would let the app send it (4 marks).
- Main task
- Add together the binary numbers 01010011, 00100110 and 00011001. Give your answer in binary and show your working (2 marks). The app applies a binary shift of two places to the right to 00110100. State the 8-bit result and the arithmetic effect of the shift (2 marks). A poster is 1,000 pixels wide and 600 pixels high, with a colour depth of 16 bits. Calculate its file size in megabytes (MB) (3 marks). A recording lasts 25 seconds, with a sampling rate of 40,000 Hz and a sample resolution of 8 bits. Calculate its file size in kilobytes (kB) (3 marks). The text REREADER is stored with these Huffman codes: R = 0, E = 10, A = 110, D = 111. Compare the number of bits needed to store REREADER with these codes with the number needed in 7-bit ASCII (3 marks).
Also sold in the Revision unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
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 (AQA)
See allPupils learn to trace, explain and compare linear and binary search and bubble and merge sort, and explain efficiency.
Pupils learn to write code on paper for long code questions, earning design and program marks, and use subroutines, validation and records.
Pupils learn to explain the CPU's components and the Fetch-Execute cycle, memory and storage, software, languages and translators, and Boolean logic.
Written for the specifications named. Not endorsed by or affiliated with any exam board.