Beruflich Dokumente
Kultur Dokumente
PART-A
UNIT-2
PART-A
PART-B
4. Explain the syntax of operator overloading.How many arguments are needed in the definition of an
overloaded binary operator with and without friend function and give April/may 2017
example
5. Explain about the operator overloading through friend function with example program.
6. Write a C++ program to add two complex number using operators overloading. Nov/dec 2016
7. Explain about nested class with suitable example.
8. Explain briefly about virtual function with suitable example program. April/may 2016
9. Write a C++ program the takes two values of Time(hr,min,sec) and the sum using constructor and
operator overloading April/may 2015
10. Consider a fruit basket class with no of apples, no of mangos as data member. Overload the +
operator to add two object of the class
UNIT-3
PART-A
PART-B
PART-A
4. How to calculate the balancing facor in AVL Tree 5. Define redBlack tree. April/may 2015
6. What is the searching time for Red Black tree. April/may 2016
7. List the properties of Red-Black Tree. April/may 2016
8. What are the properties of B-Tree. Nov/dec 2016
9. What are the rules for B-Tree. Nov/dec 2016
10. What is Splay Tree.
11. List the Rotation in Splay Tree. Nov/dec 2015
12. Define Binomial Heap.
13. What are the operations performed in Binomial Heap.
14. What is Amortized Analysis. April/may 2014
15. Define Aggregate Analysis.
16. Define FibacciHeap. Nov/dec 2015
17. List the Operations in FibonacciHeap.
18. What is Deletmin in FibonacciHeap. April/may 2017
19. What is Accounting method.
20. What is potential method.
PART-B
10.Build an Red-Black tree with the following values: 15, 20, 24, 10, 13, 7, 30, 36, 25 April/may 2017
UNIT-5
PART-A
1. Define Graph.
2. Compare Tree and Graph.
3. List the representation of Graph. April/may 2015
4. What is Graph traversal.
5. Define BFS. Nov/dec 2016
6. Define DFs.
7. Compare BFS and DFS . 8. Define Topological Sort.
9. Define Indegree and out degree. April/may 2017
10. What is Minimum Spanning Tree.
11. What is Kruskal?
12. What is Prim? April/may 2016
13. Compare Kruskal and Prim. April/may 2014
14. Define Shortest path.
15. Write Dijktras Algorithm. Nov/dec 2015
16. Write Bellman ford algorithm.
17. Write Floyd-warshall Algorithm. April/may 2015
18. Compare Bellman and Floyd .
19. Define Single source shortest path algorithm .
20. Define all pair shortest path algorithm.
PART-B