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
Introduction to Python Turtle

Quiz
•
7th - 8th Grade
10 questions
Python

Quiz
•
7th Grade
10 questions
10 CS // Pseudocode

Quiz
•
9th - 11th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
10 questions
python grade 7

Quiz
•
7th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade
Discover more resources for Computers
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
21 questions
convert fractions to decimals

Quiz
•
6th Grade
14 questions
Sine/Cosine/Tangent Review

Lesson
•
9th - 12th Grade
6 questions
Trig Ratio Calculator Quiz

Quiz
•
9th - 12th Grade