Tuesday 15 September 2015

Algorithms Flowcharts

Flowcharts

The Shapes

There are 4 basic flowchart shapes:


1. The Terminator - This shape is used to start or stop the flowchart
2. The Decision - This shape is used to allow the user to make a decision (e.g. do you like pancakes? Yes or No)
3. Input/output - This shape is used to either allow the user to input something (e.g. a value) or display something to the user (e.g. an image)
4. Process - This is used to tell the computer to do something (e.g. a sum)

>


Flowchart Questions

1. Calculate the area of a triangle from dimensions input by the user
2. Ask the user to input the value for the radius of a circle and then ask them to choose either circumference or area and output the chosen value.

No comments:

Post a Comment