
Year 8 Python assessment
Authored by Jo Hale
Computers
7th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'print' do in Python?
Displays output to the console
Stores data in a variable
Creates a new function
Defines a loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in Python?
To import libraries
To define functions
To create loops
To store data values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for comments in Python?
#
/
//
/*
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the output of the following code: print(2 + 3 * 4)?(think BIMAS)
14
20
26
14
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Python data type?
String
Text
image
Numeric
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop used for
To repeat instructions until an answer is reached
To stop an action from taking place
It is a variable name
To help the person make good code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output: print('Hello' + ' World')?
'Hello World'
HelloWorld
Hello, World
Hello World
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?