SlideShare a Scribd company logo
Lecture 1
Design and Analysis of
Algorithms (CSET244)
Course
Structure
3 Hours Lectures
1 Hour Tutorial
4 Hours Practical
Evaluation Policy
Components of Course Evaluation Marks
Mid Semester Examination 20
End Semester Examination 40
Lab (Continuous Evaluation) * 20
Hackathon 5
Competitive programming (Leatcode)** 10
Certification*** 5
Total 100
Data Structures Programming
Foundation of the course (Prerequisite)
References
S.no Book Title Authors Press
1. Introduction to
Algorithms
Thomas H. Cormen,
Charles E. Leiserson,
Ronald L. Rivest, Clifford
Stein
MIT Press
2. Algorithm Design Jon Kleinberg & Eva
Tardos
Pearson
3. Computer Algorithms Ellis Horowitz, Sartaj
Sahni, Sanguthevar
Rajasekaran
Computer
Science Press
Books:
References
Google
Geekforgeeks for
practising questions
and assignments.
Class Lectures
Other Resources:
Lab Assignments
Programming language to follow: C++
Broad list of topics to be covered in the course
Basic of algorithms. Sorting algorithms.
Divide and
Conquer paradigm.
Greedy algorithms.
Dynamic
programming.
Graph algorithms.
Computational
classes.
Introduction to algorithm
Definition :
 It is a combination of sequence of finite steps to
solve a problem.
Properties :
 It should take zero or more input.
 It should produce at least one output.
 It should terminate after finite time.
 Every state in the algorithm should be
deterministic.
 It should be programming language
independent.
Steps Required to Construct Algorithm
Problem Definition
Design the Algorithm
Flow Chart
Verification (Testing)
Implementation (Coding)
Analysis
Analysis
Using time complexity and space Complexity we can analyze the
algorithm.
Time Complexity:
T(A) = C(A) + R(A)
Types of Analysis
Posteriori Analysis (Relative Analysis) Priori Analysis (Absolute Analysis)
1. It is programming language of compiler
and type of processor dependent analysis
1. It is programming language of compiler
and type of processor independent analysis
2. Answer will change system to system 2. Answer will not change system to system
3. Exact answer 3. Approximate Analysis
Priori Analysis (Absolute Analysis)
“It is determination of order of magnitude of a statement.”
Example 1:
main()
{
x=y+z;
}
Example 2:
main()
{
x=y+z;
for (i=1; i<=n; i++)
{
x=y+z;
}
}
Example 3:
main()
{
x=y+z;
for (i=1; i<=n; i++)
x=y+z;
for (i=1; i<=n; i++)
{
for (j=1; j<=n; j++)
{
x=y+z;
}
}
}
Example 4:
main()
{
for (i=1; i<=n; i++)
{
for (j=1; j<=n/2; j++)
{
x=y+z;
}
}
}
Example 5:
main()
{
for (i =1; i<=n; i++)
{
for (j=1; j<=i; j++)
{
for (k=1; k<=133; k++)
{
x=y+z;
}
}
}
}
Example 6:
main()
{
while(n>=1)
{
n=n/2;
}
Example 7:
main()
{
i=1;
while(i<=n)
{
i=2*i;
}
}
Thank You

More Related Content

PPT
chapter 1
PPTX
AoA Lec Design of algorithm spresentation
PDF
Algorithms Lecture 1: Introduction to Algorithms
PDF
Data Structure - Lecture 1 - Introduction.pdf
PDF
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
PDF
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
PDF
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
PDF
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpall...
chapter 1
AoA Lec Design of algorithm spresentation
Algorithms Lecture 1: Introduction to Algorithms
Data Structure - Lecture 1 - Introduction.pdf
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpally...
Algorithm Class at KPHB (C, C++ Course Training Institute in KPHB, Kukatpall...

Similar to L1_Welcome Lecture.pptx for introduction (20)

PPTX
3 analysis.gtm
PPTX
Algorithms and problem solving.pptx
PPTX
Algorithms for c nit jamshedpur first year
PPT
Types of Algorithms.ppt
PPTX
Algorithm for the DAA agscsnak javausmagagah
PPTX
ADA_Module 1_MN.pptx- Analysis and design of Algorithms
PPTX
DAA-Unit1.pptx
PPTX
BCSE202Lkkljkljkbbbnbnghghjghghghghghghghgh
PPTX
Analysis Framework, Asymptotic Notations
PPTX
Data Structures_Introduction to algorithms.pptx
PPTX
Module-1.pptxbdjdhcdbejdjhdbchchchchchjcjcjc
PPTX
Algorithm.pptx
PPTX
Algorithm.pptx
PPT
Data Structures and Algorithm Analysis
PDF
Data Structures and Algorithms Lecture 2: Analysis of Algorithms, Asymptotic ...
PDF
Data Structures and Algorithm - Week 11 - Algorithm Analysis
PDF
Algorithm Design and Analysis
PPTX
Data Structures and Agorithm: DS 22 Analysis of Algorithm.pptx
PDF
1. Introduction to Algorithms, Specification of Algorithm, Complexity.pdf
PPTX
2-Algorithms and Complexity analysis.pptx
3 analysis.gtm
Algorithms and problem solving.pptx
Algorithms for c nit jamshedpur first year
Types of Algorithms.ppt
Algorithm for the DAA agscsnak javausmagagah
ADA_Module 1_MN.pptx- Analysis and design of Algorithms
DAA-Unit1.pptx
BCSE202Lkkljkljkbbbnbnghghjghghghghghghghgh
Analysis Framework, Asymptotic Notations
Data Structures_Introduction to algorithms.pptx
Module-1.pptxbdjdhcdbejdjhdbchchchchchjcjcjc
Algorithm.pptx
Algorithm.pptx
Data Structures and Algorithm Analysis
Data Structures and Algorithms Lecture 2: Analysis of Algorithms, Asymptotic ...
Data Structures and Algorithm - Week 11 - Algorithm Analysis
Algorithm Design and Analysis
Data Structures and Agorithm: DS 22 Analysis of Algorithm.pptx
1. Introduction to Algorithms, Specification of Algorithm, Complexity.pdf
2-Algorithms and Complexity analysis.pptx
Ad

Recently uploaded (20)

PDF
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
DOCX
573137875-Attendance-Management-System-original
PPT
Chapter 6 Design in software Engineeing.ppt
PPTX
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
composite construction of structures.pdf
PDF
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
PDF
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PPTX
Internship_Presentation_Final engineering.pptx
PPTX
Simulation of electric circuit laws using tinkercad.pptx
PPTX
anatomy of limbus and anterior chamber .pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
ANIMAL INTERVENTION WARNING SYSTEM (4).pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
OOP with Java - Java Introduction (Basics)
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
573137875-Attendance-Management-System-original
Chapter 6 Design in software Engineeing.ppt
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
composite construction of structures.pdf
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
“Next-Gen AI: Trends Reshaping Our World”
Internship_Presentation_Final engineering.pptx
Simulation of electric circuit laws using tinkercad.pptx
anatomy of limbus and anterior chamber .pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
ANIMAL INTERVENTION WARNING SYSTEM (4).pptx
Structs to JSON How Go Powers REST APIs.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
OOP with Java - Java Introduction (Basics)
Ad

L1_Welcome Lecture.pptx for introduction