
AP CSP Lists & Loops
Authored by Gabrielle Martin
Mathematics
10th Grade
CCSS covered
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary benefit of using a list instead of individual variables?
Lists make the program slower.
Lists increase the number of variables.
Lists simplify the storage and management of multiple values.
Lists are harder to read.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In AP Pseudocode, what index does the first element in a list start at?
0
1
2
-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of LENGTH(["Hi", 2, true])?
1
2
3
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the APPEND(list, item) command do?
Adds item to the beginning
Replaces last item
Adds item to the end
Deletes the first item
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given: list ← [3, 6, 9], what is list[2]?
3
6
9
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you use REMOVE(list, 1)?
Adds to the list
Removes the first element
Replaces an item
Does nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the list names ← ["Ava", "Ben", "Zoe"], what is at index 3?
Ava
Ben
Zoe
Error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?