PREVIOUS YEAR QUESTION PAPER

IT23401 – Advanced Data Structures

Anna University

Regulation 2023 Semester 4 2025

Question Paper Details

University Anna University
Degree B.Tech. Information and Technology
Department Information and Technology
Regulation Regulation 2023
Semester 4
Subject Code IT23401
Subject Name Advanced Data Structures
Exam Session April / May 2025
Duration 3hrs
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

20Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
5Choice candidates

Part-wise extracted questions

Part A9
Part B10
Part C1

Question type candidates

Other Or Unclassified18
Derivation2

Section marks — arithmetic candidates

Part A20 marks
Part B65 marks
Part C15 marks

Recorded Bloom level candidates

BL L23
BL L31

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51365
C11515

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B117.0 min
Part C27.0 min

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 11: Option a · Option b
Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

Prove that multi pop operation costs 0(1) amortized time. 2 C O l L2

Derivation

Source quality review required

Part A — 2

Do amortized cost and Average case analysis are same? Justify 2 C O l LS your answer with a clear example.

Other Or Unclassified

Source quality review required

Part A — 3

Write down the properties of Red Black Tree with a neat example 2 C 0 2 L2 depicting each property.

Other Or Unclassified

Source quality review required

Part A — 4

Search the key 8 in the following splay tree and simulate the 2 C 0 2 L2 results step by step: 0 ^ 0 0 (i) 0 © ( z ) ^ S Analyze the Complexity of Binomial heap, Fibonacci heap and 2 COS L2 Leftist heap with respect to Merge, Insert and Deletemin operations.

Other Or Unclassified

Source quality review required

Part A — 6

Merge the following two heaps and draw the resultant leftist heap, 2 COS LS (lo) ( T ) (m ( T ) ( ^ //| (33) Hj

Other Or Unclassified

Source quality review required

Part A — 7

When a relation would become an Equivalence Relation? Write 2 C 0 4 L2 down its properties with suitable examples.

Other Or Unclassified

Source quality review required

Part A — 8

Derive the complexity if Union by Rank and Path compression has 2 C 0 4 L3 been performed together in a Disjoint Set.

Derivation

Source quality review required

Part A — 9

Write a recursive code to perform Depth First Search in a given 2 COS L3 graph.

Other Or Unclassified

Source quality review required

Part A — 10

Write down the Max flow - Min Cut Theorem. Mention the 2 COS L2 significance of this theorem.

Other Or Unclassified

Source quality review required

Part B — 11a

(a)(i) Draw a digital circuit of k bit Binary counter (8-bit) and implement C O l L3 the s?ime using a suitable algorithrr!. Record the numiber of flips after every increment in a sequence of n increments in a worst case scenario. (ii) Derive the amortized cost of Binary Counter implemented in the C O l L3 above problem using Aggregate method and Potential Method.

Other Or Unclassified

Source quality review required

Part B — 11b

(b) (i) Derive the amortized cost per operation for Dynamic Table implementation using Aggregate analysis and Potential Method with a neat illustration. (Simulate the insertions in Dynamic Table to prove the amortized cost using aggregate analysis) Write down the properties of Skip list. In the following skip list, simulate the process of inserting the elements I S , 24 and deleting the elements 12 and 22. >+-> 2(1 23

Other Or Unclassified

Source quality review required

Part B — 12a

(a) (i) Construct an AVL tree with values 23,22,21,24,25,26,27,36,45,44 into an initially empty tree. Delete 24, 36 from, the tree. Simulate the tree that results after each insertion and deletion. Perform post order traversal of the resultant tree. Write suitable routines to delete a given node from an AVL tree with necessary rotations (Deletion algorithm) (ii) Construct a B- Tree of order 4 for the following elements: "MM", "AC", "GG", "PQ", "PS", "MN", "LL", "LK", "LT", "NN". Further delete the elements AC, PQ, LL.

Other Or Unclassified

Source quality review required

Part B — 12b

(b) (i) Simulate the step by step process of inserting the following C 0 2 L3 numbers one by one in the Red-Black tree: 8S 1S 17 20 70 80 100 65 90 45 SS 30 Draw the figures depicting your tree immediately after each insertion and identify the rebalancing rotation or color change (if any). Further delete the following elements from the constructed tree: 20 70 17 4S . • (ii) Write down the algorithms involved in the process of Inserting a 4 C 0 2 L3 new element in a Top down splay tree using Templates.

Other Or Unclassified

Source quality review required

Part B — 13a

(a) i) Create a Fibonacci Heap with the following numbers: 8 C 0 3 L3 25, 20, 16, 30, 19, 2 1 , 55, 71, 18, 32, 24, 36, 42 i) After Creation, perform DeleteMin operation twice. ii) Further decrease the keys 30 to 21 and 20 to 1 in the Fibonacci Heap. ii) Write down the DeleteMin and DecreaseKey algorithms of 5 C 0 3 L3 Fibonacci Heap and denve its amortized cost using aggregate analysis.

Other Or Unclassified

Source quality review required

Part B — 13b

(b) (i) Write suitable algorithms to perform Insert, DeleteMin and Merge 8 C 0 3 L3 operations in a Binomial heap. (ii) If a set of key priority pairs (k,p) has been followed while creating 5 C 0 3 L3 Treaps, Construct a Treap with the following randomly generated (keyT-priority) pairs : (10, 35), (20, 10) , (80, 65), (90, 15), (50, 25), (60, 17), (95,32) (30, 56). Delete the pairs (80, 65) and (30, 56)

Other Or Unclassified

Source quality review required

Part B — 14a

(a) (i) If singleton sets of the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 9 C 0 4 L3 ,13,14 are available. Show the result of the following sequence of instructions when performed: union(1,2), union(3,4), union(3,5), union(1,7), union(3,6), union(8,9), union(1,8), union(3,10), union (3,11), union(3,12), union(3,13), union(14,15), union(16,0), union(14,16), union (1,3), union(1, 14) a. union arbitrarily b. union by size c. union by height (ii) Write about the Dynamic Equivalence Problem. Write down the 4 C 0 4 L2 pseudocode to find the representative element of the Set.

Other Or Unclassified

Source quality review required

Part B — 14b

(b) (i) Construct a Minimum Cost Spanning Tree for the following graph 9 C 0 4 L3 using Disjoint Sets. Consider each of the vertices as a singleton set during the construction of spanning tree. Write down the algorithm involved behind this process. 1 (ii) Perform Path compression for the following Disjoint Set if Find(9) 4 C 0 4 L3 has been performed. Simulate the process step by step with a suitable algorithm: root cn Q « m >> o Z £ N 1 © © ®

Other Or Unclassified

Source quality review required

Part B — 15a

(a) (i) Consider the following directed weighted graph- Using Floyd- 9 C 0 5 L3 Warshall Algorithm, find the shortest path distance between every pair of vertices in a step by step manner. Also write down its algorithm. 4 1 ( A r 0 HJ) ii) Draw a depth first spanning tree for the following graph starting at 4 C 0 5 L3 the node 0 and identify the articulation points of the graph in a step by step manner: Q—© ©

Other Or Unclassified

Source quality review required

Part B — 15b

(b) (i) Find out the shortest path from the source vertex (A) to all other 9 C 0 5 L3 vertices in the following graph using Bellman ford algorithm. Also, Write down the algorithm used to compute the shortest path Nodes of the following network are connected with each other with COS L3 a strong relation. Strongly connected nodes form a group. Spot out the connected components which are strong in the following network by simulating the results in a step by step manner. / > / i ( 2 k Cl>

Other Or Unclassified

Source quality review required

Part C — 16

(i) Develop an application to design an INDEX CHAIN which 8 C02 L6 C03 attempts to store the strings in the following manner: C CA CAR C A R S CAB C A B L E C A B L E S etc. Write appropriate functions to perform the following operations: a) Adding of a new word in INDEX b) Checking the presence of word using its prefix. c) Auto complete the word during the search, if the string "CA" Is given. (ii) Assume a networking company with the structure shown below 7 COS 1=4 wants to provide a real time streaming of data with better performance by optimizing maximum flow of information between the sender and receiver. Amount of data received by the intermediary nodes should be disbursed immediately. a) Provide a step by step solution to this problem by optimizing the maximum flow of information between sender and receiver. b) Write down the equations which depicts the flow of network (Residual flow and Augmented path).

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.