Algorithms and Pseudocode Flashcards
(9 cards)
Algorithm
A set of step-by-step instructions to solve a specific problem.
Pseudocode
A way of describing an algorithm using structured but informal code that resembles programming language.
Flowchart
A diagram that represents an algorithm visually using symbols like ovals, rectangles, diamonds, and arrows.
Selection
A decision-making process in an algorithm where a choice is made using IF, ELSE, or CASE.
Iteration
Repeating a set of instructions using loops such as FOR, WHILE, or REPEAT UNTIL.
Trace Table
A table used to follow the logic of an algorithm and record variable values at each
step.
Dry Run
Manually going through code or an algorithm to test it without running on a computer.
Verification
Checking if data has been accurately copied from one medium to another.
Validation
Checking if data entered meets certain criteria before processing.