Form 3: Introduction to Conditionals (If-Then)
Discover how conditional if-then statements allow instructions to make simple decisions based on specific rules.
Questions
-
MultiChoice
What is a conditional statement in programming?
-
MultiChoice
In 'IF it is raining, THEN take an umbrella', what is the condition?
-
MultiChoice
What happens in an IF statement if the condition is FALSE?
-
WordsBox
A ____ statement decides whether to execute code based on a ____
-
MultiChoice
Complete the logic: IF student score >= 50, THEN:
-
MultiChoice
Which word starts a simple conditional decision in code?
-
MultiChoice
In 'IF battery is low, THEN plug in charger', what is the action?
-
MultiChoice
What is the boolean result of a condition check?
-
WordsBox
IF the light is green, ____ the car can ____ forward.
-
MultiChoice
Which of these is a conditional decision?
-
MultiChoice
When is the action inside an IF block executed?
-
MultiChoice
Which real-world example uses a conditional rule?