Python - Variables and Input
Quiz
•
Computers
•
1st - 10th Grade
•
Medium
Tezel Asena
Used 77+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Games Industry Jobs
Quiz
•
8th Grade
12 questions
LEVEL 2. BÀI 4. SÁNG TẠO NỘI DUNG
Quiz
•
6th - 8th Grade
17 questions
Greenfoot
Quiz
•
10th - 12th Grade
20 questions
SOAL PBO KELAS XII RPL
Quiz
•
2nd Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
20 questions
Getting started with Alice
Quiz
•
3rd Grade
15 questions
LEDs on micro:bit
Quiz
•
8th Grade
15 questions
Identify the Line with Syntax Error
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
19 questions
Halloween Trivia
Lesson
•
3rd - 5th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
10 questions
Halloween 2nd Grade
Quiz
•
2nd - 3rd Grade
25 questions
COMPUTER JOBS Exercise #2
Quiz
•
5th Grade
11 questions
Email Etiquette
Quiz
•
7th Grade
16 questions
Internet Safety
Quiz
•
3rd - 5th Grade
