Introduction to Selection: If/Else
Students learn to use basic 'if/else' statements to make decisions in their code, creating branching paths.
Key Questions
- Explain how an 'if/else' statement directs the flow of a program.
- Predict the outcome of a simple program with a single 'if/else' condition.
- Design a program where a character changes appearance based on a simple condition.
National Curriculum Attainment Targets
Suggested Methodologies
Ready to teach this topic?
Generate a complete, classroom-ready active learning mission in seconds.
More in Complex Variables and Game Mechanics
Introduction to Variables: Storing Information
Students learn the fundamental concept of variables as containers for storing different types of data within a program.
2 methodologies
Changing States with Variables
Students investigate how updating variable values can alter the state and behavior of a program or game.
2 methodologies
Sensing User Input with Variables
Students learn to use sensing blocks and variables to capture and respond to user interactions like keyboard presses or mouse clicks.
2 methodologies
Complex Scoring Systems
Students apply their understanding of variables to create sophisticated scoring mechanisms in games, including bonuses and penalties.
2 methodologies
Nested Selection and Multiple Conditions
Students explore how to use nested 'if' statements and combine conditions with 'AND' and 'OR' to create more complex decision-making logic.
2 methodologies