Python Arrays

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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"
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Code.org Unit 6 Assessment Day

Flashcard
•
9th - 12th Grade
10 questions
Python Data Structures

Flashcard
•
10th Grade
10 questions
AP CSP Photo App List Flashcard

Flashcard
•
9th - 12th Grade
3 questions
Python Lists

Flashcard
•
9th - 12th Grade
10 questions
Code.org CSP Unit 5 Lists

Flashcard
•
9th - 12th Grade
12 questions
BJC AP CSP Unit 3 Exam Review (In-Class)

Flashcard
•
9th - 12th Grade
12 questions
Unit 9 2D Lists Practice

Flashcard
•
9th - 12th Grade
9 questions
AP CSP List Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade