Design and Analysis of Algorithms: Muhammad Nasir
Design and Analysis of Algorithms: Muhammad Nasir
Algorithms
Lecture # 1
Muhammad Nasir
Department of Computer Science
COMSATS University Islamabad,
Lahore Campus
mnasir@cuilahore.edu.pk
About the Course
Purpose: A brief introduction to Design and
Analysis of Algorithms
• Discrete Structures
• Data Structures
Course Evaluation
Assignments
Quizzes
Term Projects / Reports
S1 exam
S2 exam
Final exam
Class Expectations
Effort
Do homework on your own. It’s ok to ask others but make
your own effort.
Consistency
Keep up with reading, and homework.
Plagiarism Policy
According to this policy, a student's submitted
work must be the student's own. In this course,
this policy will be applied to all work submitted for
grade including exams, quizzes, homework, and
projects.
Algorithm
The word Algorithm comes from the name of the
muslim author Abu Ja’far Mohammad ibn Musa
al-Khowarizmi.
Introduction
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.
Introduction
Algorithm: