C-09-CM-505
634
BOARD DIPLOMA
EXAMINATION, (C-05)
OCTOBER/NOVEMBER 2011
D.C.M.E - V SEMESTER
EXAMINATION
OOPS THROUGH C++
TIME: 3
Hours]
[Total Marks :100]
PART - A
10*3=40
Instruction: (1)
answer all question and each question
carries four marks
(2) answer should be brief and
straight to the point and shall not exceed
five simple sentences
1. List the properties of Oops.
2. Compare classes in c++ with unions in c.
3. What is a constructor and how is it declared
and defined?
4. Write the advantages of references.
5. Write a program to illustrate the usage of
this pointer.
6. What is meant by multilevel inheritance?
7. What is an abstract class?
8. Write the various file modes with their
meaning.
9. What is a virtual function?
10. Define templates.
PART- B
5*10=60
Instructions: (1) Answer any five questions
and each question carries ten marks. (2) The answers should be comprehensive
and the criteria for valuation is the content but not the length of the answer.
11. (a) what is an inline function? Write a
program to illustrate the usage of inline function. (b) describe the importance
of destructors.
12. Write a program in c++ to illustrate the usage
of function overloading
13. Write a program to illustrate returning
objects to functions
14. Explain array of objects with a program.
15. Explain the dynamic memory operators with a
program.
16. (a) write a c++ program to illustrate simple
inheritance. (b) explain the various access controls.
17. Explain various I/O manipulators with syntax
and example.
18. Write a program to implement stack data
structure using class templates.
C++ PREVIOUS QUESTION PAPER FOR POLYTECHNIC
C-09 C-05
No comments:
Post a Comment