
Understanding Lists in Python

Quiz
•
Information Technology (IT)
•
7th Grade
•
Medium

John Heatley
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to create a list of fruits in Python?
fruits = "apple", "banana", "cherry"
fruits = ["apple", "banana", "cherry"]
fruits = {"apple", "banana", "cherry"}
fruits = ("apple", "banana", "cherry")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of the list `numbers = [10, 20, 30, 40]`?
numbers[1]
numbers[0]
numbers(0)
numbers.first()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? ```python colours = ["red", "blue", "green"] print(colours[2]) ```
"red"
"blue"
"green"
"colours"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following creates an empty list in Python?
empty = ()
empty = []
empty = {}
empty = ""
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the list `animals = ["cat", "dog", "rabbit"]`, what does `animals[1]` return?
"cat"
"dog"
"rabbit"
1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of "banana" in the list `fruits = ["apple", "banana", "cherry"]`?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the last element of the list `numbers = [5, 10, 15, 20]` using a negative index?
numbers[-1]
numbers[-2]
numbers[3]
numbers[4]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Exploring Microbits and LED Displays

Quiz
•
7th Grade
16 questions
Викторина по истории информатики

Quiz
•
6th - 8th Grade
25 questions
Quiz on Variables

Quiz
•
7th Grade
15 questions
Translation Quiz Instructions

Quiz
•
7th Grade
20 questions
365 TCMS Levels 1-3

Quiz
•
7th Grade
25 questions
Python Lesson 2: Data Types Quiz

Quiz
•
7th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety

Quiz
•
7th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade