Term 3 revision

Everything from Term 3 in one place: decomposition, Python decisions and data types, libraries, databases, validation, models, spreadsheets, iterative development and testing.

Term 3 revision: Computing · Age 12 revision

The first idea of each topic

Breaking a problem down
Decomposition: break a big problem into smaller parts, then break those down again.
Decisions in code
Python: if condition: … else: … with a colon and indented lines.
Data types and constants
int: whole numbers. float: decimals. str: text in quotes. bool: True/False.
Combining conditions in code
and: both True. or: at least one True. not: flips.
Using libraries
A library is a collection of ready-made, tested routines.
Planning a database
Table: fields (columns) and records (rows).
Validation and forms
Validation checks entries are sensible when they are typed.
Models and simulations
A model is a simplified version of reality that makes predictions.
What-if spreadsheets
Cells hold inputs (typed values) or formulas (=B2*B3).
Developing in iterations
Waterfall: each stage once; late problems are costly.
Testing a program
A test plan: input, expected result (written first), actual result, pass/fail.

In the full page

Key facts for every lesson, a mind map, formulas, flashcards and an easy, medium and hard quiz. Part of the Family plan.

All lessons in Term 3 · Computing · Age 12