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
9 questions
Sorting Algorithms
Flashcard
•
9th - 12th Grade
13 questions
Experimental Design
Flashcard
•
9th - 12th Grade
14 questions
Review - Operations with Polynomials
Flashcard
•
9th - 12th Grade
10 questions
Graphing (biology)
Flashcard
•
9th - 10th Grade
15 questions
POBF Strictly Business 5.03B
Flashcard
•
9th - 12th Grade
15 questions
Graphing Linear Inequalities and Systems
Flashcard
•
9th - 12th Grade
15 questions
Linear vs. Exponential vs. Quadratic Functions
Flashcard
•
9th - 12th Grade
15 questions
Check For Understanding: Light-Dependent Reactions
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade