
Python-Selection Statement
Authored by Magda Khalil
Computers
9th Grade
CCSS covered
Used 52+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Code executed based on a condition being true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want more than one option for your code, what do you use (after if)?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if?
:
;
.
,
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct way to create a variable in Python?
myVariable = 10
my Variable = 10
myVariable is 10
myVariable: 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we comment code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the code do?
nothing
display Hello Bob
display I don't know you
display Hello
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
To add selection in to a program, what would you use?
An 'int' command
A 'while' loop
An 'If' statement
a 'print' command
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?