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
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
15 questions
HTML 2: Lists

Quiz
•
8th - 10th Grade
18 questions
Search & Sort Algorithms

Quiz
•
7th - 11th Grade
20 questions
Loops, Lists, Traversals test

Quiz
•
11th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)

Quiz
•
10th - 12th Grade
20 questions
Java 2 Quiz 9

Quiz
•
10th - 12th Grade
12 questions
ICT

Quiz
•
9th Grade
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade