Page 408 - computer science (868) class 11
P. 408
There can be several other approaches to do the same namely using pseudo codes and flowcharts. Let us discuss them
one by one.
13.2.1 Pseudocodes
A pseudocode is an informal way of writing a program, but not in any high-level language. It represents the algorithm
in simple English statements (or any other recognised language) and mathematical notations. Like algorithm, there
is no definite syntax to follow when writing pseudocode and it is mainly used for documentation purpose. In pseudo
code, knowledge of programming language is not compulsory, rather the plan to derive an efficient solution to the
problem and expressing it in simple language is must.
Definition
Pseudocode is a representation of an algorithm in any standard human-readable language and mathematical
notations.
13.2.2 Flowcharts
A flowchart is a visual program design tool in which the symbols describe
the operations to be performed. The symbols are represented in a sequence
of steps. The steps are connected by lines or arrows which represent the
direction of flow of the process. Like algorithm and pseudocode, it is only
used for planning and documentation.
Definition
A flowchart is a pictorial representation of an algorithm using standard symbols.
In a flowchart, each step is represented using symbols. So, before we learn how to draw a flowchart, we need to know
about the flowchart symbols. The symbols are listed in the following table:
Symbol Purpose
The oval-shaped start/stop symbol is used to represent the
START/STOP beginning and end of a flowchart.
The parallelogram-shaped input/output box represents an
INPUT/OUTPUT input operation like accepting data from the keyboard or an
output operation like displaying the result on a monitor or
printing it.
The rectangle-shaped process box is used to represent internal
PROCESS BOX operations like arithmetic and assignment operations inside
the process or memory.
The diamond-shaped decision box is used to check the
condition. It has one input and two outputs representing the
DECISION BOX
actions to be taken for two outcomes true and false.
406406 Touchpad Computer Science-XI

