Couse File_advanced Data Structures&Algorithms
Couse File_advanced Data Structures&Algorithms
COURSE FILE
For
ADVANCED DATA STRUCTURES & ALGORITHMS / 20A05301T
(AY 2022-23 II B.TECH CSE I Semester)
Prepared by
G.JAYAGOPI
Associate Professor
Department of
-COMPUTER SCIENCE AND ENGINEERING
`
INDEX
PART I
1. Syllabus
2. Course Information Sheet
3. Course Objectives, Course outcomes
4. Mapping onto PEO & PO
5. Lesson Plan
6. Lecture Notes
7. University Question Paper
8. Internal Question Paper’s With Key
9. Assignment Topics
10. Tutorial Sheets
11. Unit wise Question Bank
12. Gaps & Plans for Add-On Programs
13. Topic beyond the syllabus - References
14. Web References
15. Teacher Log Book/ Attendance Register
`
Course Objectives:
Learn asymptotic notations, and analyze the performance of different algorithms.
Understand and implement various data structures.
Learn and implement greedy, divide and conquer, dynamic programming and backtracking algorithms using
relevant data structures.
Understand non-deterministic algorithm, polynomial and non-polynomial problems.
Course Outcomes:
Analyze the complexity of algorithms and apply asymptotic notations.
Apply non-linear data structures and their operations.
Understand and apply greedy, divide and conquer algorithms.
Develop dynamic programming algorithms for various real-time applications.
Illustrate Backtracking algorithms for various applications.
TEXTBOOKS:
`
Seminar Topics:
1. REASONING SYSTEMS FOR CATEGORIES
2. TRUST AND REPUTATION IN MULTI-AGENT SYSTEMS
Course Assessment:
1. 30 Marks for Internal + 70 Marks for University Examination.
HOD
`
LESSON PLAN
Board
T1(848 – 854) Black
20 Problems 2 5
Board
21 Splay - Trees T1(855 – 860) 1 6 PPT
22 Definition and Operations, Properties, Types T1(861 – 863) 1 7 PPT
T1(864 – 867) Black
23 Problems, Applications 2 9
Board
T1(876 – 880) Black
24 Hash Tables, Introduction 2 11
Board
T1(881 – 882) Black
25 Hash Structure, Hash Functions 2 13
Board
T1(883 – 888) Black
26 Linear Open Addressing 1 14
Board
T1(889 – 898) Black
27 Chaining and Applications 1 15
Board
UNIT IV Divide and Conquer, Greedy T1(904 – 907) Black
28 Method: 1 1 Board
General method, applications
T1(908 – 912) Black
29 Binary Search, 1 2
Board
T1(913 – 922) Black
30 Finding Maximum and Minimum 1 3
Board
T1(923 – 928) Black
31 Quick sort 1 4
Board
T1(945 – 957) Black
32 Merge sort 1 5
Board
T1(958 – 961) Black
33 Strassen’s matrix multiplication. 1 6
Board
34 Greedy method: General method, applications T1(962 – 972) 1 7 PPT
35 Job sequencing with deadlines T1(973 – 975) 1 8 PPT
36 Knapsack problem, T1(976 – 980) 1 9 PPT
37 Minimum cost spanning trees T1(986 – 987) 1 10 PPT
38 Single source shortest path problem T1(988 – 991) 1 11 PPT
UNIT V Dynamic Programming & T1(1001 – 1017) Black
39 Backtracking: 1 1 Board
General method, applications
T1(1018 – 1020) Black
40 0/1 Knapsack problem 1 2
Board
T1(1021 – 1034) Black
41 All pairs shortest path problem 1 3
Board
T1(1035 – 1040) Black
42 Travelling salesperson problem 1 4
Board
T1(1041 – 1048) Black
43 Reliability design 1 5
Board
T1(1049 – 1055) Black
44 Backtracking: General method, applications 1 6
Board
45 n-queen problem T1(1059 – 1061) 1 7 PPT
46 Sum of subsets problem T1(1062 – 1063) 1 8 Black
`
Board
47 Graph coloring, Hamiltonian cycles. T1(1064 – 1065) 1 9 PPT
Introduction to NP-Hard and NP-Complete T1(1066 – 1068) Black
48 1 10
problems: Basic Concepts. Board
TEXTBOOKS:
1. Data Structures and algorithms: Concepts, Techniques and Applications, G A V Pai.
2. Fundamentals of Computer Algorithms, Ellis Horowitz, Sartaj Sahni and Rajasekharam, Galgotia
publications Pvt. Ltd.
REFERENCE BOOKS:
1. Classic Data Structures by D. Samanta, 2005, PHI
2. Design and Analysis of Computer Algorithms by Aho, Hopcraft, Ullman 1998, PEA.
3. Introduction to the Design and Analysis of Algorithms by Goodman, Hedetniemi, TMG.
QUESTION BANK
SUBJECT : Advanced Data Structures & Algorithms YEAR / SEM: II Year / I Sem
UNIT I
PART-A
Q.No Questions BT Competence
Level
1 Express the term data structures. BTL 2 Understand
PART B
1 i).Summarize on different types of data structures BTL 5 Evaluate
ii). Explain the various ADTs.
2 List the various set representations in data structures. BTL 1 Remember
8 Recall the different types of trees along with example. BTL 2 Understand
11 Find the various sorting techniques write an elaboration for BTL 1 Remember
Radix sort
12 Compare and Contrast Heap sort and Quick sort BTL 4 Analyze
13 Analyze theO(n log n) for any of the sorting techniques. BTL 4 Analyze
UNIT II
PART-A
Q.No Questions BT Competence
Level
1 Apply the hashing technique to implement. BTL Apply
3
2 Analyze the fundamental operations of set. BTL Analyze
4
3 Construct the Binary Tree. BTL Apply
`
3
4 List the features of Binary search Tree. BTL Remember
1
5 What is optimal binary search? BTL Remember
1
6 Compare and Contrast Binary Tree and Binary search Tree. BTL Understand
2
7 Illustrate a simple disjoint-set union algorithm. BTL Apply
3
8 Perform traversal in Binary tree BTL Analyze
4
9 Contrast heaps and queues with examples. BTL Understand
2
10 Develop set union algorithm. BTL Create
6
11 Name the dictionaries. BTL Remember
1
12 Formulate the steps of merge able heaps. BTL Create
6
13 Evaluate priority Queues. BTL Evaluate
5
14 Define concatenable queues. BTL 1 Remember
PART-B
1 i).Discuss fundamental operations of sets. BTL Understand
ii).Express an example for the operations on set. 2
11 Express the local search algorithm along with an example. BTL Understand
2
12 i).Explain the String algorithm. BTL Analyze
ii).Point out the advantages of parallel algorithm. 4
14 Show the advantages of Randomized algorithm along with the BTL Apply
apllications 3
UNIT IV
PART-A
Q.No Questions BT Competence
Level
1 Describe Binary search Tree. BTL Understand
2
2 Illustrate on insertion and deletion of Red Black Tree. BTL Apply
3
3 List the properties of Red Black Tree. BTL Remember
1
4 Analyze the term rotation. BTL Analyze
4
5 Quote the importance of Red Black Tree. BTL Remember
1
6 Define B Tree BTL Remember
1
7 Express the insertion operation in B Tree BTL Understand
2
8 State deletion key in B Tree. BTL Remember
1
9 Differentiate Binary search tree and B Tree. BTL 2 Understand
14 Discriminate Binary Search Tree and Red Black tree. BTL Evaluate
5
15 Quote rotation process in trees. BTL Remember
1
16 Express the deletion mechanism of binary search tree. BTL Understand
2
17 Formulate the operation of merge able heaps. BTL 6 Create
18 Categorize the process of decreasing the key value and BTL Analyze
deleting a node. 4
`
6 i).Point out the basic operations of Binary search tree BTL Analyze
ii).Compare and contrast B Tree and Binary search tree 4
7 Evaluate the features of Red Black Tree with an example. BTL Evaluate
5
8 i).Classify the insertion process of Red Black tree BTL Analyze
ii).Analyze on rotation of a node. 4
12 List and explain the various operations of merge able heap BTL Remember
with an example. 1
UNIT V
PART-A
Q.No Questions BT Competence
Level
1 Distinguish strong connectivity and weak connectivity. BTL Understand
2
2 Define the term minimum cost spanning tree BTL Remember
1
3 Give an example for minimum cost spanning tree BTL Understand
2
4 Compare depth first and breadth first. BTL Analyze
4
5 What is biconnectivity? BTL Remember
1
6 Define directed graph. BTL Remember
1
7 State strong connectivity. BTL Remember
1
8 Evaluate the path finding problems. BTL 5 Evaluate
4 Express the steps for depth first search with an example, BTL 2 Understand
5 i). Analyze the steps for depth first search BTL Analyze
ii).What do you understand by biconnectivity 4