Skip to content
SmartFigureEduExam kits ₹19

AD3251 · QP 20010 · Nov/Dec 2023

AD 3251 Data Structures Design question paper, November/December 2023

AD3251 exam kitRepeated questions + all papers, 1 PDF

Exam kit

Needed by the payment gateway. Not shared or used for marketing.

Secure payment by Cashfree Payments (UPI, cards, net banking). One-time payment, no subscription. The payment page may show StrangerYaar, the business that processes payments for SmartFigure.Terms · Refunds

Question Paper Code : 20010

B.E./B.Tech. DEGREE EXAMINATIONS, NOVEMBER/DECEMBER 2023.

Second Semester

Artificial Intelligence and Data Science

AD 3251 — DATA STRUCTURES DESIGN

(Common to : Computer Science and Business Systems)

(Regulations 2021)

Time : Three hoursMaximum : 100 marks

Answer ALL questions.

PART A — (10 × 2 = 20 marks)

  1. 1.

    Define data structures and how the data types are classified at the higher level.

  2. 2.

    What is recursion in data structure?

  3. 3.

    Find the Abstract Data Type in linked lists that has no NULL links, Justify.

  4. 4.

    List the applications of Stack ADT concerning computing systems.

  5. 5.

    What is recurrence for the worst case of QuickSort and what is the time complexity in the Worst case?

  6. 6.

    What is the load factor in data structure?

  7. 7.

    What is the difference between tree depth and height?

  8. 8.

    Define Heap in Data Structures. What are the properties of a heap?

  9. 9.

    Find the number of edges present in a complete graph having n vertices.

  10. 10.

    Define Complete Graph and Finite Graph.

PART B — (5 × 13 = 65 marks)

  1. 11.
    (a)
    • (i)Explain the Asymptotic Notations in detail and their types with a suitable example program.(8)
    • (ii)Write a short note on the namespace in python and its types.(5)
  2. Or
  3. (b)
    • (i)Discuss the shallow and deep copying and differentiate its pros and cons.(8)
    • (ii)Explain in short about python classes and objects.(5)
  4. 12.
    (a)
    • (i)Write a program to traverse a doubly linked list using only one space for the address field with every node.(8)
    • (ii)Explain the list ADT with an example.(5)
  5. Or
  6. (b)
    • (i)What is stack ADT and what are the various operations on Stack? Write the python program to perform its operation.(8)
    • (ii)What is Queue ADT and what are the various operations on Queue?(5)
  7. 13.
    (a)
    • (i)Suppose we are sorting an array A[2 5 1 7 9 12 11 10] using Bubble sort. Give all the steps while sorting the array. What is the best and worst case time complexity of Bubble sort?(8)
    • (ii)Define hash function. How will you calculate the hash function using division.(5)
  8. Or
  9. (b)
    • (i)Suppose we are sorting an array A[ 5 4 1 10 18 15 11] using Insertion sort. Give all the steps while sorting the array. Calculate its best time and worst time complexity based on the given example.(8)
    • (ii)Derive the time complexity of the quick sort algorithm.(5)
  10. 14.
    (a)

    The inorder and preorder traversal of a binary tree are "D B E A F C G" and "A B D E C F G", respectively. What would be the postorder traversal of the binary tree? Illustrate the steps.

  11. Or
  12. (b)

    Discuss about the AVL trees along with it's properties and advantages with suitable example.

  13. 15.
    (a)

    The adjacency matrix of a four-vertex graph is shown in below figure. List the sequence of nodes visited starting from vertex 4, in depth-first search on the graph. [Adjacency matrix with rows and columns A, B, C, D: A: 0 1 0 0; B: 1 0 1 0; C: 0 1 0 1; D: 0 0 1 0]

  14. Or
  15. (b)

    Discuss in detail about the tree traversal with a suitable example and explain various tree traversals methods.

PART C — (1 × 15 = 15 marks)

  1. 16.
    (a)

    Convert the given postfix expression ABC*+D/E-FQ* into a prefix and infix expressions and explain the procedure in detail. Illustrate the steps.

  2. Or
  3. (b)

    Consider the given undirected graph and apply Kruskal's Algorithm to find the minimum spanning tree. Illustrate the steps. [Figure: undirected graph with vertices A, B, C, D, E and edges A-B = 1, A-C = 7, B-C = 5, B-D = 3, B-E = 4, C-D = 6, E-D = 2]


Other AD3251 papers