Documente Academic
Documente Profesional
Documente Cultură
Topics covered:
1.
1. Flow Chart
2. Pseudocode
3. Algorithm
Flow Chart:
Flow line
1.2
Start
Inputs:
Water in kettle
Boiling
NO
Is water boiling
Yes
Input:
Ingredients
TEA
Stop
Interface
ii.
How to create flow chart for adding 2 numbers, and print the result.
iii.
Click on arrow.
Step-Default
Click on Input and then right click on input symbol and then edit
Step-2: click on edit
Provide 2nd input, then add them and print the result
How to Run:
Click on play button from the top menu
Input value of a and b (a=10, b=20)
2. Pseudocode
Pseudo code is a kind of structured English for describing algorithms.
It allows the designer to focus on the logic of the algorithm without being distracted by
details of language syntax.
At the same time, the pseudo code needs to be complete.
It describes:
The entire logic of the algorithm so that implementation becomes a route
3. Algorithm
An algorithm is a well-defined sequence of acts or procedures to perform for the solution
of a problem in a finite number of steps.
Therefore, a flowchart is an excellent vehicle to represent an algorithm.