
UDA-python-variables
Authored by egezon baruti
Mathematics, Computers
5th - 9th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of Python code is valid?
var a = 12
a = 12
a: 12
12 = a
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the best variable name for Player 1's username?
p1 user name = "taulant"
1_player_username = "taulant"
palyer1_username = "taulant"
p1u = "taulant"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which block of code will produce an error?
time_until_midnight = "5"
print ( "There are " + time_until_Midnight + " hours until midnight" )
input = "5"
print ( "There are " + input+ " hours until midnight" )
time_until_midnight = "5"
print ( "There are " + time_until_midnight + " hours until midnight" )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the output for the following code?
print( len( "95637+12" ))
15
95649
8
95659
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A
B
C
D
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?