Year 8 - Computing
Using selection
Introduction to Python programming
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 8 - Computing
Introduction to Python programming
This unit introduces pupils to text-based programming with Python. Pupils start with programs involving input and output, and gradually move on to using arithmetic operations, randomness, selection, and iteration. Pupils will consolidate these skills in a project at the end of the unit.
You will learn to write selection statements that make decisions about which path a program will follow.
Selection is used when there is more than one possible path for a program to follow. Relational operators can be used to compare the values of expressions.
compare two values and produce the result of True or False. Add one real device or system example to prove understanding.
Mistake: The = symbol is used to check if a variable is equal to a value (comparison). Correction: The = symbol is used in Python for assignment. The == operator is used for comparison.
Browse all guides in the Year 8 Computing guide library.