Lists and Tuples

Quiz
•
Computers
•
11th Grade
•
Medium

Craig Ellis
Used 487+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data and cannot be changed
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What would this code show on the screen?
7
6
5
4
An error
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What would this code return on the shell?
Nothing
An error
"Woo hoo, you scored!"
"Raheem"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What sort of bracket is for lists?
(
<
}
[
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
16 questions
SLR4 | Data Structures with C# Examples

Quiz
•
11th Grade
15 questions
Data Base

Quiz
•
11th Grade
20 questions
File Handling in Python

Quiz
•
10th - 11th Grade
15 questions
grade XI Recapitulation

Quiz
•
11th - 12th Grade
20 questions
Sorting algorithms (Y11)

Quiz
•
8th Grade - University
21 questions
CSS Basics

Quiz
•
6th - 12th Grade
17 questions
Web Design- HTML Review

Quiz
•
KG - University
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
20 questions
Digital Citizenship

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

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

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

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade