Professional Documents
Culture Documents
BSCS – 2A
1. Flowcharts and pseudo code are both used before writing code, but pseudocode is linear while a flow chart
isn't. Also, a flowchart is graphical, while pseudocode is technical. With that in mind, a flow diagram is
suitable for communicating between non-technical people and programmers.
Pseudocode is an informal high-level description of the operating principle of an algorithm. Flowchart is a
diagrammatic representation that illustrates a solution model to a given problem. Pseudocode is the process
where the language will be translated into software codes.
START
A number (n)
Number n is a
prime or not
end
START
input1
input2
Calculate average =
(number + number 2)
input2
end