Flow Diagrams & Pseudocode Flashcards
What is a flow diagram?
Something that is used to represent a given algorithm.
What are flow diagrams for?
Used to visually represent different types of steps.
What are the arrows for within flow diagrams?
Represents the flow of control or what to execute next.
What is pseudocode?
A common way of representing an algorithm.
What is pseudocode for?
A way to write out algorithms using code-like statements - intended to be readable & easy to understand
What is the purpose of pseudocode?
Used to plan algorithms - focusing on logic & steps of an algorithm
What is pseudocode NOT?
An actual programming language.
What are the standard shapes in flow diagrams?
Oval, rectangle, parallelogram & diamond
What is the oval shape represented for in flow diagrams?
The start & end of a program
What is the rectangle shape represented for in flow diagrams?
To represent a process
What is the parallelogram shape represented for in flow diagrams?
To represent an input or output
What is the diamond shape represented for in flow diagrams?
To represent a decision
What comes first (shapes) in flow diagrams?
1) Oval 2) Rectangle 3) Parallelogram 4) Diamond