C-09-CM-404
3454
BOARD DIPLOMA
EXAMINATION, (C-09)
March/april-2013
D.C.M.E - IV SEMISTER
EXAMINATION
OOP THROUGH C++
TIME: 3
Hours]
[Total Marks :80]
PART - A
INSTRUCTION :
(1) ANSWER ALL QUESTION AND EACH QUESTION
CARRIES
FOUR MARKS
(2) ANSWER SHOULD BE BRIEF AND
STRAIGHT TO THE POINT AND SHALL NOT EXEED
FIVE SIMPLE SENTENCES
March/april-2013
PART-A
1. List the features of Inline function?
2. What is comment in C++? How can we represent
in C++?
3. What is the principle of OOP?
4. Define friend function?
5. List the uses of references?
6. What are the different inheritance
visibility modes supported by C++?
7. What is inheritance?
8. State the need for virtual classes.
9. What is the custom/user-defined manipulator?
10. What is the class template and how is it
declared?
PART-B
PART- B
5*10=50
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. Explain passing objects by reference to a
function with a program.
12. Explain constructor and destructor with an
program.
13.
Write a C++ program on unary operator overloading using friend function.
14. Explain the creating and accessing of array
of objects with a program.
15. Write a C++ program on single inheritance.
16. Explain virtual function with small
program.
17. (a) What are file pointers ? Describe Get
and Put-pointers.
(b)
Explain Open(), Read(), Write(), Count().
18. Explain multiple arguments function templates
with a program