
Lesson 6.03 Python Variables
Authored by Amber Price
Education
6th - 8th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables are:
containers for storing data value
a number
a message input by the user
a secret code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, there is no command for declaring a variable.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, a variable is declared as soon as you assign a value to it.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements assigns the value 100 to the variable x in Python:
x <= 100
x << 100
x =100
let x = 100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select all that apply. String variables can be declared by using ' ' (single quotes) OR:
" " (double quotes)
; (semicolon)
# (hash symbol)
! (exclamation mark)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable can start with a lowercase letter, an uppercase letter, or:
an _ underscore
& symbol
a number
% a percent symbol
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
15 questions
Resum T.5 Valencià 1r ESO
Quiz
•
8th - 9th Grade
20 questions
«A inaudita guerra da avenida Gago Coutinho»
Quiz
•
8th Grade
10 questions
Planning a Budget
Quiz
•
6th Grade
10 questions
2019新型冠狀病毒
Quiz
•
7th - 9th Grade
18 questions
Lectura: Ríos Profundos
Quiz
•
1st - 12th Grade
10 questions
GETAOP SEM 2
Quiz
•
7th Grade
14 questions
Círculo y circunferencia
Quiz
•
8th Grade
20 questions
REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]
Quiz
•
1st Grade - University
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