Python Arrays

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
O Hawkridge
Used 13+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct way to declare a list (array) in Python?
Hint: look carefully at the type of brackets used.
fruit = ["apples", "oranges", "bananas"]
fruit = "apples", "oranges", "bananas"
fruit = {"apples", "oranges", "bananas"}
fruit = ("apples", "oranges", "bananas")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each item in a list has an "address" or index. What is the first index in a Python list?
1
0
a
A
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name 'Paula' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, lists are often known as...
Arrays
Elements
Indexes
Data
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list, which item has the index number 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which code would I use to add an item to a list?
variable.add()
variable.append()
append.variable()
add.variable()
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
СОЧ-2, 10 класс Информатика 2 вариант

Quiz
•
10th Grade
16 questions
Python массив

Quiz
•
9th Grade
10 questions
ข้อสอบไพทอน

Quiz
•
9th Grade
10 questions
Одновимірні масиви.

Quiz
•
10th Grade
16 questions
Ready Set Python 1 - Lists

Quiz
•
9th Grade
12 questions
For Loops in Python

Quiz
•
9th - 10th Grade
10 questions
List quiz1

Quiz
•
9th - 12th Grade
10 questions
python variables and commands

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade