Roll No. Total No.
of Pages: 02
Total No. of Questions: 07
BCA (Sem. – 2)
OOPS USING C ++
Subject Code: BSBC-203
M Code: 10052
Date of Examination : 17-12-2022
Time: 3 Hrs. Max. Marks: 60
INSTRUCTIONS TO CANDIDATES:
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO
marks each.
2. SECTION-B contains SIX questions carrying TEN marks each and
students have to attempt any FOUR questions.
SECTION-A
1. Answer the following:
a) What are Structures?
b) Describe the use of destructors.
c) What are the advantages of Data hiding?
d) What is the use of Header files in C++?
e) What are the different types of Arrays in C++?
f) What do you mean by Late binding?
g) What is the significance of Pure virtual functions?
h) Write the syntax of declaring a function in a class?
i) How can a private member be made available for inheritance?
j) Describe the concept of Pass by value.
M-10052 S-666
SECTION-B
2. a) What are the benefits of Object Oriented Programming?
b) Write a program to calculate the sum of all odd numbers between 1 and 50.
3. a) What is a Constructor? Explain its various types with examples.
b) Explain the concept of the Input stream and output stream with an example.
4. a) What do you mean by Inheritance? Write the difference between Multiple and Multilevel
inheritance with the help of suitable examples.
b) How does function overriding differ from function overloading?
5. Explain the concept of Polymorphism with the help of an example. What are the advantages of
polymorphism?
6. Write brief notes on:
a) Scope Resolution Operator
b) Use of Friend Functions
7. a) Use of Unions in C++
b) Write a program to illustrate the Binary and Unary Operator overloading concept.
NOTE : Disclosure of Identity by writing Mobile No. or Marking of passing request on any
paper of Answer Sheet will lead to UMC against the Student.
M-10052 S-666