Skip to content

// Anna University, Chennai / 2021

Anna University — Data Structures (CS8391), November/December 2021

Data Structures · CS8391 · R2017 · B.E./B.Tech. (shared paper)

Files open in a new tab. Use your browser's download or save option to keep a copy.

Questions

16

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16

Has an official figure

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part AUnit 1Descriptive2 marks

    Data Structures

    When arrays are better than linked list? Give an example.

    No verified answer or solution is available for this question.

  2. Question 2

    Part AUnit 1Descriptive2 marks

    Data Structures

    What is the benefit of circularly linked list over singly linked list in search applications?

    No verified answer or solution is available for this question.

  3. Question 3

    Part AUnit 2Descriptive2 marks

    Data Structures

    What are the necessary conditions for insertion and deletion operations on static Stack?

    No verified answer or solution is available for this question.

  4. Question 4

    Part AUnit 2Descriptive2 marks

    Data Structures

    What conversion is required for a queue data structure to behave as a circular queue?

    No verified answer or solution is available for this question.

  5. Question 5

    Part AUnit 3Descriptive2 marks

    Data Structures

    Give the structure of a node in a B+ tree.

    No verified answer or solution is available for this question.

  6. Question 6

    Part AUnit 3Descriptive2 marks

    Data Structures

    Mention some problems for which heaps are more applicable.

    No verified answer or solution is available for this question.

  7. Question 7

    Part AUnit 4Descriptive2 marks

    Data Structures

    Differentiate between weakly connected graph and strongly connected graph.

    No verified answer or solution is available for this question.

  8. Question 8

    Part AUnit 4Descriptive2 marks

    Data Structures

    What is the significance of articulation points in graphs?

    No verified answer or solution is available for this question.

  9. Question 9

    Part AUnit 5Descriptive2 marks

    Data Structures

    Write the procedure for shell sort algorithm.

    No verified answer or solution is available for this question.

  10. Question 10

    Part AUnit 5Descriptive2 marks

    Data Structures

    What is the reason for collision in hashing technique?

    No verified answer or solution is available for this question.

  11. Question 11

    Part BUnit 1Descriptive13 marks

    Data Structures

    (a) Write procedures or pseudo codes for the following operations on circular linked lists: (i) insertion. (4) (ii) deletion. (5) (iii) count. (4) (OR) (b) Implement the polynomial addition using singly linked list. Have procedures for insertion, comparison and addition of node values of this polynomial application. (4+5+4)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BUnit 2Descriptive13 marks

    Data Structures

    (a) Write procedures for significant operations on a Stack data structure. Apply stack, to convert the following infix expression to the corresponding postfix expression: a + b / (d - e) – f. (9+4) (OR) (b) Write procedures for significant operations on a Queue data structure. List any four applications of queue data structure. (9+4)

    No verified answer or solution is available for this question.

  13. Question 13

    Part BUnit 3Descriptive13 marks

    Data Structures

    (a) Construct a binary search tree by inserting 3, 1, 4, 9, 6, 5, 2, 8, and 7 into an initially empty tree. Show the results of deleting the nodes 1 6 and 7 one after the other of the constructed tree. (8+5) (OR) (b) (i) Illustrate the construction procedure of Expression trees with suitable example. (8) (ii) Distinguish between binary trees and threaded binary tree. (5)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BUnit 4Descriptive13 marks

    Data Structures

    (a) (i) Give the graph traversal procedures for DFS and BFS. (9) (ii) Give the order of traversing the nodes of the graph given in figure: Q.14(a), when DFS and BFS are applied on the same. (4) (OR) (b) (i) What are Eulerian circuits and Eulerian paths? (4) (ii) Give the procedure to determine Euler circuit. (5) (iii) Does the figure: Q.14(b) has Euler circuit(s)? (2) (iv) Does it have any Euler path. If so, list. (2)

    Official figure for question 14, figure 1 of 2
    Q14(a) — traversal graph
    Official figure for question 14, figure 2 of 2
    Q14(b) — Euler circuit graph

    No verified answer or solution is available for this question.

  15. Question 15

    Part BUnit 5Descriptive13 marks

    Data Structures

    (a) (i) Illustrate the linear search algorithm with suitable example. (6) (ii) Trace the working of insertion sod algorithm on an unordered dataset of size. (7) (OR) (b) Explain the various collision resolution strategies followed in hashing techniques. (13)

    No verified answer or solution is available for this question.

  16. Question 16

    Part CUnits 1, 3Descriptive15 marks

    Data Structures

    (a) Construct an AVL tree by inserting 4, 1, 2, 5, 6, 17, 3, and 7 into an initially empty tree. Show the results of deleting the nodes 1, 6 and 7 one after the other of the constructed tree. Give the order of visiting the nodes by applying the post order traversal algorithm. (6+6+3) (OR) (b) Consider the following problem scenario: In recording scores for a golf tournament, we enter the name and score of the player as the player finishes. This information is to be retrieved in each of the following ways: * Scores and names can be printed in order by ascending or by descending scores. * Given the name of a player, other players with the same score can be printed. Give procedures by using the doubly linked list data structure, for implementing a solution for the problem. (8+7)

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam