PREVIOUS YEAR QUESTION PAPER

EE5015 – Data Structures and Algorithms

Anna University

Regulation 2019 Semester 8 2024

Question Paper Details

University Anna University
Degree Multi Discipline Subjects
Department Multi Discipline Subjects
Regulation Regulation 2019
Semester 8
Subject Code EE5015
Subject Name Data Structures and Algorithms
Exam Session November / December 2024
Duration 3 Hrs.
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.

12Extracted entries
100Maximum marks (metadata)
UnavailableDuration (minutes)
0Choice candidates

Part-wise extracted questions

Part A10
Part B2

Question type candidates

Other Or Unclassified7
Definition3
Short Description2

Section marks require review. Marks charts are withheld.

Question navigator

Extracted questions

Part A — 1

Give the pseudo code for stacli insertion. 2 2 1

Other Or Unclassified

Source quality review required

Part A — 2

What is the disadvantage of a normal queue and how to 2 2 4 overcome?

Definition

Source quality review required

Part A — 3

Define full and complete binary tree. 2 I 1

Definition

Source quality review required

Part A — 4

Give any two advantages of an AVL tree. 2 1 2

Other Or Unclassified

Source quality review required

Part A — 5

List the different methods for selecting the pivot element in 2 2' quick sort. o zyxwvutsrqponmlkjihgfed

Short Description

Source quality review required

Part A — 6

Give the first step of Insertion Sort. What is the need for it? 2 J 4

Other Or Unclassified

Source quality review required

Part A — 7

State any two disadvantages of Greedy Algorithms. 2 zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQP2 2

Short Description

Source quality review required

Part A — 8

How does a Backtracking Algorithm work? 2 J 2

Other Or Unclassified

Source quality review required

Part A — 9

Give any two properties of Adjacency Matrix. 2 2 4

Other Or Unclassified

Source quality review required

Part A — 10

What is BFS with respect to Binary Trees? 2 2 4

Definition

Source quality review required

Part B — 11

a] i) Define Stack. List and explain the various main and 7 1 2 auxiliary operations on the same with Algorithms. ii) Evaluate the postfix expression 2 5 3 6 - I - * * 5 / 2 - 6 1 • J using stack? [OR] •~i b] i) Give the algorithm for finding the maximum and minimum 6 J zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPJ values in an array along with their positions. ii) Define Queue. Explain the various main and auxiliary 7 1 2 operations on the same with Algorithms.

Other Or Unclassified

Source quality review required

Part B — 12

a] i) List and explain the different AVL tree rotations mth 5 1 2 simple examples. 1zyxwvutsrqponmlkjihgfedcI P ;i g 0 3 ii) Show the step-by-step construction of the AVL Tree for the 8 1 given SequencezyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA10,15, 9,12,13, 79, 45, 36, 22. [OR] 7 2 2 b] i) Explain the different binary tree traversal techniques with a binary tree with at least 7 nodes. 6 2 2 ii) What are possible cases that may arise while deleting a node in a Binary Search Tree? Explain them with algorithms. 1 3 3 zyxwvutsrqponmlkjihgfedcb3 1 3 . a] Give the Heap Sort Algorithm with proper explanation. Show how the initial Heap is built for the values 1,3, 5, 4, 6,13,10, 9, 8,15,17 stored in an array. [OR] o 1 3 J J b] Explain the working of Bubble Sort and Selection Sort with Algorithms for the array {19,16, 25, 23, 32,22, 31, 10}. 1 3 4 J14. a] Write a note on Divide-and-Conquer algorithms design technique. Explain how the same is applied for merge sort with algorithm. [OR] 1 3 4 3 b] Give the algorithm for N-Queens problems with proper diagrams and explanations [start with 4-Queens problem]. 1 5 . al i) How are graphs represented in computers? 4 4 2 3 3 ii) Give the Algorithm for Breadth First Search for Graph 9 Traversal and carry out the same for the following graph [consider G as the source vertex - while adding to the nodes to queue do with alphabetical ordering]: [OR] b]' i) Give and explain Dijkstra's and Floy's Algorithms? 8 JozyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONM2 ii) How Depth First Search works on Graphs? 5 3 3

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.