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
10 questions
Arrays

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

Quiz
•
12th Grade
15 questions
Understanding Lists in Python

Quiz
•
12th Grade
10 questions
Python Basics - A level

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

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

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

Quiz
•
10th Grade
13 questions
Python List Operations

Quiz
•
10th 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
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