You are on page 1of 2

Object Oriented Programming CAG 315)

B.C.A 3rd sem

Max. Marks: 80 Time: 3 Hours

Attempt all Questions

PART-I (Objective type) (2*5=10)

Q1. Do as Directed

a) What is Inheritance?
b) What is Static Member
c) Explain Inline function.
d) What is dynamic memory location?
e) Types of Constructors in C++
f) What is an Abstract class?
g) What is the purpose of defining a Destructor function?
h) Explain briefly what is Exception Handling?
i) What are the properties of a static data member?
j) Write the use of function overloading.

PART-II (Short answer type) Attempt Any Three (3*10=30)

Q2. Difference between Function overloading VS Operator Overloading


Q3. Define Constant & explain Pass by value and Pass by reference in C++.
Q4. Explain Constructor & also describe different types of constructors in C++?
Q5. What is inheritance? Explain with example how to inherit a class in C++.
Q6. What is object oriented programming? Explain any five characteristics of object oriented
programming languages

PART –III(Long Answer Type)Attempt Any Two (15*2=30)

Q7. What is Dynamic Memory Allocation? Explain with the help of an example how to
Create and destroy objects dynamically.
Q8. What is a class? What is the relation between an object and a class? Write a program which shows
how to define a class, how to access member functions and how to create and access objects in C++.
Q9. Define Operator Overloading. Explain how to overload unary operator and binary operator.

BAHRA UNIVERSITY, WAKNAGHAT

Improvement/RRA End Term Examination, Jan 2021


Object Oriented Programming CAG 315)

B.C.A 3rd sem

Max. Marks: 50 Time: 3 Hours

Attempt all Questions

PART-I (Objective type) (1*10=10)

Q1. Do as Directed

a) What is Inheritance?
b) What is Static Member
c) Explain Inline function.
d) What is dynamic memory location?
e) Types of Constructors in C++
f) What is an Abstract class?
g) What is the purpose of defining a Destructor function?
h) Explain briefly what is Exception Handling?
i) What are the properties of a static data member?
j) Write the use of function overloading.

PART-II (Short answer type) Attempt Any four (5*4=20)

Q2. Difference between Function overloading VS Operator Overloading


Q3. Define Constant & explain Pass by value and Pass by reference in C++.
Q4. Explain Constructor & also describe different types of constructors in C++?
Q5. What is inheritance? Explain with example how to inherit a class in C++.
Q6. What is object oriented programming? Explain any five characteristics of object oriented
programming languages .
Q7. What is Dynamic Memory Allocation? Explain with the help of an example how to
Create and destroy objects dynamically

PART –III(Long Answer Type)Attempt Any Two (10*2=20)

Q8. What is a class? What is the relation between an object and a class? Write a program which shows
how to define a class, how to access member functions and how to create and access objects in C++.

Q9. Define Operator Overloading. Explain how to overload unary operator and binary operator.

Q10. Differentiate between an abstract class and an interface?

You might also like