This download link is referred from the post: JNTUH MCA 2nd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
Code No: 821AF R15
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
MCA I Semester Examinations, December - 2019
DATA STRUCTURES AND ALGORITHMS
Time: 3hrs Max.Marks:75
Note: This question paper contains two parts A and B.
--- Content provided by FirstRanker.com ---
Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
PART - A
5 x 5 Marks = 25
- a) Write an algorithm to insert an element in a single linked list [5]
- b) List and explain the applications of non linear data structures [5]
- c) Give a brief note on collision resolution methods. [5]
- d) Define a binary search tree and what are the properties of binary search tree. [5]
- e) What do you mean by a spanning tree. [5]
--- Content provided by FirstRanker.com ---
PART -B
5 x 10 Marks = 50
--- Content provided by FirstRanker.com ---
- Explain the Sequential and Linked allocation. Compare and contrast exponential time complexity with polynomial time complexity [5+5]
OR
Analyze the best, average and worst-case time complexities of linear search with an example list of size n. [10] - Write algorithm to implement depth-first search and explain with example. [10]
OR--- Content provided by FirstRanker.com ---
Explain the threaded binary trees: - Write disjoint set union and find algorithms. [5+5]
- Search for the element-3 in the array that contain 1,3,5,2,4,6,8 using binary search. [10]
OR
Explain hash tables and hash functions. [10] - Construct binary search tree for given data and write the different traversals of tree. (100 150 125 25 12 50 135 75 62 175). [10]
OR
Explain insertion and deletion operations on a B-Tree. [10] - Device an algorithm to find the optimal order of multiplying n matrices using dynamic programming technique. Give a brief note on Suffix tries. [5+5]
OR--- Content provided by FirstRanker.com ---
Find the shortest tour of traveling salesperson for the following cost matrix using Dynamic Programming [10]
--- Content provided by FirstRanker.com ---
0 12 15 11 ∞ 13
---00000---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 2nd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university