FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download AKTU B-Tech 4th Sem 2015-16 NEC 401 Data Structure Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 4th Semester (Fourth Semester) 2015-16 NEC 401 Data Structure Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


NEC-401

(Following Paper ID and Roll No. to be filled in your Answer Book)

Paper ID: 131405                                                                                       Roll No.

--- Content provided by FirstRanker.com ---


B.TECH.

Theory Examination (Semester-IV) 2015-16


DATA STRUCTURE

--- Content provided by‌ FirstRanker.com ---


Time : 3 Hours                                                                                       Max. Marks : 100


Section-A


--- Content provided by‌ FirstRanker.com ---

Q1. Attempt all parts. All parts carry equal marks. Write answer of each part in short.                                                                                       (2×10=20)

(a) What is an abstract data type? Is time and space com- plexity considered in defining ADT?


(b) Perform evaluation of postfix expression using stack: ABC + *DE/-, where


--- Content provided by‌ FirstRanker.com ---

A=5, B=6, C=2, D=12, E=4


Generate a binary search tree for the list - 53, 65, 86, 78, 5, 25, 34, 29


How will be the elements having same priority accessed from a priority queue?

--- Content provided by‍ FirstRanker.com ---


How many pointers are contained as data members in the nodes of a circular doubly linked list of integers with five nodes?


Draw a directed weighted (assume random weights) graph having 5 vertices and each node having degree 4.


--- Content provided by‌ FirstRanker.com ---

Q2. Attempt any five questions from this section.                                                                             (10×5= 50)

(a) Explain asymptotic notations. Discuss Big(O) notation.

(b) Explain how polynomial can be expressed using linked list. Write a C program to add two polynomials using linked list.

(c) Write a C program to implement stack using linked list and perform PUSH and POP operations onto the stack.

(d) Explain the concept of circular queue. Discuss the base cases to be verified for carrying our insertion and dele- tion operations in a circular queue.

--- Content provided by FirstRanker.com ---


What is tail recursion? Write a C program using recursive function that solves tower of Hanoi prob- lem.

(g) Draw Huffman tree and generate Huffman code for the following symbols whose frequency of occurance in a message is stated along with symbols given below : Also estimate the total number of memory bits saved using the Huffman coding scheme.

A:15 B:16 C:17 D:12 E:25 F:4 G:6 H:1 1:15

(h) (a) Write a C program to search an element in array using binary search technique.

--- Content provided by‌ FirstRanker.com ---


Q3. (a) What is the importance of Garbage Collection?                                                                                      (15×2=30)


(b) Write an algorithm to delete and insert elements in DEQUE.


--- Content provided by‌ FirstRanker.com ---

(c) Write an algorithm to delete last element from a doubly linked list.

Q4. (a) Sort 20, 35, 40, 100, 3, 10, 15 using selection sort.


(b) Explain with an example to find minimum cost spanning tree using Kruskal algorighm.


--- Content provided by‍ FirstRanker.com ---

Q5. (a) Generate a binary tree for the following traversal sequences given -


IN-ORDER: BFGHPRSTWYZ


PRE-ORDER: PFBHGSRYTWZ

--- Content provided by⁠ FirstRanker.com ---


(b) Write an algorithm to convert an infix expression into postfix form.


Visit FirstRanker.com for more question papers.


--- Content provided by​ FirstRanker.com ---


This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University