Flashcards in Algorithms and Programs Deck (18)
A step-by-step procedure for solving a problem
Code that resembles a programming language but uses less strict syntax to express an algorithm and is INDEPENDENT of any real programming language.
Is a user-defined name e.g. a variable or sub routine name
A parameter or "argument" is a value that is passed into a function or procedure
A pass is made through the data comparing each value with the following one and swapping if necessary. A number of passes are made until the data is in order
Removes one element from the input data, finds the location it belongs within the sorted list, and inserts it there. It repeats until no input elements remain
Each element in the search space is examined in order starting at the first element. When a match is found with the search term (or no match is found) the operation is complete
Repeatedly divides an ordered search space in half according to how the required (key) value compares with the middle element.
A value that can be recognized as a termination value in a loop
The code listing of commands to be compiled or assembled into an executable program.
It copies a value (or result of a calculation) into the variable
Other word for LOOP
Repeatedly execute a block of code until a condition has been met
Other word for IF statement or CASE statement
Execute a block of code only when a certain condition has been met.
Instructions that will executed one after another
Finds the remainder after division of one number by another
Calculates the integer part of an integer division without consideration of any remainder
Prewritten routines provided by the IDE software house that can be called and reused when writing a program.