Lecture 11234567890qwertyuiodfghjdfgh.pptx

IfraLuqman 5 views 10 slides Aug 04, 2024
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

lecture 1


Slide Content

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
Tags