C-09-CM-404
3454
BOARD DIPLOMA EXAMINATION, (C-09)
OCT/NOV-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.
Write any three differences between c and c++
2.
What is the need of scope resolution operator in
c++?
3.
What is a constructor? List the types of
constructors
4.
Write about the evolution of object oriented
programming languages
5.
List the advantages of references.
6.
What is visibility mode
7.
What are the differences between inheriting a
class with public and private visibility mode?
8.
State any three benefits of inheritance.
9.
What is the custom/user-defined manipulators?
10.
What is a template? Write the syntax of
templates.
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. How will you overload unary and binary
operator, using friend functions? Explain with a program.
12. Explain passing objects by value to a function
with an example program.
13. Write a c++ program to illustrate friend
function
14. Explain how to access member functions using
array of objects, with an example program
15. Explain the concept of multilevel inheritance,
with a small program.
16. Write a c++ program for virtual function
17. Explain formatted I/O functions, with
examples.
18. Explain a class template for stack data
structures
19.
C-09 C-05
No comments:
Post a Comment