Design Methods Algorithm Flowchart Pseudocode
Design Methods Algorithm Flowchart Pseudocode
1. Algorithm
Definition:
Step 1: Start
Step 5: Stop
2. Flowchart
Definition:
A flowchart is a visual diagram that represents the sequence of steps in a process using symbols.
Flowchart Symbols:
- Terminator: Start/End
[Start]
[Input A, B]
[A > B ?]
Design Methods: Algorithm, Flowchart, and Pseudocode
/ \
Yes No
/ \
[A is >] [B is >]
\ /
[End]
3. Pseudocode
Definition:
Pseudocode is a way of writing algorithms in plain English mixed with programming structure - not actual code, but easy
Start
Input A, B
If A > B then
Else
End
Comparison Table
--------------|----------------------|----------------|--------------------------