3. Basic of algorithms
Define and use the three constructs for developing
algorithms: sequence, decision, and repetition.
Understand and use three tools to represent algorithms:
flowchart, pseudocode, and structure chart.
Understand the concept of modularity and subalgorithms.
List and comprehend common algorithms.
Understand the concept of an algorithm.
3
7. Advantages of algorithms
it eases identification and removal of logical errors
in a program.
It facilitates algorithm analysis to find out the most
efficient solution to a given problem.
It ensures easy comprehension of a problem
solution as compared an equivalent
computer program.
7
8. Disadvantages of algorithms
In large algorithms, the flow of program
control becomes difficult to track.
Algorithms lack visual representation of
programming constructs like flowcharts; thus,
understanding the logic becomes relatively
Difficult.
8
9. Flowcharts
A graphical represention of analgorithm,often
used in the design phase of programming to work
out the logical flow of a program.
Visual way to represent the information flow
Make our logic more clear
Help during writing of program
Make testing and debugging easy
9
10. Symbol Name Uses
Start and stop symbol Used to start flw chart as
wel as to to terminate the
flow chart.
Input/output Used for ID operation
Process Usedto mention ALU and
data transfer task(i.e.
arithmetic or assignment
task)
start
stop
10
15. Flow chart’s limitation
For very large program, flow chart goes
for many pages
Costly to draw flow charts for large
program
Difficult to modify
15