Tuesday, 20 November 2012

Oct/Nov2010






D.C.M. E – V SEMESTER EXAMINATION
Oct/Nov2010
OOPS THROUGH C++
Time :3 Hours                                                                                       (Total Marks :100
Instructions:    (1)        Answer all questions and each question carries four marks.
(2)        Answer should be brief and straight to the point and shall not exceed five simple sentences.

1.  What is a class?
2.  List the advantages of C++
3.  What is friend function?
4.  List the advantages of new operator when compared to malloc ( ).
5.  What do you mean by array of objects give example ?
6.  What is a base class and a derived class?
7.  Write the syntax for single inheritance.
8.  List the C++ I/O operators and dive their meaning.
9.  What is a pure virtual function?
10.Write the advantages of template.



Instructions:    (1)        Answer five questions and each question carries twelve  marks.
(2)        Answer should be comprehensive and the criteria for valuation should be the content but not he length of the answer.
11. Explain the OOPs properties.                                                                                              12
12. (a) What is a constructor? Write the characteristics of constructors.                        6
     (b) Write a C++ program to generate the Fibonacci series using constructors.  6
13. (a) Write the advantages of inline functions.                                                 4
     (b) Write a program in C++ to overload the unary operator ++                               6
14. (a)  What is a reference?                                                                                         4
     (b) Write a C++ program using this pointer.                                                            8
15. Write a program in C++ to illustrate array of pointers to objects                                    12
16. (a) What is a virtual base class?                                                                              4
            (b)        Write a C++ program to illustrate the virtual base class.                         8
17. Explain the virtual function in C++ with the help of a program                             12
18. Explain the creation of class based template.                                                                  12


C++ PREVIOUS QUESTION PAPER FOR POLYTECHNIC
        C-09                                        C-05
·                     OCT-2005                              OCT/NOV-2011
·                     APRIL/MAY 2012
·                     OCT/NOV-2011                    APRIL/MAY 2011(C-05)
·                     APRIL/MAY 2011
·                     APRIL/MAY-2011(C00)
·                     Oct/Nov2010
·                     OCTOBER   -   2005(C-00)


HOME                                     

No comments:

Post a Comment