
Python - Variables
Authored by Hương Thanh
Computers, Fun
6th - 8th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is the following?: X = "295.47"
String
Float
Boolean
integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is the following?: Y = False
Float
String
Integer
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of giving a value to a variable is ...
Allocation
Assignment
Comparison
Debugging
4.
MULTIPLE SELECT QUESTION
30 sec • 5 pts
Choose valid variable names from the list of options given below:
1st_name
Last_name
first Name
f1_name
firstName
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Num = 90
Num = 20
print(Num)
90
4.5
20
1800
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In the following code, what type of variable is being created?
foo = "bar"
Integer
Float
String
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which name would be meaningful in keeping a record of someone's high score?
s
hs
score
highScore
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?