
CW-GR12-if conditions
Authored by Ola Ismail
Computers
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What part of an if statement should be indented?
All of it
The statements within it
the first line
the lines within the brackets
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
condition
True
Program has a syntax error.
3 > 2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
True
False
condition1
condition2
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
more than 7
more than 23
spam
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the = = symbol mean in Python?
Equal to or shows equality
Not Equal
Code that will be skipped
End of clause
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to test more than one condition (chained condition), what do you use after if statement?
elif
else
ifif
else if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following if statements will not execute successfully:
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?