
CMU CS Academy Python Variable Names
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Is 2abc valid or invalid?
Back
Invalid
2.
FLASHCARD QUESTION
Front
_abc
Options: Valid, Invalid
Back
Valid
3.
FLASHCARD QUESTION
Front
ab’c
Back
Invalid
4.
FLASHCARD QUESTION
Front
def
Back
Invalid
5.
FLASHCARD QUESTION
Front
Which of the following variable names is valid in Python? 2_apple, 2-apple, two_apple, two-apple
Back
two_apple
6.
FLASHCARD QUESTION
Front
Which of the following variable names is NOT valid in Python? name, width, for, length
Back
for
7.
FLASHCARD QUESTION
Front
pass
Back
Invalid
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?