Menu

Selection - Match-up

Match-up definitions and answers with key terms and examples. Press submit to check your answers.

Selection
if statement
Condition
else
elif
Comparison operators
Indentation


Answers
spaces at the start of a line that show which block it belongs to.
symbols such as ==, !=, >, <, >= and <= that check the relationship between two values.
runs a block of code only when its test is true.
runs its block when none of the earlier tests were true and needs no test itself.
checks a further test when the earlier ones were not met, and only one block runs.
the expression checked to decide whether a block of code runs.
the program decides which blocks of code to run based on tests.
Log in or sign-up to access the match-up activity



Don't have a login?

You can still revise this topic