
Python Basics (Easy)
Authored by Braulio Almonte
Computers
9th - 12th Grade
Used 3+ 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 a valid variable name in Python?
2value
my-value
my_value
class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the result of `type(5.0)`?
int
float
str
double
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is immutable?
list
set
dict
tuple
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which collection allows duplicate elements?
set
list
dict
frozenset
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will `len({1: "a", 2: "b", 3: "c"})` return?
2
3
6
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this conditional return? `if "abc": print("True")`
Nothing
Error
False
True
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of `if 0:`?
True
False
Error
0
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?