
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?
Similar Resources on Wayground
18 questions
Pembangunan Atur Cara
Quiz
•
3rd Grade
20 questions
Software
Quiz
•
10th Grade
11 questions
G5_Flowcharts_W4
Quiz
•
5th Grade
12 questions
prep1-revision
Quiz
•
7th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
20 questions
Old Year 2 Computer reviewer 2021
Quiz
•
2nd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade