APCSP Create Task Vocab Flashcards
List
-Ordered sequence of elements
-Allows multiple related elements to be represented using a single variable,
-Can be called list, array, array-list, etc. depending on coding language
Collection Type
-A type the aggregates (a whole formed by combining several (typically disparate) elements) elements in a single structure
-Ex. databases or sets
Data Abstraction
-The reduction of a particular body of data to a simplified representation of the whole
-Makes a program easier to develop or easier to maintain
-Future changes to the size of the list would otherwise require significant modifications to the program code
Procedure
-A block of code that performs specific actions
-Can have a return value (optional)
-A procedure is run when you call the procedure name in your code
Algorithm
-A set of steps or instruction used to solve a problem
-Typically involves one or more procedure call
Sequencing
-Step-by-step process used by an algorithm to solve a problem
Selection
-Typically “if” statement
-Used to determine a different set of steps to execute based on Boolean expression
Iteration
-Iteration (loops) are used to execute code a certain amount of times or until a certain condition is met