B.Sc. (Computer Science) Sem 3 Data Structures 2023-24 Question Paper - Mumbai University | munotes
This paper is solved: read the model answers.
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.
SECTION I - Q.1 (Attempt any three) 20 Marks
-
1. What is Linked List? Explain different ADT of Linked List.Read the model answer
-
2. How to insert new node at the beginning of Linked List?Read the model answer
-
3. How to use Stack for balanced delimiter? Explain with suitable example.Read the model answer
-
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. What is data structures? Explain classification of data structures.Read the model answer
-
6. Consider following infix expression and convert it into prefix and postfix notation. K + L - M * N + (O / P) * W / U / V * T + QRead the model answer
SECTION II - Q.2 (Attempt any three) 20 Marks
-
1. Write short note on Balanced BST.Read the model answer
-
2. What is Doubly Linked List? State its advantages and disadvantages.Read the model answer
-
3. Consider following elements and draw min Heap. 70 80 50 45 95 25 30 100 90 85 15 10 marksRead the model answer
-
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. 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. What are different advantages and disadvantages of Priority Queue?Read the model answer
SECTION III - Q.3 (Attempt any three) 20 Marks
-
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. 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. 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. Write a short note on Collision Resolution Techniques.Read the model answer
-
5. What is Graph? What are different types of Graphs?Read the model answer
-
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. Define Heap.Read the model answer
-
2. Write an algorithm to traverse Singly Linked List.Read the model answer
-
3. What is Deque?Read the model answer
-
4. Define Hashing.Read the model answer
-
5. What are different applications of Graph?Read the model answer
-
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.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
Related Resources
Something wrong with this paper? Report it.