Unit bundle · Written for AQA GCSE Computer Science (8525)

Compression, Networks and Searching – AQA GCSE Computer Science lessons (8525)

11 AQA 8525 lessons on RLE and Huffman coding, networks, trace tables, and linear and binary search in code.

Also in a bundle Year 10 GCSE Computer Science AQA 8525 – a full year of AQA 8525 lessons 70 lessons for £169 · save 39% on buying separately

Pupils learn why data is compressed and two ways AQA names: run length encoding, written as frequency/data pairs, and Huffman coding, read from a Huffman tree and compared in bits with uncompressed 7-bit ASCII. They learn what a network is and its advantages and disadvantages, the personal, local and wide area network, and wired and wireless connections. On the algorithms track they use trace tables to work out what an algorithm does, then learn linear and binary search, compare them and explain why one algorithm can be more efficient than another, before coding a search. Set in Riverbank Libraries.

Unit 10.5 is taught in Year 10, Summer 1, and answers one big question: How do computers make data smaller, share it and find it? Every lesson uses the same real-world context (riverbank Libraries, a fictional library service with three branches, runs through the unit: its posters and e-books, the branch networks, the catalogue that is searched and the returns trolley), and pupils make compressed catalogue updates, a network plan for the three branches, and tested search programs. The careers link is a network engineer: network engineers design how a library's branches connect and share data.

What happens in each lesson:

Lesson 1, Data compression and run length encoding: Why make files smaller, and how can repeats help? Main task: explain one reason why Riverbank Libraries compresses the e-books it sends to its branches. (2 marks) The first row of the poster icon is 1111000001100000. Write the run length encoding (RLE) frequency/data pairs for this row. (2 marks) Explain why RLE would not reduce the size of the text LIBRARY. (2 marks)

Lesson 2, Trace tables and the purpose of an algorithm: How can we work out what an algorithm does without running it? Main task: complete the trace table for the algorithm when the user enters 4072. (4 marks) State the purpose of the algorithm. (1 mark)

Lesson 3, Huffman coding: How can common letters take up fewer bits? Main task: explain how Huffman coding reduces the number of bits needed to store a piece of text. (2 marks) Using the Huffman tree, state the Huffman codes for the characters E, R and D. (3 marks) The bit pattern 110000110 was made with the same tree. State the text it represents. (2 marks)

Lesson 4, Huffman coding: counting the bits: How many bits does Huffman coding save? Main task: calculate the number of bits needed to store the message using the Huffman codes in the table. Show your working. (3 marks) Calculate the number of bits needed to store the message in 7-bit ASCII, and the number of bits saved by using Huffman coding. Show your working. (2 marks)

Lesson 5, Linear search: How does a computer find an item in a jumbled list? Main task: explain how a linear search would find a title in the returns trolley list. (3 marks) Write a program that inputs a book title and uses a linear search of the list books to output True if the title is on the trolley and False if it is not. You must not use a built-in search function. (6 marks)

Lesson 6, Networks: PAN, LAN and WAN: What makes a network personal, local or wide? Main task: describe two differences between a PAN and a WAN. (2 marks) Explain one advantage and one disadvantage to Riverbank Libraries of connecting its computers in a network. (4 marks)

Lesson 7, Binary search: How can a sorted list be searched in far fewer steps? Main task: explain how a binary search finds an item in a sorted list. (4 marks) Complete the trace table when the user enters Orwell. (4 marks)

Lesson 8, Wired and wireless networks: Why do some devices use cables when others use radio? Main task: explain why fibre optic cable would be chosen instead of copper cable for the 6 km link between the two branches. (2 marks) Explain two advantages to the library of giving visitors a wireless network instead of a wired network. (4 marks)

Lesson 9, Comparing algorithms: efficiency: Which algorithm should we choose, and why? Main task: compare linear search and binary search, giving one advantage and one disadvantage of each. (4 marks) Explain why a binary search would usually find an author in the catalogue more efficiently than a linear search. (2 marks)

Lesson 10, Coding a search: How do we write a search in code for full marks? Main task: write a program that: inputs a member number; uses iteration to carry out a linear search of members, stopping when the number is found; outputs Member if it is found, or Not a member if it is not: Riverbank Libraries keeps its member numbers in the array members. You should use meaningful identifiers and indentation. (7 marks)

Lesson 11, Progress Check: 29 multiple-choice questions (set as homework or at the start of the next lesson) + a 40-minute written test of 40 marks: 20 marks in Paper 2 style (RLE, Huffman coding, networks) and 20 in Paper 1 style (a trace table, a binary search and a coded linear search)

Misconceptions it tackles include
“Compressing a file makes it look smaller on screen or play for less time”; “A trace table records only the final values”; “In Huffman coding every character gets a code of the same length”. 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.8, data compression: why compress; Huffman coding and trees; bits in Huffman and ASCII; run length encoding; 3.5, fundamentals of computer networks: what a network is; PAN, LAN, WAN; wired and wireless; 3.1.1, representing algorithms: trace tables and the purpose of algorithms; 3.1.2, efficiency of algorithms; 3.1.3, searching algorithms: linear and binary search.

It builds on 10.3 and 10.4: binary, units, file sizes, character codes, arrays and loops. It leads on to 10.6 Protocols, Network Security and Sorting (protocols and network security, sorting), and the Paper 1 code questions throughout Year 11.

Adapting it for your school
Lesson 10 (Coding a search) is the flex lesson. Lessons 5 and 10 need computers; the rest are paper lessons. Swap Riverbank Libraries for your school library: the searches and the network keep the same structure.

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
  • Coding a search - 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 all

Written for the specifications named. Not endorsed by or affiliated with any exam board.