
Programming Basics & Variables
Authored by Tarra Jackson
Information Technology (IT)
11th Grade
Used 1+ 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 • 20 pts
Which of the following is NOT a valid variable name?
user_name
2nd_place
favoriteColor
total_amount
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which data type would be used for a person’s full name?
Integer
Boolean
String
Float
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What does the following code output? python CopyEdit x = 10 y = 5.5 print(x + y)
105.5
15.5
"10 + 5.5"
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which symbol is used to assign a value to a variable?
a) :
b) ==
c) =
d) =>
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will happen if you try to store the number 100 in a variable meant for a boolean?
The program will crash.
It will store the number 100.
It will convert 100 into True.
Nothing will happen.
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?