Vocab Flashcards
Algorithm
A sequence of steps that are followed to complete a certain task
Decomposition
The process of breaking down a problem into smaller sub-problems
Abstraction
Process of removing unnecessary detail from a problem
Integer
A data type that is a whole number
Real
A data type which is a number that can have a decimal
Boolean
A data type that has 2 possible values (0/1 or true/false)
Character
a letter, number, space, punctuation, or symbol that can be typed on a computer
String
A composite data structure that is a sequence of characters
Identifier
Includes names of variables, constants and subroutines; created by user
Variable
Named slot in memory that can be referenced later in the code and can be changed
Constant
Named slot in memory that can be referenced later in the code and CANNOT be changed
Assignment
Sets/resets the value of an integer and stores it in a variable/constant
Iteration
Process of repeating lines of code
Definite
An iteration that will be teste a set number of times (for loop)
Indefinite
an iteration that will be repeated until certain conditions are met (while loop)
Selection
Lines of code that only run when a condition is met (if statement)
Subroutine
Sequence or program instructions that perform a specific task. Given an identifier so you can refer back to it in the program
Procedure
A subroutine that doesn’t return a value
Function
A subroutine that returns a value
Nested
A loop within a loop or a selection in a selection
Array
A data structure that holds a number of values
Concatenate
The process of putting strings together
Structured approach
Using decomposition to make smaller programs to solve a program
Validation
The program check the data to make sure it meets rules and restrictions