Python Arrays
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these is a list? Options: fruit = ["apples", "oranges", "bananas"] , fruit = "apples", "oranges", "bananas" , fruit = {"apples", "oranges", "bananas"} , fruit = ("apples", "oranges", "bananas")
Back
fruit = ["apples", "oranges", "bananas"]
2.
FLASHCARD QUESTION
Front
Each item in a list has an "address" or index. The first index in a Python list is what?
Back
0
3.
FLASHCARD QUESTION
Front
What is the position of the name 'Paula' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]
Back
2
4.
FLASHCARD QUESTION
Front
What output will this code produce? Options: ['France', 'Wales', 'England'], France, France Wales England, France, France, Wales, England, ['France', 'Wales', 'England'], Wales
Back
['France', 'Wales', 'England']
Wales
5.
FLASHCARD QUESTION
Front
In a list called "players", if you wanted to add a player called "Bob" to the list, which of the following examples of code would be correct? Options: players.add("Bob"), player.append("Bob"), players.append("Bob"), players.addend("Bob")
Back
players.append("Bob")
6.
FLASHCARD QUESTION
Front
In programming, lists are often known as...
Back
Arrays
7.
FLASHCARD QUESTION
Front
In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
Back
"John"
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
14 questions
Exponential Growth and Decay Flashcard
Flashcard
•
9th - 12th Grade
15 questions
NC Math 1 EOC Review #2
Flashcard
•
9th - 12th Grade
15 questions
Solving Inequalities
Flashcard
•
9th - 12th Grade
15 questions
GCF of Monomials
Flashcard
•
9th - 12th Grade
15 questions
Solving Square Root Equations
Flashcard
•
10th - 12th Grade
15 questions
Review of Basic Algebra Skills
Flashcard
•
11th - 12th Grade
15 questions
7.9 HW Solving Two-Step Inequalities
Flashcard
•
7th - 12th Grade
12 questions
Solving Systems of Equations
Flashcard
•
9th - 12th Grade
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