ap csp u5

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

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 6 people
27 days ago
5.0(1)
note Note
studied byStudied by 18 people
830 days ago
5.0(1)
note Note
studied byStudied by 6 people
755 days ago
5.0(1)
note Note
studied byStudied by 30 people
911 days ago
4.0(1)
note Note
studied byStudied by 20 people
762 days ago
5.0(1)
note Note
studied byStudied by 5 people
643 days ago
5.0(1)
note Note
studied byStudied by 39 people
848 days ago
5.0(1)
note Note
studied byStudied by 18428 people
655 days ago
4.7(98)

Explore top flashcards

flashcards Flashcard (129)
studied byStudied by 15 people
42 days ago
4.0(2)
flashcards Flashcard (203)
studied byStudied by 3 people
632 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 9 people
259 days ago
4.0(1)
flashcards Flashcard (64)
studied byStudied by 15 people
362 days ago
5.0(1)
flashcards Flashcard (82)
studied byStudied by 4 people
294 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 16 people
651 days ago
5.0(1)
flashcards Flashcard (34)
studied byStudied by 23 people
453 days ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 2 people
14 days ago
5.0(1)
robot