0% found this document useful (0 votes)
31 views8 pages

Lecture 1.0 - Introduction To Program Design and Devolopment

Uploaded by

apple
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views8 pages

Lecture 1.0 - Introduction To Program Design and Devolopment

Uploaded by

apple
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Introduction to program

design and
development
-:Topics to be covered:-
• What is Algorithm
• Features of Algorithm
• Advantages of using Algorithm
• Flowchart
• Problem Solving using Algorithm & Flowchart
What is Algorithm ?

The word Algorithm means “a process or set of rules to be followed in


calculations or other problem-solving operations”. Therefore Algorithm
refers to a set of rules/instructions that step-by-step define how a work is to
be executed upon in order to get the expected results. 
Features of Algorithm

• Clear and Unambiguous: Algorithm should be clear and unambiguous. Each of its steps should be
clear in all aspects and must lead to only one meaning.
• Well-Defined Inputs: If an algorithm says to take inputs, it should be well-defined inputs.
• Well-Defined Outputs: The algorithm must clearly define what output will be yielded and it should be
well-defined as well.
• Finite-ness: The algorithm must be finite, i.e. it should not end up in an infinite loops or similar.
• Feasible: The algorithm must be simple, generic and practical, such that it can be executed upon will the
available resources. It must not contain some future technology, or anything.
• Language Independent: The Algorithm designed must be language-independent, i.e. it must be just
plain instructions that can be implemented in any language, and yet the output will be same, as expected.
Advantages of Algorithms:
• It is easy to understand.
• Algorithm is a step-wise representation of a solution to a given problem.
• In Algorithm the problem is broken down into smaller pieces or steps
hence, it is easier for the programmer to convert it into an actual program.
Disadvantages of Algorithms:
• Writing an algorithm takes a long time so it is time-consuming.
• Branching and Looping statements are difficult to show in Algorithms.
-:Flowchart:-
Flowchart is a diagrammatic representation of sequence of logical steps of a program. Flowcharts
use simple geometric shapes to depict processes and arrows to show relationships and
process/data flow.

A flow chart allows you to layout a complex set of interactions in a way that is easier to digest.
For example a process flowchart typically includes a series of activities, inputs, outputs and roles
(the people that do the activities) in a sequence. The sequence often has branching where one
activity might trigger parallel activities. These sorts of relationships are very hard to visualize
when written as text. So a flowchart helps to turn that into a picture that makes it easier for people
to understand, discuss and communicate
Flowchart Symbols

You might also like