What is the definition of a List?

AP CSP UNit 6 - Lists loops and Traversals

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

36 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
An ordered collection of elements
2.
FLASHCARD QUESTION
Front
Which of the following creates a list in the code? var aList( ), aList{ } , var aList[ ], aList: ;
Back
aList{ }
3.
FLASHCARD QUESTION
Front
Which command adds an element to the end of the list? Options: append.list(element), append.Item(list, element), list.append(), (element)append
Back
append.Item(list, element)
4.
FLASHCARD QUESTION
Front
An Element is an individual value in a list that is assigned a unique index
Back
True
5.
FLASHCARD QUESTION
Front
The length of a list is how many elements it contains. Lists can grow or shrink as elements are added or removed, but the length of the list does not change.
Back
False
6.
FLASHCARD QUESTION
Front
What is the value at index 1? Options: 74, 53, 22, favNums
Back
53
7.
FLASHCARD QUESTION
Front
What code do we use to up the "counter" variable by 1 each time we traverse through a "for" loop? Options: Var i = i + 1, i = 0, i ++, i +
Back
i ++
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
HTML UNIT REVIEW

Flashcard
•
9th - 12th Grade
26 questions
IST IA2 HTML Review 12.05

Flashcard
•
9th - 12th Grade
26 questions
Code.org: Unit 2 Lesson 1-13 Flashcard

Flashcard
•
9th - 12th Grade
36 questions
APCSP Unit 2 Review

Flashcard
•
9th - 12th Grade
30 questions
AP CSA Unit 2 Review

Flashcard
•
10th - 12th Grade
30 questions
ITS HTML CSS 2

Flashcard
•
9th - 12th Grade
26 questions
Code.org: Unit 2 Lesson 1-13 Flashcard

Flashcard
•
9th - 12th Grade
25 questions
Mid-Term Test - HTML

Flashcard
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade