
Python Basics
Authored by Jorge Nava Gutierrez
Computers, Other
6th - 8th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a variable?
var = "string"
def var == "string"
var: 123
var = Hello World
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the word (command) used to display numbers and text on the screen?
integer
output
function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used in python to assign values to a variable?
:
*
=
==
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the end after if statements?
if
elif
else
def
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A line of text that Python won't try to run as code
Integer
Comment
Strings
Input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correctly-formatted comment?
//Comment
"Comment"
#comment
(comment)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A data type than can have one of two values: True or False
Conditional
Comparator
Function
Boolean
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?