C-09-CM-404
3454
BOARD DIPLOMA EXAMINATION, (C-09)
APRIL/MAY-2012
DCM-IV SEMESTER EXAMINATION
OOP THROUGH C++
Time: 3
Hours]
[Total Marks:80
PART-A 10*3=30
Instructions: (1)
Answer all questions and each question caries four marks. (2) Answers should be
brief and straight to t the point and shall not exceed five simple sentences.
1. Compare procedural oriented programming with
object oriented programming.
2. Define pass by value method.
3. How to declare a class? Give its syntax.
4. List the characteristics of friend function.
5. Define reference and how to declare reference
variable?
6. What is inheritance?
7. Give any three rules for virtual functions.
8. State any three benefits of inheritance.
9. List the c++ streams.
10. What is function
template?
PART-B 5*10=50
Instructions: (1)
Answer any five questions and each question caries twelve marks. (2) The
Answers should be comprehensive and criteria for valuation is the Content but
not the length of the answer.
11. Write a c++ program on
Binary operator overloading.
12. Explain the
constructor and destructor using example program
13. Explain the properties
of OOP.
14. Explain how to access
member functions using array of objects with an example program.
15. Write a c++ program on
Hierarchical Inheritance.
16. Write a c++ program to
illustrate single inheritance.
17. (a) what are file
modes? Describe various file mode options available. (b) explain about file I/O
functions.
18. Explain a class template for stack data
structures.
No comments:
Post a Comment