Lesson 6.03 Python Variables

Quiz
•
Education
•
6th - 8th Grade
•
Medium
Amber Price
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Yapay zeka dersi konu tekrarı

Quiz
•
6th - 8th Grade
13 questions
python для новичков

Quiz
•
4th - 11th Grade
10 questions
Jenis Data dalam Segmen Kod

Quiz
•
8th Grade
18 questions
Amari and the Night Brothers 18-24

Quiz
•
4th - 7th Grade
20 questions
coders kingdome python

Quiz
•
6th - 8th Grade
14 questions
Python Δομή Επιλογής

Quiz
•
7th - 12th Grade
15 questions
Pygame Shapes

Quiz
•
8th Grade
20 questions
Kiểm Tra Thường Xuyên Môn ICT

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7

Quiz
•
7th Grade