Python Variables
Flashcard
•
Computers
•
9th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the primary purpose of a variable in programming?
Back
To store information for later use
2.
FLASHCARD QUESTION
Front
What are the three components of a variable?
Back
Name, Type, Value
3.
FLASHCARD QUESTION
Front
What does the type 'int' represent in Python?
Back
An integer
4.
FLASHCARD QUESTION
Front
What type of variable is used to store text?
Back
Str
5.
FLASHCARD QUESTION
Front
Which of the following is an example of a string? True, -3.2, 'Hello World', 50
Back
'Hello World'
6.
FLASHCARD QUESTION
Front
Which variable type can have a decimal component? Options: Float, Bool, Str, Int
Back
Float
7.
FLASHCARD QUESTION
Front
How do you create or update a variable in Python?
Back
With a single equal sign
8.
FLASHCARD QUESTION
Front
What signifies a variable's name in an assignment statement? Options: It's followed by parentheses, It's on the left side of the equal sign, It's inside quotes, It's on the right side of the equal sign
Back
It's on the left side of the equal sign
9.
FLASHCARD QUESTION
Front
What is the output of the 'type' function when used on a string variable?
Back
'Str'
Similar Resources on Wayground
10 questions
Body Parts for Kindergarten
Flashcard
•
KG
12 questions
Les sports et les loisirs
Flashcard
•
7th - 9th Grade
8 questions
Punctuation Marks and Their Uses
Flashcard
•
8th Grade
8 questions
English to Arabic Vocabulary
Flashcard
•
9th Grade
4 questions
Oliver Twist
Flashcard
•
8th Grade
10 questions
Twelfth Night
Flashcard
•
10th Grade
10 questions
Misplaced and Dangling Modifiers
Flashcard
•
8th Grade
5 questions
Common Phrases and Idioms
Flashcard
•
KG
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade