Flow Diagrams
Computer Science: OCR A Level, topic 6.4.2
Flow Diagrams
Flow diagrams are used to represent a given algorithm.

Flow diagrams
- Flow diagrams are used to visually represent the steps that make up an algorithm.
- A standard set of shapes are used to represent different types of step.
- Arrows represent the flow of control, or what to execute next.

Standard shapes
- An oval is used for the start and end of a program.
- A rectangle is used to represent a process.

Standard shapes
- A parallelogram is used to represent an input or an output.
- A diamond is used to represent a decision:
- A decision has two labelled arrows coming out of it.
- The 'Yes' arrow is followed if the condition in the diamond was true, otherwise the 'No' arrow is followed.
Test yourself on Flow Diagrams
What does an oval represent in a flow diagram?