Showing Year 8 › Python: Iteration and Boolean Operators: 6 lessons Clear
The whole unit
Lessons in Python: Iteration and Boolean Operators
Pupils learn to use input, variables and if/else, and cast input to an integer so a program can compare and calculate with numbers.
Free sample lessonPupils learn to use if, elif and else with AND, OR and NOT to combine tests so a program chooses one outcome from several.
Pupils learn to write a for loop with range() that repeats a fixed number of times, and increment a counter inside a loop.
Pupils learn to write a while loop that repeats until a condition is met, predict how many times it runs and spot an infinite loop.
Pupils learn to write a test plan with expected results, carry it out systematically and use it to find and fix logic errors.
The Progress Check for 8.1 Python: Iteration and Boolean Operators: 16-question check: 15 multiple-choice questions + one applied question.
Written for the specifications named. Not endorsed by or affiliated with any exam board.