Senior School · Apply progression
Computer Science & Programming · Grade 10
Detailed lessons with teaching guidance, vocabulary, activities, practice and misconception notes, following the concrete-to-abstract progression.
1. Modular design and algorithm analysis
Design modular programs using functions, classes or structured modules where appropriate; Analyse algorithm correctness, efficiency, edge cases and trade-offs between time and memory.
Teacher-guided activity
Include privacy-by-design, accessibility, source attribution and human review in project acceptance criteria.
Practice and application
1. Write a Python function that counts word frequencies in a sentence. 2. Explain why analysing edge cases matters when judging whether an algorithm is correct.
Answer guidance and assessment
1. def word_freq(text): counts = {} for word in text.lower().split(): counts[word] = counts.get(word, 0) + 1 return counts — normalise punctuation first for clean keys. 2. Edge cases (empty input, single item, maximum size) expose bugs that 'typical' inputs hide; correctness must hold for ALL valid inputs.
Likely misconception
Learners test only 'happy path' inputs — empty strings, zero and boundary values are where most real bugs live.
Check your understanding
A function counts word frequencies — which structure fits best?
Edge cases matter because they…
Modular programming means…
2. Data handling and databases
Use file handling and structured data formats; validate, clean and document datasets; Create relational schemas and use SQL-style SELECT, WHERE, JOIN, INSERT and UPDATE operations in a controlled environment.
Practice and application
1. Describe how you would clean a CSV dataset before analysis. 2. Write the SQL-style query to select names of students in Form 4 who scored above 60.
Answer guidance and assessment
1. Check encoding, handle missing values explicitly, trim whitespace, standardise formats (dates, case), remove or flag duplicates, and document every transformation. 2. SELECT name FROM students WHERE grade = 'Form 4' AND score > 60;
Likely misconception
Deleting 'dirty' rows silently biases results — document and justify every cleaning decision instead.
Check your understanding
To select Form 4 students scoring above 60:
Before analysing a CSV you should…
A foreign key is used to…
3. Security, the web and responsible AI
Explain authentication, authorisation, hashing, encryption, backups, malware, phishing and common security controls; Describe web architecture, APIs, HTTP concepts and responsible handling of user data; Explain supervised and unsupervised machine learning, training/testing data, overfitting, bias and evaluation metrics; Plan a software project from user requirements through design, implementation, testing, documentation and review.
Practice and application
1. Distinguish hashing from encryption. 2. Why must training and test datasets be kept separate during model evaluation? 3. Propose three test cases for a registration form.
Answer guidance and assessment
1. Hashing is one-way — you cannot recover the input; encryption is reversible with the correct key. 2. To estimate performance on unseen data; testing on training data gives an overly optimistic evaluation. 3. Valid input (all fields correct → success); missing required field (→ error message); invalid email format or duplicate username (→ rejection).
Likely misconception
Learners think 'the model learned it, so it must be right' — overfitting means memorising noise; always check performance on unseen data.
Check your understanding
Hashing differs from encryption because hashing is…
Overfitting means a model…
A valid test case for a registration form is…
Grade mini-project
Project: Build a useful application such as a revision tool, data explorer or simple information system. Submit requirements, algorithm design, source code, test evidence, documentation and privacy considerations.
Unit 1
Advanced algorithms, recursion and computational complexity
Unit 2
Software engineering lifecycle, testing, APIs and deployment concepts
Unit 3