8.2.0 Intro To Flowcharts and Algorithms
8.2.0 Intro To Flowcharts and Algorithms
algorithm
Step-by-step instructions to solve a particular problem; the order of the instructions
in an algorithm matter.
flowchart
A diagram that represents of an algorithm.
pseudocode
A text representation of an algorithm.
variable
A named memory location used to store data of a given type during program
execution; a variable can change value as the program runs.
selection
This is what happens when a program needs to answer a True-or-False question to
decide what to do next.
condition
A True-or-False question that is asked to determine the next instruction in a program.
_________________________________________________________________________________
_________________________________________________________________________________
1. Buy bread
2. Buy milk
3. Buy yoghurt
Is this an algorithm? _______________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
Q3. Look at the flowchart for the algorithm in Question 1:
_____________________________________
_____________________________________
_____________________________________
_____________________________________
Q4. Look at the flowchart on the right. What are the different shapes used for?
oval
____________________________
____________________________
rectangle
____________________________
____________________________
parallelogram
____________________________
____________________________
diamond
____________________________
____________________________
arrow
____________________________
____________________________