Professional Documents
Culture Documents
Part – B
Answer all the Questions (5 *13 =65 Marks)
Explain and write a program to demonstrate the use of Copy constructor.
Illustrate and write a program for pointer for calculating the arithmetical operations.
Explain and write program for destructor with an example.
Explain about abstract base classes and concrete classes.
Illustrate with a program class declaration, definition and accessing class members.
Explain in detail on constructors and destructors in derived classes
Explain protected data with private and public inheritance.
Illustrate the concept of Queue with suitable program using switch case and array.
Compare the concept of overriding with over loading
Illustrate the implementation of double linked list using array
Outline the method of insertion of data in binary tree with suitable program.
Explain function of Breadth first search with suitable example.
Explain the steps involved in insertion sort.
Make use of suitable program, sort the 10 students’ marks for result analysis using insertion sort.
Compare linear search and binary search.
Choose the best searching algorithm to find the element in the array consists of 8 data.
Part – C
Answer all the Question (1 *15 =15 Marks)
Select the appropriate searching algorithm in method of graph to visit the ‘n’ number of data in the
array. (Binary and Linear)
Construct an algorithm and program for finding the shortest path between 6 nodes. (Dijikstra
Algorithm )