
Conditionals and Selection
Pupils introduce decision-making into their programmes using 'if-then' and 'if-then-else' statements. They create programmes that respond differently based on user input or events.
About This Topic
Pupils introduce decision-making into their programmes using 'if-then' and 'if-then-else' statements. They create programmes that respond differently based on user input or events.
Key Questions
- How do computers make decisions?
- What is a conditional statement?
- How can we use 'if-then' blocks to create a game?
More in Programming and Coding Fundamentals
Introduction to Block-Based Coding
Pupils are introduced to block-based programming environments to create simple interactive projects. They learn to snap blocks together to form working scripts.
2 methodologies
Variables and Data
Pupils explore the concept of variables as containers for storing data that can change. They use variables to keep score or store user input in their programmes.
2 methodologies
Loops and Iteration
Pupils learn to use loops to repeat actions, making their code more efficient. They experiment with different types of loops, such as 'repeat' and 'forever'.
2 methodologies