Presentation is loading. Please wait.

Presentation is loading. Please wait.

Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak

Similar presentations


Presentation on theme: "Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak"— Presentation transcript:

1 Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak hodcs@rknec.eduhodcs@rknec.edu, www.mbchandak.com

2 Course Contents The course is divided into three major components 1. Design of Algorithms using standard paradigms like: Greedy, Divide and Conquer, Dynamic programming, Backtracking. 2. Mathematical analysis of algorithms using Complexity analysis, recurrence analysis, induction, amotorized analysis. 3. Classification of algorithms in P and NP classes & use of traversal techniques and advanced data structures. Total units: 6 Unit 1 and 2: Analysis of algorithms Unit 3, 4, 5: Design of algorithms Unit 6: P and NP problems

3 Course Pre-requisite Data Structures and program design [DSPD] Theoretical foundations of Computer Science [TOFCS] Discrete Mathematics and Graph Theory [DMGT] Basics of Mathematics: Induction, Recurrence etc. Active Class participation and Regularity

4 Unit wise course UNIT-I: Mathematical foundations, summation of arithmetic and geometric series, n, n 2, bounding summations using integration, recurrence relations, solutions of recurrence relations using technique of characteristic equation and generating functions, Complexity calculation of various standard functions, principles of designing algorithms UNIT-II: Asymptotic notations of analysis of algorithms, analyzing control structures, worst case and average case analysis, amortized analysis, application of amortized analysis, Sorting networks, comparison networks, bio-tonic sorting network.

5 Unit wise course UNIT-III: Divide and conquer basic strategy, binary search, quick sort, merge sort, matrix operations, Greedy method – basic strategy, application to job sequencing with deadlines problem, minimum cost spanning trees, single source shortest path etc. UNIT-IV: Dynamic Programming basic strategy, multistage graphs, all pairs shortest path, single source shortest paths, optimal binary search trees, traveling salesman problem, String Editing, Longest Common Subsequence problem and its variations. UNIT-V: Basic Traversal and Search Techniques, breadth first search and depth first search, connected components. Backtracking basic strategy, 8-Queen’s problem, graph coloring, Hamiltonian cycles etc, Introduction to Approximation algorithm.

6 Unit wise course UNIT-VI: NP-hard and NP-complete problems, basic concepts, non-deterministic algorithms, NP-hard and NP-complete, decision and optimization problems, graph based problems on NP Principle.

7 Course Outcomes S.NoCourse OutcomeUnit 1 Ability to understand mathematical formulation, complexity analysis and methodologies to solve recurrence relations for algorithms. Unit 1, 2 2 Ability to design algorithms using standard paradigms like: Greedy, Divide and Conquer, Dynamic Programming and Backtracking. Unit 3, 4, 5 3 Ability to design algorithms using advance data structures and implement traversals techniques. Unit 2, 5 4 Ability to understand NP class problems and formulate solutions using standard approaches. Unit 6 5Ability to apply algorithm design principles to derive solutions for real life problems and comment on complexity of solution. Unit 1,2,3,4,5,6

8 Grading Scheme: Internal Total: 40 marks Three Test: Best TWO [15 x 2 = 30 marks] Generally Third test will be complex. 10 marks distribution: (i) Class participation: 03 marks [may include attendance ] (ii) Class test – 1: 02 marks [Before T1] (iii) Class test – 2: 02 marks [Before T2] (iv) Programming assignment: 03 marks [Group of 2 students] (v) Challenging problems: [07 marks]

9 Probable Grading Scheme Maximum score: 85-95 Minimum score: 35-45 Last year cutoff: 42 out of 100 Lab course

10 Introduction: Algorithm Logical Sequence Well defined Discrete Step To describe solution of given problem in English language Can be converted into program by applying programming language Two different ways to convert algorithm into program Recursion Iteration Question: When to use recursion / iteration

11 Idea of Basis, Process and Proof Basis: Initial or final state Process: Transition logic Proof: Support / Test cases Example: Factorial algorithm Basis Process Proof Recursive / Iterative


Download ppt "Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak"

Similar presentations


Ads by Google