Python Variables
Quiz
•
Computers
•
6th Grade - University
•
Practice Problem
•
Hard
STEM Birds
Used 34+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be output of the following code be?
1var = 6
6
1
var
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Can a variable name start with a number?
Yes
No
Maybe
Irrelevant
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the output of the following code be?
a = 5
b = 0
print(a)
5
0,5
0
5
5
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the output of the following code be?
a=b=9
print (a)
print(b)
9
18
9
9
18
9
18
18
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What should we start the variable name with?
Number
Letter or an alphabet
Special Character
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the output of the following code be?
name = Python
print(name)
Python
Error
Python name
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
10 questions
Adobe Photoshop
Quiz
•
University
10 questions
Layers Palette
Quiz
•
7th Grade
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
10 questions
Informatica Exercise
Quiz
•
7th Grade
10 questions
Grade-8
Quiz
•
8th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
Animation 1
Quiz
•
6th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th 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
