HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
Algorithm pseudocode flowchart program notes
1. Notes on
Algorithm, Pseudocode,
Flowchart, Final Program
Instructor:
Arghodeep Paul
Firmware Engineer at BitBible Technologies Pvt. Ltd.
apaul.nit@gmail.com
Content Licensed Under: OpenSource
Date: 05 July 2021
2. keys to solve a problem
You need to have idea about the problem and the possible solution at first.
You need to have step wise solution to that particular problem.
You need to maintain the sequence thoroughly
Choose any one language to write/deliver the solution
What is Algorithm
Algorithm refers to the step wise solution for a problem.
Example:
Take two numbers from user as input and display output.
Step 1: start
Step 2: declare three variables a,b and c
Step 3: take input for variable a and b
Step 4: add a,b and store in c
Step 5: print the value of c
Step 6: end
Importance:
1. Reduce complexity
2. It makes the programming easier
3. Helps to find out if any other shorter approach is possible
What is Pseudocode
Based on the algorithm a Pseudocode is written. It is very much near to a
programming language.
3. Example:
Take two numbers from user as input and display output.
START
NUMBER a, b, c
OUTPUT("Input number1:")
INPUT(a)
OUTPUT("Input number2:")
INPUT(b)
c=a+b
OUTPUT(c)
END
Importance:
1. It is a clearer version of an algorithm.
2. Algorithm is helpful for project leads/managers while pseudocode is better
for the developers/programmers.
3. It is also helpful for non technical team persons whom the project is
required to understand.
What is Flowchart
Based on the algorithm a Flowchart is drawn. It is the graphical representation of an
Algorithm.
5. Example:
Take two numbers from user as input and display output.
Importance:
1. It works better than Algorithm and Pseudocode while demonstrating a
Program.
4. Very much helpful to team members I.e technical and non technical as
well.
6. Final Program
The above mentioned Algorithm, Pseudocode, Flowchart is encoded using desired Programming
Language.
C Language:
Java Language:
Kotlin Language: