Roll No.
Total No. of Questions : 09
Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
MCA (2015 & Onward) (Sem.-2)
DATA STRUCTURES
Subject Code : MCA-203
M.Code : 72878
Time: 3 Hrs.
--- Content provided by FirstRanker.com ---
Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
- SECTIONS-A, B, C & D contains TWO questions each carrying TEN marks each and students has to attempt any ONE question from each SECTION.
- SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY marks in all.
- Use of non-programmable scientific calculator is allowed.
--- Content provided by FirstRanker.com ---
SECTION-A
-
- Define stack. Briefly explain the primitives operations on stack.
- Explain the working of simple queue.
- Explain a doubly linked list. What are pros and cons over a singly linked list?
--- Content provided by FirstRanker.com ---
SECTION-B
- Write an algorithm to traverse a pre-order Threaded Binary Tree.
- Write an algorithm to construct a binary tree for the inputs 14, 15, 4, 9, 7, 18, 3, 5, 16, 4, 20, 17, 9, 14, 5 Indicating a message for duplicate members. Draw the tree constructed by the above program.
SECTION-C
- Write an algorithm for Dijkstra's shortest distance algorithm with example.
- What is adjacency matrix? Discuss the graph representation using matrix and lists.
--- Content provided by FirstRanker.com ---
SECTION-D
- Write an algorithm to sort a set of elements using address calculation radix sort. (10)
- What is Hashing? What are the various hash functions? Discuss each with the help of suitable example. (10)
SECTION-E
--- Content provided by FirstRanker.com ---
- Write briefly :
- Define Omega notation for complexity. (5)
- Which linear data structure is not conductive for insertion and deletion? (5)
- What is a string? How string is initialized and declared?
- Explain the working of simple queue.
- Give the node structure of an expression tree.
- Define complete b-tree.
- Define Heap Sort.
- Define Trade-off of Algorithm
- Define Array Pointers.
- What are Graph operations?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University