CS2201-Data Structures ANNA UNIVERSITY CSE 3RD SEMESTER QUESTION BANK DOWNLOAD
Question Bank
CS2201-Data Structures
Unit 1
PART A
-
Define ADT.
-
What are the advantages of Linked List over arrays?
-
What are the advantages of doubly Linked List over singly linked list?
-
List the applications of List ADT.
-
List the applications of Stack and Queue.
-
What is Deque?
-
Convert the infix expression (a+b*c-d)/(e*f-g)
-
What is circular queue?
-
Write a routine to return the top element of stack.
-
What is the working principle of Radix sort?
-
What is priority Queue?
-
What do you mean by cursor implementation of List?
PART B
-
Explain the array and linked list implementation of Stack.
-
Explain the array and linked list implementation of Queue.
-
What are the various linked list operations? Explain
-
Write routines to implement addition, subtraction & differentiation of two polynomials.
-
Explain how stack is applied for evaluating an arithmetic expression.
-
Explain cursor implementation of list.
Unit 2
PART A
-
Compare General tree with binary tree.
-
Define the following terminologies.
Sibling,Parent,Depth,height,Level,leaf,Degree.
-
What is Full and Complete binary tree?
-
Define binary search tree.
-
Give the array and linked list representation of tree with example.
-
Define tree traversal.
-
Give the preorder, inorder and post order traversal for the following graph.
-
Draw the binary search tree for the following inputs. 70,15,29,33,44,12,79
-
Differentiate binary tree and binary search tree.
-
What is threaded binary tree?
-
Show the maximum number of nodes in an binary tree of height H is 2H+1-1
-
List the steps involved in deleting a node from a binary search tree.
-
A full node is a node with two children. Prove that the number of full nodes plus one is equal to the number of leaves in a non empty binary tree.
-
List the applications of tree.
PART B
-
Write an algorithm to find an element from binary search tree.
-
Write an algorithm to insert , delete, Find minimum and maximum element from a binary search tree.
-
What are the tree traversal techniques? Explain with an example.
-
Explain the operations performed on threaded binary tree in detail.
Unit 3
PART A
-
Define AVL tree.
-
What is binary heap?
-
What are the 2 properties of a binary heap?
-
Define B-tree.
-
What is percolating Up and percolating down?
-
What do you mean by self adjusting tree?
-
What is splay tree?
-
What is a balance factor?
-
List the applications of Binary Heap.
-
Difference between B tree and B+ tree.
-
List the different ways of implementing priority queue.
-
What is Min heap and Max heap?
PART B
-
Explain the AVL rotations.
-
Construct splay tree for the following values.
1,2,3,4,5,6,7,8,9
-
Explain the Basic operations performed in a Binary heap.
-
Construct a Min and MAX heap for the following values.
23,67,1,45,7,89,56,35
-
Write a routine to perform insertion in a B-tree
Unit 4
PART A
-
Define Equivalence relation.
-
List the basic data structures for Disjoint Set ADT.
-
What is path compression?
-
Define equivalence class.
-
Show the result of the following sequence of instructions performed by size.
Union (1,2) ,Union (3,4), Union (3,5)
-
Define hashing.
-
What is collision? What are the different collision resolving techniques?
-
What is open addressing?
-
What is extendible hashing?
-
Write a routine to perform the hash function.
-
What is hash table?
-
List the applications of SET.
PART B
-
Define Hash function. Write routines to find and insert an element in separate chaining.
-
Explain extendible hashing to resolve collision.
-
Explain open addressing with example.
-
Write a note on Dynamic equivalence problem.
-
Write short notes on Smart Union algorithm.
Unit 5
PART A
-
Define a graph.
-
Define path,degree,cycle,loop,directed graph, undirected graph,bigraph, weighted graph.
-
Define topological sort.
-
Define minimum spanning tree.
-
What is an articulation point?
-
When a graph is said to be bi connected?
-
Write the routine for Depth first and breadth first traversal.
-
List the graph traversal techniques.
-
List the applications of depth first traversal.
-
List the applications of graph.
-
What is an adjacency matrix? What are the different ways for implementing it?
-
Compare directed and undirected graph.
-
Name and find the in degree and out degree of the following graph
PART B
-
What is Topological sort? Write down the pseudo code to perform topological sort and apply the same to the following graph.
-
Explain Dijistraâs algorithm and find the shortest path from a to all other vertices in a graph.
-
Explain Primâs and Kruskalâs algorithm. Find the minimum spanning tree for the following graph.
0 comments:
Post a Comment