
Python-Unit-Test
Authored by Mark Imperio
Computers
7th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct definition for a VARIABLE?
a changeable value, such as a score in a computer game.
a value that cannot be changed
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is _____ sensitive which means you must use the same indentation every time.
space
colour
code
word
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in python?
It displays something like a string or integer
It loops the code.
It can input data
It's a variable.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is Python case sensitive when dealing with identifiers?
yes
no
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is programming operator for addition n in python?
x
*
+
|
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is programming operator for division in python?
x
*
/
|
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?