munotes® Sign in

B.Sc. (Computer Science) Sem 3 Data Structures 2023-24 Question Paper - Mumbai University | munotes

Data Structures Question Paper, 2023.pdf
SEM 3 · 1 May 2025

Loading PDF...

Questions asked in this paper

  • N.B. (1) All questions are compulsory. (2) Figures to the right indicate marks. (3) Illustrations, in-depth answers and diagrams will be appreciated. (4) Mixing of sub-questions is not allowed.
Solved paper All 24 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

SECTION I - Q.1 (Attempt any three) 20 Marks

  1. 1. What is Linked List? Explain different ADT of Linked List.
    Read the model answer
  2. 2. How to insert new node at the beginning of Linked List?
    Read the model answer
  3. 3. How to use Stack for balanced delimiter? Explain with suitable example.
    Read the model answer
  4. 4. Give an algorithm for reversing a queue Q. To access the queue, we are only allowed to use the methods of queue ADT.
    Read the model answer
  5. 5. What is data structures? Explain classification of data structures.
    Read the model answer
  6. 6. Consider following infix expression and convert it into prefix and postfix notation. K + L - M * N + (O / P) * W / U / V * T + Q
    Read the model answer

SECTION II - Q.2 (Attempt any three) 20 Marks

  1. 1. Write short note on Balanced BST.
    Read the model answer
  2. 2. What is Doubly Linked List? State its advantages and disadvantages.
    Read the model answer
  3. 3. Consider following elements and draw min Heap. 70 80 50 45 95 25 30 100 90 85 15 10 marks
    Read the model answer
  4. 4. Consider following tree and find out inorder, preorder, postorder traversals. [Figure: a binary tree with root A; A's children B and C; B's children D and E; C's children F and G; D's children H and I; J below F, to its right. The edges are faint on the scan and are read from the positions of the nodes.]
    Read the model answer
  5. 5. Consider following string ABCADFABAEF and find the code using Huffman algorithm. Symbol (Frequency): A 4, B 2, C 1, D 1, E 1, F 2.
    Read the model answer
  6. 6. What are different advantages and disadvantages of Priority Queue?
    Read the model answer

SECTION III - Q.3 (Attempt any three) 20 Marks

  1. 1. Consider above graph and find traversal using DFS. [The figure above it on the paper is the tree of Q.2 (4).]
    Read the model answer
  2. 2. A hash table of length 10 uses open addressing with hash function h(k)=k mod 10, and linear probing. After inserting 6 values into an empty hash table, the table is as shown below. Find the sequence in which key values could have been inserted in the table? [Table: slot 0 empty, 1 empty, 2 42, 3 23, 4 34, 5 52, 6 46, 7 33, 8 empty, 9 empty.]
    Read the model answer
  3. 3. Find out the shortest path of given graph using Dijkstra's Algorithm. [Figure: a directed weighted graph on A, B, C, D and E with the edges A to B 4, A to C 1, C to B 2, C to D 4, B to E 4 and D to E 4.]
    Read the model answer
  4. 4. Write a short note on Collision Resolution Techniques.
    Read the model answer
  5. 5. What is Graph? What are different types of Graphs?
    Read the model answer
  6. 6. Consider following graph and draw Adjacency matrix and Adjacency list. [Figure: an undirected graph on the vertices 0 to 9 with the edges 0-1, 0-2, 0-3, 0-5, 1-3, 1-4, 1-6, 2-3, 2-5, 3-4, 3-5, 3-6, 4-6, 5-6, 5-7, 6-7, 7-8 and 8-9. The label of vertex 1 is hidden by its dark shading on the scan.]
    Read the model answer

SECTION IV - Q.4 (Attempt any five) 15 Marks

  1. 1. Define Heap.
    Read the model answer
  2. 2. Write an algorithm to traverse Singly Linked List.
    Read the model answer
  3. 3. What is Deque?
    Read the model answer
  4. 4. Define Hashing.
    Read the model answer
  5. 5. What are different applications of Graph?
    Read the model answer
  6. 6. Define skew tree with suitable example.
    Read the model answer

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
B.Sc. (Computer Science) / Sem 3 · 82 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!