Python Variables

Quiz
•
Computers
•
6th Grade - University
•
Hard
STEM Birds
Used 33+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Advanced Python Quiz1

Quiz
•
6th - 8th Grade
10 questions
Quiz Week 6

Quiz
•
10th Grade
8 questions
JS Question Practice

Quiz
•
9th - 12th Grade
10 questions
Python quiz

Quiz
•
10th Grade - Professi...
10 questions
Scratch Quiz

Quiz
•
4th - 6th Grade
8 questions
User Input in Python

Quiz
•
8th Grade
10 questions
Microbit lesson 2

Quiz
•
6th Grade
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade