My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
Download Model question papers & previous years question papers
|
Posted Date: 31 Jul 2007 Posted By: Girish Patil Member Level: Platinum
|
2005 Shivaji University B.E Computer Science Data Structure Question paper
H-419 SECOND YEAR OF COMPUTER SCIENCE AND ENGINEERING (PART-1) EXAMINATION, 2005 SHIVAJI UNIVERSITY, KOLHAPUR DATA STRUCTURE
Day and Date: Friday, 13-05-2005 Total Marks: 100 Time: 3.00pm to 6.00pm
Instructions: 1) Attempt any three questions from each section.
2) Figures to right indicate full marks.
SECTION-1
Q.1. a) suppose ‘Stack’ is allocated N=6 memory cells and initially STACK is empty (TOP=0).Find the output of the following sequence of operations:[Marks 8]
1) Set A=2 and B=5 where A and B are variables.
2) Call PUSH (STACK, A)
3) Call PUSH (STACK, B)
4) Call PUSH (STACK, B+4)
5) Call PUSH (STACK, 9)
6) Call PUSH (STACK, A+B)
7) Repeat while (TOP! =0)
{Call POP (STACK, ITEM), write item}
b) What is priority queue? Explain operations on the priority queue.[Marks 8]
Q.2. a) Show the status of array after each step in sorting the following elements using heap sort: 95, 19, 44,8,32,75,25,65
b) Explain the following with suitable examples: [Marks 8]
1) Linear search
2) Binary search
Q.3. a) Suppose CLIST is a circular linked list in memory consisting of numerical values. Write algorithms for each of the following operations:[Marks 8]
1) Finding the numbers ‘NUM’ holding total number of even numbers in the CLIST.
2) Finding product ‘PRODS’ of numbers in the CLIST.
3) Multiplications of each number in CLIST with a given number ‘K’.
b) Explain the operations on doubly linked list in detail.[Marks 8]
Q.4. Write a short notes on:[Marks 18=6*3]
1.Selection sort
2.Radix sort
3.Stack
SECTION-2
Q.5. a) Write a ‘C’ program to create and swap the tree. [To swap the given tree means to interchange the left child and right child of every node in a tree] [Marks 8] b) Compare Graph and Binary Tree.[Marks 8]
Q.6.a) the graphs are given below. Represent the graphs using adjacency matrix and Adjacency list.[Marks 8]
b) Define following (any five).[Marks 5]
a) Tree
b) Binary Tree
c) Complete binary tree
d) Almost complete binary tree
e) Skewed Binary Tree
f) Binary search Tree
c) State a few applications of a graph.[Marks 3]
Q.7.a) Explain closed hashing and open hashing.[Marks 8]
b) Write an algorithm for insertion and deletion into binary search tree.[Marks 8]
Q.8.a) Explain Reheap-up and Reheap-down functions in heap.[Marks 8]
b) Compare B-Tree AND B+ Tree.[Marks 8]
Return to question paper search
|
|
|
Submit Previous Years University Question Papers and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.
|
Advertise Here
|