Chapter 5 Exam Studyguide: Lists, Loops, and Traversals

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key concepts from Chapter 5 on Lists, Loops, and Traversals.

Last updated 4:55 AM on 12/10/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

List

An ordered collection of elements.

2
New cards

Data abstraction

Manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.

3
New cards

Element

An individual value in a list that is assigned a unique index.

4
New cards

Index

A common method for referencing the elements in a list or string using numbers.

5
New cards

Infinite loop

Occurs when the ending condition will never evaluate to true.

6
New cards

Iteration

A repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.

7
New cards

Traversal

The process of accessing each item in a list one at a time.

8
New cards

While Loop

A loop that executes a segment of code while a specified condition remains true.

9
New cards

For Loop

A loop that executes a segment of code a specified number of times, controlled by a counter.

10
New cards

Appending

Adding an item to the end of a list.

11
New cards

Inserting

Adding an item at a specific index in a list.

12
New cards

Removing

Deleting an item from a list at a specified index.