Unit 5 ✔️ Flashcards

1
Q

List

A

An ordered collection of elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Element

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Index

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Iteration

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

infinite loop

A

occurs when the ending condition will never evaluate to true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Traversal

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Append

A

add elements to the end of a list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Data abstraction

A

manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation. In programming a list is a form of data abstraction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Loops (iteration statements)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Logic Error

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Simulations

A

Are the production of a computer model of something, especially for the purpose of study. They are also abstractions of more complex objects or phenomena for a specific purpose. They can be used to test a hypothesis about a pattern.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Substring

A

Part of an existing string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly