List Review Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Monitha Davuluri
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operations cannot be performed on a list?
Update
Modify
Divide
Sort
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How do you add an element to the end of a list named my_list?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
3
6
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a "for" loop?
To define a function
To iterate over a sequence
To use the range function
To use conditional statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
You would like to add 7 to the end of this list:
nums = [9, 1, 6, 3, 5, 8, 2]
Select ALL commands that will accomplish this.
nums.append(7)
nums.extend([7])
nums.insert(7, 7)
nums.pop(7)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you add the number 5 to the end of a list named `numbers`?
numbers.add(5)
numbers.append(5)
numbers.insert(5)
numbers.extend(5)
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
AP CS ArrayLists

Quiz
•
12th Grade
10 questions
ข้อสอบไพทอน

Quiz
•
9th Grade
12 questions
Unit 7 - ArrayList - Test Review

Quiz
•
9th - 12th Grade
11 questions
Java ArrayLists

Quiz
•
10th Grade
16 questions
Lists

Quiz
•
9th - 12th Grade
15 questions
Data Structures

Quiz
•
12th Grade
13 questions
Python List Operations

Quiz
•
10th Grade
16 questions
Python массив

Quiz
•
9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade