Middle School · Explain progression
Computer Science & Programming · Grade 8
Detailed lessons with teaching guidance, vocabulary, activities, practice and misconception notes, following the concrete-to-abstract progression.
1. Structured programming
Use nested conditionals, loops, functions, lists and dictionaries to build a multi-feature program; Apply linear search and simple sorting conceptually; compare algorithm steps and efficiency informally.
Teacher-guided activity
AI is not an authority. Require source verification, disclosure of AI assistance and protection of personal information.
Practice and application
1. Write a function that counts how many values in a list are above the class average. 2. When should you use a dictionary instead of a list?
Answer guidance and assessment
1. Compute mean first, then loop through the list and increment a counter when value > mean; test empty and repeated-value lists. 2. When you need to look up values by a named key rather than a numeric index.
Likely misconception
Off-by-one errors are common — remember Python lists start at index 0 and range stops before the end value.
Check your understanding
Python lists are indexed starting at…
A dictionary is better than a list when you need…
range(5) produces…
2. Data handling and networks
Read and write structured text data such as CSV; clean, validate and visualise a small dataset; Explain client-server architecture, DNS, IP addresses, encryption and multi-factor authentication at an introductory level.
Practice and application
1. Why clean a dataset before analysis? 2. What does encryption protect when data travels over a network?
Answer guidance and assessment
1. To remove missing, duplicate or invalid values that would produce misleading conclusions. 2. It scrambles data so only authorised parties can read it, even if intercepted.
Likely misconception
A CSV file is just text — opening it in the wrong program or with the wrong delimiter can silently corrupt the data.
Check your understanding
Cleaning data removes…
Encryption protects data by…
DNS is best described as…
3. Projects and responsible AI
Build a small project such as a revision quiz, data dashboard or sensor logger with documentation and tests; Explain how machine-learning systems learn patterns from data; discuss bias, privacy, hallucinations and human oversight.
Practice and application
1. Describe two reasons a training dataset may produce unfair predictions. 2. Design a test plan for a quiz app including edge cases.
Answer guidance and assessment
1. Unrepresentative samples and historical discrimination encoded in labels/features can create unequal outcomes. 2. Test zero questions, one question, invalid input, boundary scores, repeated attempts and correct/incorrect answers.
Likely misconception
AI outputs can be confidently wrong ('hallucinations') — always verify against reliable sources.
Check your understanding
AI 'hallucination' means…
A biased training dataset can cause…
Responsible AI use requires…
Grade mini-project
Build a documented program that solves a real user problem. Include pseudocode, test cases, debugging notes and a short reflection on privacy or reliability.
Unit 1
Modular programming, files, exceptions and structured data
Unit 2
Data modelling, SQL foundations, APIs and software design
Unit 3