
Y8 - SUM2 - Intro to Python (No Iteration)
Authored by O Moore
Computers
8th Grade
Used 100+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed on the screen when the Python program is executed?
"I live in", location
"I live in", "Manchester"
I live in location
I live in Manchester
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output of this Python program be if the user types their answer as London?
I have never been to London
I’ve never been to location
I’ve never been to input()
It is not possible to know the output without executing the program.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the Python program?
The answer is 42
The answer is 48
The answer is 39
The answer is 16
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the Python program is executed, what will be displayed on the screen?
13 42
42 13
a b
There is an error in the program because variables a and b are not assigned values in the right order.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When this program is executed, what will be displayed on the screen?
13
42
13 42
There is an error in the program because variable a cannot hold two values at the same time.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When this program is executed, what will be displayed on the screen?
13 42
13 13
42 13
42 42
There is an error in the program because when line 4 is executed, variable b no longer has a value.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When this program is executed, what will be displayed on the screen?
13 1
13 14
14 13
14 14
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?