Flowcharting and Pseudocode Writing Flashcards
Define algorithm.
It is a list of instructions for carrying out a process step-by-step.
What are the 2 kinds of algorithm?
- Pseudocode
- Flowchart
Define pseudocode.
It is a written, step-by-step description of an algorithm using plain language.
Define flowchart.
It is a visual representation of an algorithm using symbols and arrows to show the flow.
What does the following shape represent?
OVAL
Terminal - beginning or end.
What does the following shape represent?
RECTANGLE
Process - represents an instruction or action to be performed.
What does the following shape represent?
DIAMOND
Decision - represents a decision point that can lead to different paths based on Yes/No or True/False answers.
What does the following shape represent?
HEXAGON
Preparation - represents a preparation step or initialization of a process.
What does the following shape represent?
ARROW
Flowline - represents the direction of the process flow.
What does the following shape represent?
CIRCLE
On-Page Connector - used to connect different parts of the flowchart on the same page.
What does the following shape represent?
BANNER
Off-Page Connector - represents the continuation of a flowchart onto another page.
What are the types of control structures?
- Sequential
- Conditional
- Iterative/Repetition
What is a loop?
It is repetition of a series of steps.
What is an infinite loop?
It is repeating flow of logic with no end.