
Python Selection
Authored by O Hawkridge
Computers
9th - 10th Grade
Used 19+ 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 is the name of the variable in this program?
colour
input
" "
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print?
access denied
access granted
error
password
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user enters 60, what is the output?
You are old!
You are middle-aged!
You are young!
Error message
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does “==” represent in Python programming?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct Python code.
if age is less than 20 then
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol must you place at the end of an if statement?
)
:
;
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does != mean?
not
swap value
not equal
equal
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?