Unit 6 Vocab Flashcards
List
an ordered collection of elements
Element
an individual value in a list that is assigned a unique index
Index
a common method for referencing the elements in a list or string using numbers
Infinite Loop
occurs when the ending condition will never evaluate to true.
Iteration
a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.
Traversal
the process of accessing each item in a list one at a time
Append
add elements to the end of a list
Data Abstraction
manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.
Loops
change the sequential flow of control by repeating a set of statements zero or more times, until a stopping condition is met
Logic error
a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.
Simulation
abstractions of more complex objects or phenomena for a specific purpose.
Substring
part of an existing string