
PYTHON -- variables
Flashcard
•
Computers, Fun
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In Python, can string variables be declared using both single and double quotes?
Back
Yes, they are interchangeable
2.
FLASHCARD QUESTION
Front
In Python, are variable names case-sensitive?
Back
Yes, variable names are case-sensitive
3.
FLASHCARD QUESTION
Front
In the following code, what value will be assigned to the variable "cat"?
mouse + cat + dog = "small" + "medium" + "large"
Back
Nothing, that operation will throw an error
4.
FLASHCARD QUESTION
Front
What will be printed by the following code?
Num = 90 Num = 20 print(Num)
Back
20
5.
FLASHCARD QUESTION
Front
Variables are used _________.
Back
to store data
6.
FLASHCARD QUESTION
Front
What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)
Back
Hello World!I can code In Python
7.
FLASHCARD QUESTION
Front
Why is the variable name '1st_Name' invalid for Python?
Back
The variable name starts with a number.
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
10 questions
To Kill a Mockingbird Vocabulary Review
Flashcard
•
8th - 12th Grade
3 questions
Basic Questions
Flashcard
•
KG
15 questions
CVC Words
Flashcard
•
KG
10 questions
Disney Trivia
Flashcard
•
KG - 12th Grade
10 questions
Roundtable 2025
Flashcard
•
KG - University
10 questions
RoyalMo Ushering and Events Meeting Flashcard
Flashcard
•
KG - University
15 questions
Arrays C++- CS 172 Exercise #1
Flashcard
•
8th - 12th Grade
10 questions
Turgen Waterfalls and Lake Issyk
Flashcard
•
KG - 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