
Python - Variables and Input
Authored by Tezel Asena
Computers
1st - 10th Grade
Used 79+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is an invalid variable
Score
MyScore
First Score
FScore
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
print("confusion")
Confusion
confusion
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
a = 5
b = 6
c = 1
b = 4
print(3 - c)
2
1
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code utput:
Mark1 = 50
Mark2 = 50
Total = Mark1 + Mark2
print(total)
Undefined name error
100
0
5050
Answer explanation
Variable names are case-sensitive.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the chocies, what is the best variable name to use for storing the following information:
China, Russia, USA, France, Canada, Japan, Mongolia, Turkey, Nigeria
Nations
C
NRUFCJMTN
World_Country_Names
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct assignment symbol.
=
==
*
:
Answer explanation
Assignment is when you assign or store data in your variables.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of data is
12.7
integer
float
boolean
string
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?