Activities
Flashcards
Revise
Blog
Contact Us
Login
Qualifications
6.2 Constructs
Selection (IF) - Quiz
1. What Python construct allows you to execute code based on certain conditions?
While loops
Print statements
If statements
For loops
2. What will happen if an 'if' statement's condition is True?
Nothing will happen
The indented block of code underneath will execute
The program will exit
All code in the program will execute
Log in or sign-up to access the quiz
Login or sign-up using...
Sign-in with Google
Sign-in with Microsoft
Login using a Magic Link
Don't have a login?
You can still revise this topic
Flashcards: Selection (IF)