Professional Documents
Culture Documents
Esc101: Fundamentals of Computing: 2011-12-Monsoon Semester
Esc101: Fundamentals of Computing: 2011-12-Monsoon Semester
Esc101: Fundamentals of Computing: 2011-12-Monsoon Semester
2011-12-Monsoon Semester
Acknowledgement
Most of the slides used today were taken from the lecture notes of Dr. Surender Baswana.
Lec-02
Algorithm
A plan or method to solve a problem
Should specify steps that can be followed unambiguously Normally would have an input and an output Should complete the task in finite time
Lec-02
Lec-02
Lec-02
Lec-02
Flow Chart
Many times, an algorithm is easy to design/understand, if it is represented pictorially. Different steps are shown as boxes. There are boxes for checking conditions, assigning values, reading, writing, etc. There are arrows which determine the direction of flow, or the order in which steps should be executed.
Lec-02
Source: Wikipedia
Lec-02 Dheeraj Sanghi, CSE Dept., IIT Kanpur ESc101, 2011-12-Monsoon 9
Any Questions?
Lec-02
10