Tuesday 15 March 2011

INTERNAL AND EXTERNAL LAB EXAM PAPER format (2011)

                      INTERNAL AND EXTERNAL LAB EXAM PAPER FORMAT(2011)

1) (a)Write a program to find the avg of the three subject using classes                                                   (b) write any program for ‘inline functions
2)  (a)Write a program to demonstrate constructor and destructors                                                   (b) Write a program to demonstrate the ‘this pointer
3)  (a) Illustrate about the friend function with suitable example                                                           (b) illustrate about references variable.
4)   (a.)demonstrate about function overloading with example                                                             (b) write a program to demonstrate the ‘this pointer
5)   (a)Write a program to overload the – operator using unary                                                                (b) write any program for ‘inline functions
6)   (a)Write a program to overload the + operator using binary operators                                   (b)illustrate about references variable.
7)  (a)Write a program to process the student information using array of objects                             (b)using a new and delete operators
8)   (a)wap to demonstrate the pointer to object
(b)write any program for ‘inline functions
9)   (a)wap using a new and delete operators                                                                       (b)wap to add two objects using passing objects to functions
10)(a)wap using a new and delete operators                                                                      (b)wap to swap 2nos using function templates
11)(a)wap to demonstrate classes templates                                                                            (b) wap to demonstrate the ‘this pointer
12)wap factorial of a given no using single inheritance.
13)  WAP to implement multi level inheritance in c++.
14)  What is multiple inheritances? Explain with a simple program.
15)  Write a C++ program using virtual function.

No comments:

Post a Comment