How To Exam?

a knowledge trading engine...


Department of Technical Education & Board of Technical Examinations 2009 Diploma Computer Science and Technology C++ - Question Paper

Saturday, 02 February 2013 03:00Web


May 2009 - OOP With C++ ques. Paper

Code : 1-401


* *



Register

*

Number


IV Semester Diploma Examination, May 2009

COMPUTER SCIENCE BOARD

OBJECT ORIENTED PROGRAMMING WITH C++


[ Max. Marks : 100


Time : 3 Hours 1


i I


V


e : (1) Section-I is compulsory.


(2) Answer any two full.questions each from the remaining Sections


SECTION -1


.1. (a) Fill in the blanks :


(i) The wrapping up of data and functions into a single unit is known as


(ii)    Initialization of variable at run time is called    .

(iii)    :: is_operator.

(iv) _is used to initialize an object from another object.

(v) The name of constructor is same as_.

(b) Explain basic concepts of object oriented programming.


SECTION - II

2. . (a) Explain memory management operators and commonly used I/O manipulators

with example.


8


(b)    What is the use of scope resolution operator ? .    2

(c)    Explain dynamic initialization of variables with example.    5


3. (a) Explain inline function with an example.    7

(b)    Show how an argument to a function is declared as constant ?    4

(c)    What is function overloading ? Explain.    4


4. (a) What is a class ? Write a simple program containing a class.    8

' (b) Explain the structure of a C++program.    5

(c) Define static data member.    2


4


/


\


CS-41


[Turn over



1-401    2

SECTION - III

5 (a) Write a C++ program to use multiple constructors in a class.    9

(b)    Define a destructor. What is the general syntax of a dfestructor ?    3

(c)    What is the use of Friend function ?    3

6. (a) Define operator overloading. Write an example program to overload unary

operator.    8

(b)    Mention the rules for overloading operator.    5

(c)    Define default constructor.    2

(a)    Explain multilelvel inheritance with suitable example.    7

(b)    Describe hybrid inheritance.    

(c)    Explain nesting of classes.    4

SECTION-IV

S. (a) Why this pointer is used ? Explain.    9

(b)    Define virtual function.    3

(c)    Whei: do we make a virtual function pure ?    3

s). (a) What are the steps involved in using a file in C++ program ? Describe the

various classes available for file stream operations.    '    8

(b)    Mention the error handling functions and their return value and meaning. * 5

(c)    Define function template and give the general format.    2

10. (a) Write a note on exception handling.    '    4

(b)    Write the graphical notations for    

-    classification relationship and    " composition relationship

-    Inheritance relationship

(c)    Mention the steps involved in object oriented design approach.    5







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Department of Technical Education & Board of Technical Examinations 2009 Diploma Computer Science and Technology C++ - Question Paper