Data Structures are used to group multiple items?
Python Lists

Quiz
•
Computers
•
8th - 12th Grade
•
Medium
Nargas Khan
Used 123+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
15 questions
Searches

Quiz
•
9th Grade
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
19 questions
AQA GCSE Computer Science - 3.1.3 Binary Search

Quiz
•
8th - 10th Grade
18 questions
Loops, Lists, Traversals test

Quiz
•
11th Grade
13 questions
Review

Quiz
•
12th Grade
16 questions
8525 AQA GCSE Computer Science 3.7.1 Relational databases

Quiz
•
7th - 12th Grade
10 questions
Python - List

Quiz
•
9th - 12th Grade
20 questions
Database

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade