NEW
Font size
WorksheetsPython Conditionals
Total questions: 10
Worksheet time: 8mins
Python if statement is one of the most commonly used conditional statements in programming languages.
True
False
Conditional statements are also known as decision-making statements.
True
False
In Python we can achieve decision making by using the following statement:
if statements
input
value
Decision making is required when we want to execute a code only if a certain condition is satisfied.
True
False
The elif (else if) statement can be included between the if statement and the else statement to add further conditions.
True
False
Similar to the else, the elif statement is optional.
True
False
What conditional comes before ELIF?
Elise
Out
IF
Open
What are 3 examples of Boolean operators?
Not, Add, Again
When, Where, Why
And, Not, Or
If, Else, Enter
What is the abbreviation used when typing casting an integer?
ger
num
typec
int
When creating a print statement, what symbol do you use when you need to add strings to other strings or number variables, etc.?
+
=
//
%
