
10.4 Python Lists
Flashcard
•
Computers
•
7th - 10th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 1+ times
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What output will this code produce? Options: blue, green, red, error
Back
red
2.
FLASHCARD QUESTION
Front
Is this the correct code for a list? register = {"Sam", "Pheobe", "Georgia", "Richard"}
Back
No
3.
FLASHCARD QUESTION
Front
What is the index of “grape” in the list [“apple”, “grape”, “orange”, “watermelon”]?
Back
1
4.
FLASHCARD QUESTION
Front
What is the output of program below?
bicycles = ['trek', 'cannondale', 'redline', 'specialized']
print(bicycles[-1])
Back
specialized
5.
FLASHCARD QUESTION
Front
What letter will be printed on the screen after running this code:
Back
t
6.
FLASHCARD QUESTION
Front
What is the position of the name "Robert" in the following list: 0, 1, 2, 3
Back
2
7.
FLASHCARD QUESTION
Front
In the following code, "city" is an example of a what? Options: List, Loop, Variable, Array
Back
Variable
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?