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
15 questions
Multi-step Equations

Flashcard
•
9th Grade
10 questions
Section 1 Vocab

Flashcard
•
8th Grade
15 questions
Solving Multistep Inequalities

Flashcard
•
9th Grade
15 questions
Multistep Equations - Variables on Both Sides

Flashcard
•
9th Grade
15 questions
Adding and Subtracting Polynomials

Flashcard
•
9th Grade
15 questions
A.5(A) Algebra Exam

Flashcard
•
9th Grade
15 questions
CSI Wildlife Re-teach

Flashcard
•
9th Grade
15 questions
Solving Linear Equations with Variables on Both Sides

Flashcard
•
9th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade