DR Nazir A. Zafar Advanced Algorithms Analysis and Design
DR Nazir A. Zafar Advanced Algorithms Analysis and Design
DR Nazir A. Zafar Advanced Algorithms Analysis and Design
and Design
By
M. Sc. Mathematics:
1989-91
Quaid-i-Azam University, Islamabad
M. Phil Mathematics:
1991-93
Quaid-i-Azam University, Islamabad
M. Sc. Nuclear Engineering:
1993-94
Quaid-i-Azam University, Islamabad
PhD Computer Science:
2000-04
Kyushu University, Japan
Dr Nazir A. Zafar
Expected Results
Dr Nazir A. Zafar
Lecture No 1
Introduction
(What, Why and Where Algorithms . . .)
Dr Nazir A. Zafar
Today Covered
In this lecture we will cover the following
What is Algorithm?
Designing Techniques
Model of Computation
Algorithms as a technology
Algorithms and other technologies
Importance of algorithms
Difference in Users and Developers
Kinds of problems solved by algorithms
Conclusion
Dr Nazir A. Zafar
What is Algorithm?
A computer algorithm is a detailed step-by-step method
for solving a problem by using a computer.
An algorithm is a sequence of unambiguous instructions
for solving a problem in a finite amount of time.
An Algorithm is well defined computational procedure that
takes some value, or set of values, as input and produces
some value, or set of values as output.
More generally, an Algorithm is any well defined
computational procedure that takes collection of elements
as input and produces a collection of elements as output.
Input
Dr Nazir A. Zafar
Algorithm
output
Dr Nazir A. Zafar
Dynamic programming
Dr Nazir A. Zafar
Synthesis
Building tools
Building functions with supporting tools
Composing functions to form a process
How components should be put together?
Final solution
Dr Nazir A. Zafar
Dr Nazir A. Zafar
Conclusion