SUBJECT QUESTION PAPER COLLECTION

CS181 – PROGRAMMING AND DATA STRUCTURES

Anna University

B.E. Computer Science and Engineering Computer Science and Engineering Regulation 2005 Semester 2
1 Question Papers
2012 Earliest Year
2012 Latest Year

📚 Previous Year Question Papers

1 question papers available. Select an examination session to view its question paper.

PDF

November / December 2012

PROGRAMMING AND DATA STRUCTURES

Historical Examination Intelligence

Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.

1Source papers
1Papers with questions
19Question occurrences
19Distinct question candidates
0Exact repeat candidates
100.0%Extraction coverage

Papers by examination year

20121

Question type candidates

Other Or Unclassified14
Definition3
Short Description1
Comparison1

Detected examination patterns

A+B1

Search historical questions

What is meant by problem solving? and Mention some of the problem solving strategies?

1 eligible source papers

State the difference-between arrays and linked lists

1 eligible source papers

What is a balance factor in AVL trees?

1 eligible source papers

Give the infix expressions for the following prefix expression. a) * - + A B C D b) + - a * B C D

1 eligible source papers

How are graphs represented inside a computer's memory? Which method do you prefer and why?

0 eligible source papers

Differentiate between depth first and breadth-first traversal of graphs

1 eligible source papers

Give the applications of priority queues.

1 eligible source papers

What is collision in hashing? What are the methods of resolving collision in hashing?

1 eligible source papers

Merge sort is better than insertion sort. Why?

1 eligible source papers

Which is the best way of choosing the pivot element in quick sort?

1 eligible source papers

How will you resolve the collisions, while inserting elements into the hash table using separate chaining and linear probing? Write the routines for inserting, searching and removing elements from the hash table using the above mentioned techniques (16)

0 eligible source papers

a)(i).Given two lists LI and L2, write the routines to compute LI D L2 using basic operations. (8) (ii) Write a routine to implement stack of size N using an array. The elements in the stack are to be integers. The operations to be supported are PUSH, POP and DISPLAY. Take into account the exceptions of stack overflow and stack underflow. (6)

0 eligible source papers

b) Define the basic queue structure. How is circular queue implemented? Give example.(16)

0 eligible source papers

a) Explain the three standard ways of traversing a binary tree with the recursive Aigorithm. (16)

0 eligible source papers

b) (i) Write an algorithm to insert an item into a binary search tree and trace the algorithm with the items 6, 2, 8, 1, 4, 3, 5. (8) (ii) Describe the algorithms used to perform single and double rotation on AVL tree. (8)

0 eligible source papers

a) (i).Write the routine for-sorting n elements in increasing order using heap sort. (8) (ii) Sort 3,1,4,1,5,9,2,6 in decreasing order using heap sort. (8)

0 eligible source papers

(b) write a routine and Explain with example about the quick sort. (16)

0 eligible source papers

a)(i) What is topological sort? Write an algorithm to perform topological sort <8) (ii) Write the Dijkstra's algorithm to find the shortest path for a weighted graph. (8)

0 eligible source papers

b)(i) Write about kruskal's algorithm (8) (ii) Find a minimum spanning tree for the following graph using prim's algorithm. (8)

0 eligible source papers

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.