What will be displayed on the screen when the Python program is executed?
Y8 - SUM2 - Intro to Python (No Iteration)

Quiz
•
Computers
•
8th Grade
•
Hard

O Moore
Used 96+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
19 questions
Unit 2 CSD Vocabulary

Quiz
•
7th - 8th Grade
21 questions
Python 201 Lessons 6-9 Vocab

Quiz
•
6th - 8th Grade
20 questions
Compuscholar Python Chapter 1 Review

Quiz
•
8th Grade
25 questions
Python for Absolute Beginners

Quiz
•
8th - 12th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
25 questions
8th Grade (Programming B)

Quiz
•
8th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade