SlideShare a Scribd company logo
Introduction
Lecture 01
Aqsa Noreen
Terminologies
• Algorithm Design:
Method for designing efficient algorithm.
• Algorithm Analysis:
Analysis of resources usage of given
algorithm .(time & space)
What do we study this subject?
• Efficient algorithm lead to efficient programs.
• Efficient program sell better.
• Efficient programs makes better used of
hardware.
• Programmer who write efficient programs are
preferred.
Course Objectives
• The main goal of the course is to develop tools
and techniques that aid in designing correct
and efficient algorithms for computational
problems and analyzing their correctness and
running time
introduction
• Definition: An algorithm is a finite sequence of
well-defined instructions, typically used to
solve a problem or perform a computation.
Algorithms are essential in programming and
are used to manipulate data structures and
manage tasks in software.
Designing of an algorithm
Properties of an Algorithm
• It should take zero or more input.
• It should produce at least one output.
• It should terminate after a finite time.
• An algorithm should be efficient and flexible.
• It should be less memory space as much as
possible.
• Each step in the algorithm must be easily
understood
How to analyzed the algorithm?
• Algorithm efficiency can be measured by two
aspects
1: Time complexity:
(given in term of frequency count)
• Instruction take time.
• How fast does the algorithm perform?
• What effect its runtime?
How to analyzed the algorithm?
2: space complexity:
( amount of memory required)
• Data structure take space.
• What kind of data structure can be used?
• How does choice of data structure effect the
runtime?
.
Thank You

More Related Content

PPT
Lec1.ppt
PPTX
Modile-1-PPT-1-BCAC0207-AlgorithmDesign.pptx
PPTX
Unit 1, ADA.pptx
PPTX
Binary to hexadecimal algorithmic old.pptx
PDF
Introduction to analysis algorithm in computer Science
PDF
introduction to analysis of algorithm in computer science
PPT
Chapter1.1 Introduction.ppt
PPT
Chapter1.1 Introduction to design and analysis of algorithm.ppt
Lec1.ppt
Modile-1-PPT-1-BCAC0207-AlgorithmDesign.pptx
Unit 1, ADA.pptx
Binary to hexadecimal algorithmic old.pptx
Introduction to analysis algorithm in computer Science
introduction to analysis of algorithm in computer science
Chapter1.1 Introduction.ppt
Chapter1.1 Introduction to design and analysis of algorithm.ppt

Similar to Lecture 11234567890qwertyuiodfghjdfgh.pptx (20)

PDF
Algorithm Analysis.pdf
PPTX
Design and Analysis of Algorithms.pptx
PPTX
Algorithm and C code related to data structure
PPTX
Algorithm in data structure bca .pptx
PPTX
Analysis and Design of Algorithms
PPTX
2. Introduction to Algorithm.pptx
PPTX
Design and Analysis of Algorithm ppt for unit one
PPTX
Data Structures_Introduction to algorithms.pptx
PPTX
daa18d8d-d333-4398-94dd-a46802d88d79.pptx
PDF
Data structures and algorithms Module-1.pdf
PPT
Lecture01.ppt
PPT
Analysis of Algorithm data structure.ppt
PPT
C programming for Computing Techniques
PDF
Introduction to Algorithms Complexity Analysis
PDF
Python algorithm
PDF
01 Revision Introduction SLides Od Design ANd Aalaysis Of aLgo
PPTX
CH-1.2 Performance analysis for mca.pptx
PPTX
Algorithm Introduction
PDF
Chapter-1-Introduction-to-Aglorithms.pdf
Algorithm Analysis.pdf
Design and Analysis of Algorithms.pptx
Algorithm and C code related to data structure
Algorithm in data structure bca .pptx
Analysis and Design of Algorithms
2. Introduction to Algorithm.pptx
Design and Analysis of Algorithm ppt for unit one
Data Structures_Introduction to algorithms.pptx
daa18d8d-d333-4398-94dd-a46802d88d79.pptx
Data structures and algorithms Module-1.pdf
Lecture01.ppt
Analysis of Algorithm data structure.ppt
C programming for Computing Techniques
Introduction to Algorithms Complexity Analysis
Python algorithm
01 Revision Introduction SLides Od Design ANd Aalaysis Of aLgo
CH-1.2 Performance analysis for mca.pptx
Algorithm Introduction
Chapter-1-Introduction-to-Aglorithms.pdf
Ad

Recently uploaded (20)

PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Business Ethics Teaching Materials for college
PDF
Insiders guide to clinical Medicine.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Institutional Correction lecture only . . .
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Business Ethics Teaching Materials for college
Insiders guide to clinical Medicine.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Cell Structure & Organelles in detailed.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Anesthesia in Laparoscopic Surgery in India
Abdominal Access Techniques with Prof. Dr. R K Mishra
STATICS OF THE RIGID BODIES Hibbelers.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Week 4 Term 3 Study Techniques revisited.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Institutional Correction lecture only . . .
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Ad

Lecture 11234567890qwertyuiodfghjdfgh.pptx

  • 2. Terminologies • Algorithm Design: Method for designing efficient algorithm. • Algorithm Analysis: Analysis of resources usage of given algorithm .(time & space)
  • 3. What do we study this subject? • Efficient algorithm lead to efficient programs. • Efficient program sell better. • Efficient programs makes better used of hardware. • Programmer who write efficient programs are preferred.
  • 4. Course Objectives • The main goal of the course is to develop tools and techniques that aid in designing correct and efficient algorithms for computational problems and analyzing their correctness and running time
  • 5. introduction • Definition: An algorithm is a finite sequence of well-defined instructions, typically used to solve a problem or perform a computation. Algorithms are essential in programming and are used to manipulate data structures and manage tasks in software.
  • 6. Designing of an algorithm
  • 7. Properties of an Algorithm • It should take zero or more input. • It should produce at least one output. • It should terminate after a finite time. • An algorithm should be efficient and flexible. • It should be less memory space as much as possible. • Each step in the algorithm must be easily understood
  • 8. How to analyzed the algorithm? • Algorithm efficiency can be measured by two aspects 1: Time complexity: (given in term of frequency count) • Instruction take time. • How fast does the algorithm perform? • What effect its runtime?
  • 9. How to analyzed the algorithm? 2: space complexity: ( amount of memory required) • Data structure take space. • What kind of data structure can be used? • How does choice of data structure effect the runtime?