Preparatory School · Build progression
Computer Science & Programming · Grade 5
Detailed lessons with teaching guidance, vocabulary, activities, practice and misconception notes, following the concrete-to-abstract progression.
1. Python: selection, iteration and functions
if/elif/else selects; for/while loops repeat; functions package reusable code and may accept parameters and return results. Lists store ordered collections indexed from zero.
Learning intentions: Explain and apply python: selection, iteration and functions; use scientific vocabulary accurately; interpret a model or evidence; communicate a reasoned conclusion.
Key vocabulary
Teacher-guided activity
Build a quiz with question list, loop, score variable and answer-checking function.
Practice and application
1) What does return do? 2) First list index? 3) range(3) values?
Answer guidance and assessment
Sends result to caller; 0; 0,1,2.
Worked example
def average(values): return sum(values)/len(values). Test [2,4,6] 4.0.
Extension challenge
Add input validation and percentage feedback bands.
Likely misconception
A function definition does not execute until called; loops need terminating conditions.
Check your understanding
In Python, an if/elif/else structure is used for…
A 'return' statement in a function…
List indices in Python start at…
2. Computational thinking and data
Computational thinking uses decomposition, pattern recognition, abstraction and algorithm design. Data cleaning checks missing, duplicated, inconsistent or invalid values before analysis.
Learning intentions: Explain and apply computational thinking and data; use scientific vocabulary accurately; interpret a model or evidence; communicate a reasoned conclusion.
Key vocabulary
Teacher-guided activity
Clean a small supplied dataset, document each correction and graph the result.
Practice and application
1) What is abstraction? 2) Why validate data?
Answer guidance and assessment
Focus on relevant details; prevent invalid data from producing misleading conclusions.
Worked example
A temperature dataset containing 'twenty', 20 and 2000 may mix text, valid values and an error requiring investigation.
Extension challenge
Compare conclusions before and after documented cleaning.
Likely misconception
Do not delete unusual values automatically; investigate whether they are errors or real outliers.
Check your understanding
'Abstraction' in computational thinking means…
Data cleaning removes…
Why clean data before analysis?
3. Ethical computing and AI foundations
AI systems learn patterns from data or use programmed rules to produce outputs. Their results can be wrong or biased. Responsible use requires privacy, transparency, human oversight and checking sources.
Learning intentions: Explain and apply ethical computing and ai foundations; use scientific vocabulary accurately; interpret a model or evidence; communicate a reasoned conclusion.
Key vocabulary
Teacher-guided activity
Test a simple image classifier or paper classification activity; record errors and discuss dataset coverage.
Practice and application
1) What is training data? 2) How can bias enter a model?
Answer guidance and assessment
Examples used to fit a model; unbalanced or unrepresentative data and design choices.
Worked example
A classifier trained on unrepresentative images may perform poorly for underrepresented cases.
Extension challenge
Write a short AI-use policy for a school project.
Likely misconception
AI output is not automatically true or neutral.
Check your understanding
AI systems learn patterns from…
AI results can be wrong because of…
Responsible AI use includes…
Grade mini-project
Build a small data-driven Python application using functions, lists, tests and documentation. Collect planning notes, labelled models or designs, calculations/code/data where relevant, test records, final explanation and individual reflection.
Unit 1
Abstraction, decomposition and algorithm efficiency intuition
Unit 2
Transition to text coding (e.g. Python): sequence, selection, iteration
Unit 3