



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Syllabus for Master of Computer Applications, 5th^ Semester Subject Name: Design and Analysis of Algorithms (DAA) Subject Code: 4659301
With effective from academic year 2018- 19
1. Learning Objectives:
To understand alternate methods of writing algorithms under various categories, such as Divide-and-Conquer, Dynamic Programming, Greedy Methods, Backtracking, Branch & Bound, etc. To be able to analyze algorithms by working out complexity of algorithms. To understand the basics of P, NP, and NP Complete problems
2. Prerequisites: Programming Language: C, Data Structure 3. Course Contents:
Sr. No.
Course Content Percentage Weightage 1 Basic Concepts of Analysis and Design of Algorithms Introduction; Characteristics of iterative algorithms; Efficiency of algorithms; Estimating and specifying execution time; Order notation: Big-Oh, Theta, Omega, Small-Oh, Small-Omega notations; Algorithm strategies
(^2) Algorithms Using Divide-and-Conquer Strategy Introduction; Examples: x**n; Multiplication algorithm and its analysis; Binary search and its analysis; Closest pair; Merge sort and its analysis; Limitations of Divide-and-Conquer strategy; Decrease-and-Conquer approach: Permutation generation
3 Greedy Methods Introduction; Knapsack problem; Job sequencing with deadlines; Minimum spanning trees: Prim's algorithm, and Kruskal's algorithm; Shortest path, Dijkstra's shortest path algorithm, Optimal merge patterns
(^4) Dynamic Programming Introduction; Examples: Coin exchange problem; Principle of Optimality; Rod cutting problem, Multistage graphs, Traveling salesman problem, Matrix multiplication, Longest common sub-sequence, Maximum flow problem
5 Backtracking, Branch and Bound Algorithms Combinatorial search; Search and traversal: Breadth First Search (BFS), Depth First Search (DFS); 8-Queen problem; M-Coloring problem; Hamiltonian circuits; Branch-and-Bound algorithms, Examples: Shortest path; 16-Puzzle and 8-Puzzle; Scale balancing, 0/1 Knapsack problem, Traveling salesman problem; Limitations of Branch-and-Bound
Syllabus for Master of Computer Applications, 5th^ Semester Subject Name: Design and Analysis of Algorithms (DAA) Subject Code: 4659301
With effective from academic year 2018- 19
6 Efficiency of Algorithms; Complexity Calculation and Categorization Polynomial-time and Non-polynomial-time algorithms; Worst and average case behavior, Probabilistic average case analysis; Time analysis of algorithms; Examples: Matrix multiplication; Efficiency of recursion; Complexity: Notion of complexity, Profiling, Suppressing multiplicative constants, Counting dominant operations, Growth rate, Upper bounds, Asymptotic growth rate; The 'O' notation; Simplified definition of 'O'; 'O' notation rules Examples of Complexity Calculation : Sorting examples: Bucket sort, Radix sort, Simple Insertion sort, Quick sort, Heap sort, Merge sort, Counting Sort; Binary, Binomial and Fibonacci Heaps; Binomial Heap; Dijkstra's shortest path algorithm; Complexity Categorization of Problems : Introduction: P, NP, NPC, NPH; Upper and lower bounds; Four levels of algorithmic behavior; summary
4. Text Book(s): 1. Parag H Dave, Himanshu B Dave, “Design and Analysis of Algorithms”, Pearson, 2nd Edition (2014) 5. Reference Books: 1. Thomas H. Cormen, Charles E. Leiserson, Ronald L Rivest, Clifford Stein, “Introduction to Algorithms”, PHI, 2nd^ Edition 2. Anany Levitin, “Introduction to Design and Analysis of Algorithms”, Pearson (2014) 3. S. Baase, “Computer Algorithms: Introduction to Design and Analysis”, Pearson (2002) 4. Kleinberg, “Algorithm Design”, Pearson (2013) 5. Ellis Horowitz, Sartaj Sahni, Sanguthevar Rajasekaran, “Fundamentals of Computer Algorithms”, Universities Press, 2nd^ Edition (2008) 6. Thomas H. Cormen, “Algorithms Unlocked”, MIT Press (2013) 7. Sanjay Dasgupta, “Algorithms”, McGraw-Hill (2006) 8. Gerard Tel, “Introduction to Distributed Algorithms”, Cambridge University Press (2004) 6. Unit wise coverage from Text book(s):
Unit 1 Topics I Chapter-1; Chapter- 4 II Chapter-9 (9.1: Ex-1; 9.2: Ex-5, Ex-7, Ex-9; 9.4; 9.6.1, 9.6.2) III Chapter-10 (10.1, 10.2, 10.3, 10.4.1-10.4.4, 10.5, 10.6) IV Chapter-11 (11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 11.9) V Chapter-12 (12.1; 12.2; 12.3; 12.4.2, 12.4.3; 12.6.1, 12.6.3, 12.6.4, 12.6.6, 12.6.7) VI Chapter-14 (14.1, 14.2, 14.3, 14.3.1, 14.4, 14.5, 14.5.1-14.5.11); Chapter- 15 (15.1, 15.2, 15.4, 15.5); Chapter-17 (17.1, 17.2, 17.3, 17,18)
Syllabus for Master of Computer Applications, 5th^ Semester Subject Name: Design and Analysis of Algorithms (DAA) Subject Code: 4659301
With effective from academic year 2018- 19
B) List of Lab Exercises ( Write optimized code)
For example: A = "ab", B = "cd" All possible strings are: { abc, abcd, abd, ac, acb, acbd, acd, acdb, ad, adb, bc, bcd, bd, ca, cab, cabd, cad, cadb, cb, cbd, cda, cdab, cdb, da, dab, db }
Example: For given string "AB", all combinations are {AA, AB, BA, BB} One string containing all these combinations is AAABBABB. But this is not the shortest. Shortest string containing all combinations is AABBA Such a string is called
C) List of Desirable Lab Exercises (Write Algorithms and Implement in C Language) For the following problems, students are expected to write one or more (as the case may be) algorithms along with the complexity of these algorithms, and implement them in C Language.
Syllabus for Master of Computer Applications, 5th^ Semester Subject Name: Design and Analysis of Algorithms (DAA) Subject Code: 4659301
With effective from academic year 2018- 19
Reference Books: .Parag H Dave, Himanshu B Dave, “Design and Analysis of Algorithms”, Pearson (2014) .Anany Levitin, “Introduction to Design and Analysis of Algorithms”, Pearson (2014) .Thomas H. Cormen, “Algorithms Unlocked”, MIT Press (2013)
Accomplishment of the student after completing the course: The student will be able to write one (and sometimes more than one) algorithm to solve a given problem. (S)he will be able to determine complexity of algorithms and select the most efficient algorithm for a given task.