ap csp u5

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

List

1 / 15

flashcard set

Earn XP

Description and Tags

16 Terms

1

List

an ordered collection of elements

New cards
2

Element

an individual value in a list that is assigned a unique index

New cards
3

For Loop

A particular kind of looping construct provided in many languages. Typically, this loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times.

New cards
4

Index

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

New cards
5

Length of list

how many elements it contains. Lists can grow or shrink as elements are added or removed.

New cards
6

Iteration

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

New cards
7

Infinite loop

occurs when the ending condition will never evaluate to true.

New cards
8

Traversal

the process of accessing each item in a list one at a time

New cards
9

Append

add elements to the end of a list

New cards
10

Insert

Inserts an element into a list at the index given

New cards
11

Remove

Removes the element in the given list at the given index

New cards
12

Data abstraction

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

New cards
13

Loops (iteration statements)

change the sequential flow of control by repeating a set of statements zero or more times, until a stopping condition is met

New cards
14

Logic Error

a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.

New cards
15

Simulation

abstractions of more complex objects or phenomena for a specific purpose.

New cards
16

Substring

part of an existing string

New cards

Explore top notes

note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 26 people
... ago
5.0(1)
note Note
studied byStudied by 126825 people
... ago
4.9(606)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 18124 people
... ago
4.7(73)
note Note
studied byStudied by 47 people
... ago
5.0(1)
note Note
studied byStudied by 54 people
... ago
5.0(1)
note Note
studied byStudied by 672 people
... ago
4.2(5)

Explore top flashcards

flashcards Flashcard (23)
studied byStudied by 174 people
... ago
5.0(1)
flashcards Flashcard (28)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (67)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 74 people
... ago
5.0(4)
flashcards Flashcard (24)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (187)
studied byStudied by 18 people
... ago
5.0(2)
flashcards Flashcard (238)
studied byStudied by 2491 people
... ago
5.0(10)
flashcards Flashcard (21)
studied byStudied by 7 people
... ago
5.0(1)
robot