
AP CSP Unit 6 and 7 Vocab
Authored by Eric York
Information Technology (IT)
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an element in a list?
A unique identifier for a list
A function to iterate over a list
An individual value in a list that is assigned a unique index
A method to sort a list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an index do in a list?
It sorts the list
It adds elements to the list
It removes elements from the list
It references the elements in a list or string using numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a list?
An ordered collection of elements
A single element with multiple values
An unordered collection of elements
A random collection of elements
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an infinite loop?
A loop that runs only once
A loop that never ends because the ending condition is never true
A loop that runs until a condition is met
A loop that runs a fixed number of times
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is iteration in programming?
A single execution of a program
A way to define a function
A method to stop a loop
A repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does traversal mean in the context of lists?
The process of sorting a list
The process of accessing each item in a list one at a time
The process of deleting items from a list
The process of adding items to a list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an argument in a function?
A loop within a function
A variable in a function definition
A function that returns a value
The value passed to the parameter
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?