
Year 8 Python End of topic assessment
Authored by Becky Webb
Information Technology (IT)
7th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to start a comment in Python?
//
#
**
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? ```python print(3 + 4) ```
34
7
3 + 4
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to get input from the user in Python?
get()
input()
read()
scan()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a variable called 'score' with the value 10 in Python?
int score = 10
score = 10
var score = 10
score: int = 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Python loop?
for i in range(5):
loop i = 1 to 5
repeat 5 times
while (i < 5)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to check if two values are equal in Python?
=
==
!=
equals
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code? ```python print(2 ** 3) ```
6
8
9
5
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?
Similar Resources on Wayground
30 questions
Student Association Test
Quiz
•
7th Grade
25 questions
Quiz Perangkat Keras dan Sistem Operasi
Quiz
•
7th Grade
25 questions
Pertemuan 4
Quiz
•
6th - 8th Grade
25 questions
Danger online
Quiz
•
7th Grade - University
25 questions
Code.org lesson 3 and 4 quiz
Quiz
•
7th Grade - University
25 questions
General Knowledge Quiz
Quiz
•
7th Grade
28 questions
Khám phá Tin học (tổng hợp)
Quiz
•
4th Grade - University
30 questions
quiz 7 testing
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
22 questions
distributive property
Quiz
•
7th Grade
18 questions
Angle Relationships
Quiz
•
7th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
20 questions
How Some Friendships Last — and Others Don’t Video Questions
Quiz
•
7th Grade
18 questions
Handbook Refresher Quiz
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade