3.1.1 - Representing algorithms Flashcards
(11 cards)
Algorithm
A step-by-step set of instructions to solve a problem or complete task
Decomposition
Breaking down a problem into smaller, more manageable parts
Abstraction
Removing unnecessary detail to focus on the important information.
Flowchart
A diagram that represents an algorithm using symbols to show the flow of control
Pseudocode
A way of representing an algorithm using structured, human-readable instructions without following strict programming syntax
Purpose of a trace table
To record the values of variables as an algorithm runs, used to check logic and identify errors
Decision - flowchart
Diamond
Process - flowchart
Rectangle
Input/output - flowchart
Parallelogram
Start/stop - flowchart
Oval
What do the arrow shows in a flowchart
The direction of flow of the instructions