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
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
8th Grade (Programming B)

Quiz
•
8th - 12th Grade
17 questions
Python KS3

Quiz
•
6th - 9th Grade
16 questions
Computer Concepts Vocabulary

Quiz
•
8th - 12th Grade
18 questions
Y9 L5 Functions

Quiz
•
8th Grade
25 questions
Programming and Logic Lesson 1

Quiz
•
6th - 8th Grade
20 questions
Combined Python Turtle 1&2

Quiz
•
8th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
21 questions
ICT Programming & Logic Lessons 1 & 2

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade