You are on page 1of 1

S.B. Roll No……………………………………….

OBJECT ORIENTED PROGRAMMING USING C++


4th Exam/Comp/IT/CSE/0623/May’19
Duration: 3Hrs. M.Marks:75
SECTION-A
Q1. Fill in the blanks. 10x1.5=15
a. Protected Visibility mode is used in __________ only.
b. A constructors’ name is same as ___________.
c. Property or the ability to take more than one form is called as ___________.
d. An instance of a class is called __________.
e. A destructor takes _________ arguments.
f. Unary operators works on _________ operands.
g. A file is a collection of __________ data.
h. STL stands for ____________
i. Friend functions allow _________ functions to access private data.
j. Inline keyword is used to make an outside function inline. (T/F)

SECTION-B
Q2. Attempt any five questions. 5x6=30
i. Differentiate between Procedure Oriented Programming and Object Oriented Programming.
ii. Explain loop control structures available in C++.
iii. Differentiate between Constructor and Destructor with the help of suitable example.

m
iv. Write a Program to access the private data of a class by using Friend Function.
v. Write a Program to demonstrate Single Level Inheritance.
o
vi. Explain different operations on File in C++.
vii. What do you mean by STL? Explain.

r . c
Q3. Attempt any two questions.
p e SECTION-C

m 2x15=30

a
a. Explain various types of operators and their hierarchy in detail.

p c o
b. Write short note on the following:

r
a) Virtual Functions b) Operator Overloading
r . c) Data Abstraction

b e
c. Differentiate between Single and Multiple Inheritance with suitable example.

p
p a
b r

You might also like