Tribhuvan University

Institute of Science and Technology

Bachelor of Science in Computer Science and Information Technology

Course Title: Design and Analysis of Algorithms

Course no: CSC314

Semester: V

Nature of course: Theory + Lab

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Credit Hours: 3

**Course Description : **
This course introduces basic elements of the design and analysis of computer algorithms. Topics include asymptotic notations and analysis, divide and conquer strategy, greedy methods, dynamic programming, basic graph algorithms, NP-completeness, and approximation algorithms. For each topic, beside in-depth coverage, one or more representative problems and their algorithms shall be discussed.

**Course Objective : ** Analyze the asymptotic performance of algorithms.
Demonstrate a familiarity with major algorithm design techniques
Apply important algorithmic design paradigms and methods of analysis.
Solve simple to moderately difficult algorithmic problems arising in applications.
Able to demonstrate the hardness of simple NP-complete problems

This course can be learnt in effective way only if we give focus is given in practical aspects of algorithms and techniques discussed in class. Therefore student should be able to implement the algorithms and analyze their behavior.

For the laboratory work, students should implement the following algorithms in C/ C++ and perform their analysis for time and space complexity.

- Basic iterative algorithms GCD algorithm, Fibonacci Sequences, Sequential and Binary Search.
- Basic iterative sorting algorithms: Bubble Sort, selection Sort, Insertion Sort.
- Binary Search with Divide and conquer approach.
- Merge Sort, Heap sort, Quick Sort, Randomized Quick Sort.
- Selection Problem with divide and Conquer approach
- Fractional Knapsack Problem, Job sequencing with deadline, Kruskal’s algorithm, Prims algorithm, Dijkstra’s Algorithm
- Implement the dynamic programming algorithms.
- Algorithms using Backtracking approach.
- Implement approximationAlgorithm.

- Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein, “Introduction to algorithms”, Third Edition.. The MIT Press, 2009.
- Ellis Horowitz, SartajSahni, SanguthevarRajasekiaran, “Computer Algorithms”, Second Edition, Silicon Press, 2007.
- Kleinberg, Jon, and Eva Tardos, “Algorithm Design”, Addison-Wesley, First Edition, 2005

HAMROCSIT.COM