Oriental College of Technology, Bhopal: Department of Computer Science & Engineering
Oriental College of Technology, Bhopal: Department of Computer Science & Engineering
Department
Of
Computer Science & Engineering
Course File:JAN JUN 2022
COURSE FILE
Course Bachelor Of Technology (B.TECH)
Branch CSE
Subject Analysis & Design of Algorithm
Subject Code CS-402
Semester IV
Session JAN-JUN 2022
Faculty Name MR. SUJEET KUMAR
Scheme New Scheme B.TECH (w.e.f. July, 2018)
CBGS-
Maximum Marks Allotted
Theory Practical
Marks Allotted End Mid Quiz, End Lab Assignment Total
Structure Sem Sem. Assignmen Sem Work / Quiz/Term Marks
MST t paper
70 20 10 30 10 10 150
NOTE: MST: Minimum of two mid semester tests to be conducted.
Index
Analysis & Design of Algorithm 2022
Vision of
The department commits to adopt latest development in the field
the
of technology and industry to make undergraduates employable
Department
and excel in the field of research and entrepreneurship.
PEO 1:
Analysis & Design of Algorithm 2022
PSO1 PSO2
CO1 3 2
CO2 2 2
CO3 2 2
CO4 2 2
CO5 2 2
AVG 2.2 2
CS402 2.2 2
CO vs. PO Mapping
Course PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CS402
3 3 2.8 2 - 1 - - 1 - - 2
University Scheme
Analysis & Design of Algorithm 2022
Syllabus
Unit 1
Analysis & Design of Algorithm 2022
Unit 2
Study of Greedy strategy, examples of greedy method like optimal merge patterns, Huffman coding,
minimum spanning trees, knapsack problem, job sequencing with deadlines, single source shortest path
algorithm
Unit 3
Concept of dynamic programming, problems based on this approach such as 0/1 knapsack, multistage
graph, reliability design, Floyd-Warshall algorithm
Unit 4
Backtracking concept and its examples like 8 queen’s problem, Hamiltonian cycle, Graph coloring
problem etc. Introduction to branch & bound method, examples of branch and bound method like
traveling salesman problem etc. Meaning of lower bound theory and its use in solving algebraic problem,
introduction to parallel algorithms.
Unit 5
Binary search trees, height balanced trees, 2-3 trees, B-trees, basic search and traversal techniques for
trees and graphs (In order, preorder, postorder, DFS, BFS), NP-completeness.
References:
1. Coremen Thomas, Leiserson CE, Rivest RL; Introduction to Algorithms; PHI.
2. Horowitz & Sahani; Analysis & Design of Algorithm
3. Dasgupta; algorithms; TMH
4. Ullmann; Analysis & Design of Algorithm;
5. Michael T Goodrich, Robarto Tamassia, Algorithm Design, Wiely India
6. Rajesh K Shukla: Analysis and Design of Algorithms: A Beginner's Approach; Wiley
Analysis & Design of Algorithm 2022
References
PUBLISHER /
S.No. TITLE AUTHOR YEAR
EDITION
Coremen Thomas,
PHI Learning Private
R1 Introduction to Algorithms Leiserson CE, Rivest
Limited
RL
Analysis & Design of
R2 Horowitz & Sahani
Algorithm
Analysis & Design of Algorithm 2022
Study of Greedy strategy, examples of greedy method like optimal merge patterns,
Huffman
coding, minimum spanning trees, knapsack problem, job sequencing with deadlines,
single source
shortest path algorithm
Concept of dynamic programming, problems based on this approach such as 0/1 knapsa
Backtracking concept and its examples like 8 queen’s problem, Hamiltonian cycle,
Graph
coloring problem etc. Introduction to branch & bound method, examples of branch and
bound
method like traveling salesman problem etc. Meaning of lower bound theory and its use
in solving algebraic problem, introduction to parallel algorithms.
Binary search trees, height balanced trees, 2-3 trees, B-trees, basic search and traversal
techniques for trees and graphs (In order, preorder, postorder, DFS, BFS), NP-
completeness.
Find the huffman’s code for ten files whose lengths are:- 64 ,20, 34 ,25, 46, 51, 27, 84 ,1
a and 12. Also find its total bits required.
8
Explain the Multistage graph problem, Also find out the optimal path from
source to destination vertex in following graph.
1
b 8
3 Explain Reliability Design and Design a three stage system with device types
D1, D2, D3. The costs are Rs. 30, Rs. 15 and Rs. 20 respectively. The cost of the
b 8
system is to be no more than Rs. 105. The reliability of each device type is 0.9,
0.8 and 0.5 respectively.
Assignment-I
Semester: IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Analysis & Design of Algorithm 2022
Assignment-II
Semester: IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
S. No Questions Reference to
Analysis & Design of Algorithm 2022
Assignment-III
Semester: IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to
S. No Questions
Course Outcome
1 Explain Dynamic programming. What is the principle of CO3
Analysis & Design of Algorithm 2022
Assignment-IV
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to
SNo Questions
Course Outcome
1 What is backtracking concept for designing an algorithm CO4
Use backtracking formulation to solve 4-Queen and 8- CO4
2
Queen problem.
Analysis & Design of Algorithm 2022
Assignment-V
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to
SNo Questions
Course Outcome
What is Binary Search Tree? Explain various tree traversal CO5
1
techniques.
2 The following keys are to be inserted in the order shown into an CO5
AVL tree :A, Z, B, Y, C, X, D, W, E, V, F
Analysis & Design of Algorithm 2022
Tutorial-I
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to
SNo Questions
Course Outcome
1 Write an algorithm for Heap sort and analyze its time requirements CO1
What do you understand by priori and posteriori analysis. Explain CO1
2
the RAM model to analyze an algorithms time complexity.
Analysis & Design of Algorithm 2022
Tutorial-II
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to
SNo Questions
Course Outcome
1 What is Huffman coding explain with example? CO1
Tutorial-III
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject
Code: CS402
Reference to
SN
Questions Course
o
Outcome
1 What is Multistage graph? Explain CO3
2 What is Multistage graph problem? Discuss its solution based on Dynamic CO3
programming approach. Give a suitable algorithm and find its computing
time.
Analysis & Design of Algorithm 2022
Tutorial-IV
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to Course
SNo Questions
Outcome
What is graph coloring problem? How it can be solved using back CO4
1
tracking ?
What are Hamiltonian cycles? Write the algorithm which finds all CO4
2
Hamiltonian cycles in a graph
Analysis & Design of Algorithm 2022
Tutorial-V
Semester : IV
Subject Name: Analysis & Design of Algorithm Subject Code: CS402
Reference to Course
SNo Questions
Outcome
What is 2-3 trees? Explain with example. CO5
1
Define B-tree. Prove that if n>=1, then for any n-key, B-tree of height h CO5
2 and minimum degree t>=2 , h<=log t {(n+1)/2 } .
Analysis & Design of Algorithm 2022