Year 8 Intro to Python Programming Quiz (NCCE Unit)

Quiz
•
Computers
•
7th Grade
•
Hard
+1
Standard Aligned
Miss Mahmood
Used 22+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q1: Read the Python program below:
When this program is executed, what will be displayed on the screen?
Note: There may be errors in the program and/or it may not behave as expected.
A. "I live in", location
B. "I live in", "Leeds"
C. I live in location
D. I live in Leeds
Tags
Sequence
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q2: When this program is executed, what will be displayed on the screen, as a result of executing line 3?
Note: There may be errors in the program and/or it may not behave as expected.
A. I’ve never been to and whatever the user has typed at the keyboard
B. I’ve never been to location
C. I’ve never been to input()
D. It is not possible to know the output without executing the program.
Tags
Sequence
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q3: Read the Python program below:
When this program is executed, what will be displayed on the screen?
Note: There may be errors in the program and/or it may not behave as expected.
The Answer is 3 + 13 * 3
The Answer is 42
The Answer is 48
The Answer is answer
Tags
Sequence
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q4. Read the Python program below:
A. 13 42
B. 42 13
C. a b
D. There is an error in the program because variables a and b are not assigned values in the right order.
Tags
Sequence
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q5. Read the Python program below:
A. 13 42
B. 42 13
C. There is an error in the program because variables a and b are not assigned values in the right order.
D. There is an error in the program because when line 1 is executed, variables a and b have not been assigned values.
Tags
Sequence
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q6. Read the Python program below:
A. 13
B. 42
C. 13 42
D. There is an error in the program because variable a cannot hold two values at the same time.
Tags
Sequence
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q7. Read the Python program below:
A. 13 42
B. 13 13
C. 42 13
D. 42 42
E. There is an error in the program because when line 4 is executed, variable b no longer has a value.
Tags
Sequence
Create a free account and access millions of resources
Similar Resources on Quizizz
44 questions
Python Test 2

Quiz
•
7th - 12th Grade
41 questions
Midterm prep 7th

Quiz
•
7th Grade - University
40 questions
Introduction to Python Programming

Quiz
•
7th Grade
40 questions
Python Unit 01 - Introduction to Python

Quiz
•
7th - 9th Grade
40 questions
Python-Unit-Test

Quiz
•
7th Grade
36 questions
Final Vocabulary Review (7th-8th Grade)

Quiz
•
6th - 8th Grade
40 questions
Ucertify Programming and Logic Review

Quiz
•
7th - 8th Grade
35 questions
MicroBit

Quiz
•
7th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade