
Python Basics Review (TSK)
Authored by Kim Hansen
Computers
9th - 12th Grade
Used 165+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python named after?
The television show Monty Python's Flying Circus
A Snake
The name of the guy who created it, "Guido Python"
The snake game, "Python".
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Python command is used to output text to the screen?
input()
print()
int()
display()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comment lines in code?
To compliment your work so you feel better about it.
To explain the code that follows it.
To make the code compile.
To make your code longer so you get more points.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to make a comment line in Python?
&
//
#
'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returns the remainder from division.
boolean
modulus
variables
exponents
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A line of text Python won't try to run as code.
boolean
variable
comment
modulus
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to declare and initialize a variable in Python?
my_variable: 10
my_variable == 10
my_variable = 10
my_variable is 10
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?