0% found this document useful (0 votes)
4 views2 pages

OOP (2nd) Dec2018

The document is an examination paper for BCA and B.Sc. (IT) students focusing on Object-Oriented Programming using C++. It consists of two sections: Section A with ten compulsory questions worth two marks each, and Section B with six questions where students must attempt four, each worth ten marks. The paper covers various topics including data hiding, encapsulation, constructors, operator overloading, and inheritance.

Uploaded by

Avneet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

OOP (2nd) Dec2018

The document is an examination paper for BCA and B.Sc. (IT) students focusing on Object-Oriented Programming using C++. It consists of two sections: Section A with ten compulsory questions worth two marks each, and Section B with six questions where students must attempt four, each worth ten marks. The paper covers various topics including data hiding, encapsulation, constructors, operator overloading, and inheritance.

Uploaded by

Avneet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 Roll No.


24547 24547 24547 24547 24547 Total24547
No. of Pages
24547 : 02 24547

Total No. of Questions : 07

BCA (2013 & Onward)/B.Sc. (IT) (2015 & Onward)


24547 24547 24547 24547 24547 24547 24547 24547 24547
(Sem.–2)
OOPS USING C++
Subject Code : BSBC/BSIT-203
24547 24547 24547 24547 Paper24547
ID : [B1115]
24547 24547 24547 24547

Time : 3 Hrs. Max. Marks : 60

24547 24547 24547 24547 24547 24547 24547 24547 24547


INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying T EN marks each and a student has
24547 24547 24547 24547 24547 24547 24547 24547 24547
to attempt any FOUR questions.

SECTION-A
24547 24547 24547 24547 24547

o m 24547 24547 24547 24547

.r c
Q1 Answer briefly :
24547 24547 24547
a) List various features24547 24547
of object oriented 24547
programming language. 24547 24547 24547

p e
b) What is early and late binding?
m
pa o
.r c
24547 24547 24547 24547 24547 24547 24547 24547 24547

br
c) Define structure and union.

24547 24547
d) What is object and class?
24547 24547 24547

p e
24547 24547 24547 24547

a
e) What are various characteristics of a pointer variable?

p
24547 24547 f) What 24547
is static member function?
24547 24547

br 24547 24547 24547 24547

g) Write a C++ program to swap two numbers without using third variable.
24547 24547 24547 24547 24547 24547 24547 24547 24547
h) Differentiate union and class.

i) Define binary operator overloading.


24547 24547 24547 24547 24547 24547 24547 24547 24547
j) What is pure virtual function?

24547 24547 24547 24547 24547 24547 24547 24547 24547

1|M - 1 0 0 5 2 (S3)-1898

24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 24547 24547 24547 24547 24547 24547 24547 24547


24547 24547 24547 24547 24547 24547 24547 24547 24547

SECTION-B
24547 24547 24547 24547 24547 24547 24547 24547 24547

Q2 What is data hiding and encapsulation? How it is implemented using C++? Explain with
example.
24547 24547 24547 24547 24547 24547 24547 24547 24547
Q3 Define Constructor. What are its different types? Explain with suitable example.

Q4 What is function and operator overloading? Write and explain a C++ program to
24547 24547 24547
demonstrate the concept24547 24547
of unary operator 24547
overloading. 24547 24547 24547

Q5 Discuss the role of streams, buffers and files by taking suitable example in C++.
24547 24547 24547 24547 24547 24547 24547 24547 24547
Q6 Write notes on the following :

a) Array of structure
24547 24547 24547 24547 24547 24547 24547 24547 24547

b) Need and types of inheritance

24547 Q7
24547 What are24547
friend and inline
24547functions? 24547

o m
Explain with example.
24547 24547 24547 24547

24547 24547 24547 24547


.r c24547 24547 24547 24547 24547

p e m
pa o
.r c
24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 24547 24547


br 24547 24547

p e
24547 24547 24547 24547

p a
24547 24547 24547 24547 24547

br 24547 24547 24547 24547

24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 24547 24547 24547 24547 24547 24547 24547 24547

2|M - 1 0 0 5 2 (S3)-1898

24547 24547 24547 24547 24547 24547 24547 24547 24547

24547 24547 24547 24547 24547 24547 24547 24547 24547

You might also like