Roll No. | Total No. of Questions : 08 | Total No. of Pages : 01 |
M.Tech. (CSE Engg.) (2018 Batch) (Sem.-1)
ADVANCED DATA STRUCTURES
--- Content provided by FirstRanker.com ---
Subject Code : MTCS-102-18 M.Code: 75154
Time: 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
- Attempt any FIVE questions out of EIGHT questions.
- Each question carries TWELVE marks.
--- Content provided by FirstRanker.com ---
- Write a C program or algorithm to :
- Create a BST.
- Display the node values in ascending order
- Traverse from left to right crossing each level
- Count the number of terminals and non terminals
- Explain how is a binary tree is represented in memory?
-
- What are recursive techniques and what are their disadvantages? How do various compilers implement them internally? Where is memory allocated to recursive algorithms?
- How are recursive algorithms reformulated/converted into non recursive routines?
- What is a hash function? How many hash functions are there that map from a source set of size n to the integers from 1 to m? How many bits does it take to represent them? What if the source set consists of character strings of length up to 20? Assume there are 100 possible characters.
- What is a B+ tree? Consider a B+-tree in which the maximum number of keys in a node is 7. What is the minimum number of keys in any non-root node?
- Write Short notes on :
- Standard and compressed tries
- Strings operations
- Write pseudo code for insertion, searching and deletion from a separate chaining hash table. Explain with the help of example.
- What is an expression tree? Write a program to create and evaluate an expression tree.
- What are the recent trends in hashing? Explain with examples.
--- Content provided by FirstRanker.com ---
--- 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 M.Tech 1st Semester Last 10 Years 2010-2020 Previous Question Papers|| Punjab Technical University