Unit 5 -- Lists, Loops, Traversals

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

9 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 ++
8.
FLASHCARD QUESTION
Front
We use a for loop to traverse a list, visiting each element one at a time.
Back
True
9.
FLASHCARD QUESTION
Front
What will the output be? Options: [1,4,12,8,6,9,4], [2,5,13,9,7,10,5], [4,7,15,11,9,12,7], [4,7,15,11,6,9,4]
Back
[4,7,15,11,6,9,4]
Similar Resources on Wayground
9 questions
CLASA 9 TABLOURI STRING

Flashcard
•
9th - 10th Grade
10 questions
Code.org CSP Unit 5 Lists

Flashcard
•
9th - 12th Grade
12 questions
Code.org - Unit 6 Lists, Loops, and Traversals

Flashcard
•
10th Grade - University
9 questions
Sorting Algorithms

Flashcard
•
9th - 12th Grade
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
11 questions
Intro to HTML and CSS- Lecture 1 Review (HTML)

Flashcard
•
9th - 12th Grade
12 questions
AP CSP Loops Practice

Flashcard
•
9th - 12th Grade
16 questions
AP CSP Unit 5 List Pseudocode Flashcard 2

Flashcard
•
9th - 12th Grade
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade