Python Lists

Quiz
•
Computers
•
8th - 12th Grade
•
Medium
Nargas Khan
Used 125+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data Structures are used to group multiple items?
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many values can a variable store?
4
11
456743
1
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Why would you use lists in a program instead of variables?
Evaluate responses using AI:
OFF
Answer explanation
You would use lists in a program instead of a variable when you have more than one value to store and it can be grouped together. It is also more efficient to use a list. It is much better to group the values together in a single variable (list). That is what data structure is - an organised collection of Items.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which brackets are used to create Lists?
()
{}
[]
Answer explanation
Lists are created using square brackets and have commas separating the different data values.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Spot the error in this program:
friends = Alice", "Bob","Liz"]
friends =
"Bob",
"Liz"]
Alice"
Answer explanation
friends = ["Alice", "Bob","Liz"]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does .append () do?
To add a new item to a specified position in the list.
To delete the item specified.
To find the index of a specific item.
To add a new item to the end of the list.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does .insert() do?
To find the index of a specific item.
To delete the item specified.
To add a new item to a specified position in the list.
To find the index of a specific item.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
8525 AQA GCSE 3.2.6 Data Structures

Quiz
•
10th Grade
10 questions
AP Computer Science Principles - Unit 5: Lists, Loops

Quiz
•
9th - 12th Grade
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
12 questions
R081 Pre-production documents

Quiz
•
11th Grade - Professi...
15 questions
IGCSE ICT quiz

Quiz
•
9th - 10th Grade
10 questions
storage devices

Quiz
•
7th - 10th Grade
20 questions
Ch 10_Working with Outsiders

Quiz
•
9th - 12th Grade
18 questions
NEW_SMP_Mls8_Quiz

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade