AP CSP Lists & Loops

Quiz
•
Mathematics
•
10th Grade
•
Medium
Standards-aligned
Gabrielle Martin
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Relations and Functions

Quiz
•
7th Grade - University
46 questions
Stem-and-Leaf Plots

Quiz
•
10th Grade
46 questions
Finding the Range, Median and Mode from Line Plot or Stem and Leaf

Quiz
•
10th Grade
46 questions
Represent Numeric Data Graphically Using Stem and Leaf

Quiz
•
10th Grade
46 questions
Stem and Leaf Mean Median Mode and Range

Quiz
•
10th Grade
42 questions
Préparation math Première générale

Quiz
•
9th Grade - Professio...
52 questions
Unit 2 - Systems of Linear Equations Review

Quiz
•
9th - 12th Grade
45 questions
Bridges Exponents and Powers of 10

Quiz
•
5th Grade - University
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