
AP CSP UNit 6 - Lists loops and Traversals

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

36 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the definition of a List?
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 Wayground
37 questions
Week 14 - Tuples

Flashcard
•
9th - 12th Grade
20 questions
Unit 5 Flashcard - Loops & Lists (code.org)

Flashcard
•
10th - 12th Grade
34 questions
PLTW CSE Essentials - Review for EOC #3

Flashcard
•
9th - 12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
9th - 12th Grade
24 questions
2024 Physical Science Chapter 5

Flashcard
•
9th - 12th Grade
25 questions
Module 7 Basic Communication Review

Flashcard
•
9th - 12th Grade
22 questions
AP CSP Vocab #4

Flashcard
•
9th - 12th Grade
27 questions
List in Python

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade