NEW
Font size
WorksheetsU6/L1 HS Kira- Conditionals
Total questions: 15
Worksheet time: 8mins
Which term best completes this definition: A __________ __________ is a programming instruction that runs only when a specific condition is true or false.
conditional statement
loop structure
variable assignment
function definition
Which language is described as a high-level programming language known for being simple and easy to read?
C++
Java
Python
Assembly
Conditionals help computers make __________ by checking if something is __________ or __________.
calculations; positive; negative
decisions; true; false
graphics; bright; dark
connections; online; offline
In Python, which set lists the most common conditional keywords in the correct order for initial, secondary, and default checks?
if, else, elif
elif, if, else
if, elif, else
else, if, elif
When writing conditionals in Python, where does the condition go and what punctuation follows the statement?
Inside quotes; a period
Inside parentheses; a colon
Inside brackets; a semicolon
After the print; a comma
Based on the example code "if temperature > 85: print('Go to the pool')", when will the program print the message?
When the temperature equals 85
When the temperature is less than 85
When the temperature is greater than 85
Regardless of temperature
Which real-life scenario best demonstrates using conditional logic to decide what to wear?
Choosing clothes randomly
Checking the weather before picking an outfit
Wearing the same uniform every day
Buying clothes online
Which statement shows conditional thinking about going to the mall?
Go to the mall as soon as it opens
Go to the mall only if your chores are done
Never go to the mall
Go to the mall even when busy
A self-driving car uses conditional logic to decide when to charge. What condition triggers charging according to the notes?
When the speed is high
When the battery is low
When the GPS is off
When the radio is on
Which activity name from the lesson helped students practice using conditionals in fun and interactive ways?
Binary Bingo
Grabbing Crabs
Boolean Baseball
Sorting Socks
Using the logical operator 'and' to combine multiple conditions means what must be true?
At least one condition is true
Both conditions must be true
Exactly one condition is true
Neither condition can be true
In Python, what does the logical operator or mean in a conditional expression? Choose the best definition.
Both conditions must be true for the expression to be true
Only one condition must be true for the expression to be true
The expression is always false regardless of conditions
It checks equality between two values only
Which snippet correctly checks if the variable number is greater than 10 and prints a message?
if number > 10 print('Number is greater than 10')
if number > 10: print('Number is greater than 10')
if number => 10: print('Number is greater than 10')
print('Number is greater than 10') if number > 10:
Why is indentation important when writing conditionals in Python?
Indentation is optional and only used for style
It tells Python which statements belong to the conditional block
It makes the program run faster
It prevents variables from changing values
In an if/elif/else chain, what happens if none of the if or elif conditions are true?
The program stops with an error
The else block runs, handling the case when earlier conditions are false
The first if block still runs by default
Python ignores the whole chain and continues without executing anything
