Menu

Selection - Quiz

1. What is the name for the way a program decides which blocks of code to run based on conditions?

Selection
Debugging
Sequencing
Iteration

2. What is meant by 'elif' in Python?

A keyword that runs its code when the if condition has not been met
A symbol that compares two values and checks whether they are equal
A keyword that checks another condition when earlier ones are not met
A keyword that repeats its indented code while a condition stays true

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic