0% found this document useful (0 votes)
19 views

8.2.0 Intro To Flowcharts and Algorithms

The document discusses algorithms, flowcharts, pseudocode, variables, selection, and conditions. It provides examples of algorithms and asks questions about identifying algorithms from instructions, the purpose of shapes in flowcharts, and key terms related to programming structures.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

8.2.0 Intro To Flowcharts and Algorithms

The document discusses algorithms, flowcharts, pseudocode, variables, selection, and conditions. It provides examples of algorithms and asks questions about identifying algorithms from instructions, the purpose of shapes in flowcharts, and key terms related to programming structures.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

Q1. Instructions to go outside

1. Leave the classroom


2. Turn left
3. Walk straight
4. Go down the stairs
5. Turn left
6. Walk straight
Is this an algorithm? _______________________________________________

Explain why you think it is / is not an algorithm.

_________________________________________________________________________________

_________________________________________________________________________________

Q2. Shopping list

1. Buy bread
2. Buy milk
3. Buy yoghurt
Is this an algorithm? _______________________________________________

Explain why you think it is / is not an algorithm.

_________________________________________________________________________________

_________________________________________________________________________________
Q3. Look at the flowchart for the algorithm in Question 1:

How is the oval shape used? (oval = )

_____________________________________

_____________________________________

What shape are the steps in the algorithm where you


are doing something?

_____________________________________

_____________________________________

Q4. Look at the flowchart on the right. What are the different shapes used for?

Shape Purpose (what it is used for)

oval
____________________________

____________________________

rectangle
____________________________

____________________________

parallelogram
____________________________

____________________________

diamond
____________________________

____________________________

arrow
____________________________

____________________________

You might also like