C++ 2023 Final
C++ 2023 Final
BCA 2nd YEAR – MIDTERM:1 EXAMINATION 2023-24 BCA 2nd YEAR – MIDTERM:1 EXAMINATION 2023-24
BCA 206: Object Oriented Programming using C++ BCA 206: Object Oriented Programming using C++
Time Allocated : 2 hours Time Allocated : 2 hours
Maximum marks : 70 Maximum marks : 70
Part – A Answer all the questions (50 words each carry equal marks) Part – A Answer all the questions (50 words each carry equal marks)
Part – B Answer five question (200 words each) Part – B Answer five question (200 words each)
Part – C Answer two question (400 words each) Part – C Answer two question (400 words each)
Part – A (2×10=20) Part – A (2×10=20)
a). List any four benefits of OOP. a). List any four benefits of OOP.
b). How do structure and class differ in C++ ? b). How do structure and class differ in C++ ?
c). Explain Memory Management Operators in C++ with the help of suitable example. c). Explain Memory Management Operators in C++ with the help of suitable example.
d). What do you mean by inline function? d). What do you mean by inline function?
e). How is a static Property different from an instance Property? e). How is a static Property different from an instance Property?
f). Explain the dynamic memory allocation in C++ with an example. f). Explain the dynamic memory allocation in C++ with an example.
g). Write short note on Multiple and Multipath inheritance. g). Write short note on Multiple and Multipath inheritance.
h). What is default arguments of function? Give an example. h). What is default arguments of function? Give an example.
i). What Is This Pointer? What are the use of This Pointer In C++. Explain with i). What Is This Pointer? What are the use of This Pointer In C++. Explain with example.
example. j). What is Public, Private and Protected Property means?
j). What is Public, Private and Protected Property means?
Part – B (5×4=20)
Part – B (5×4=20) a). Neatly explain constructor and destructor with suitable examples.
a). Neatly explain constructor and destructor with suitable examples. b). Define Virtual Function with an Example? What are the Properties of Virtual
b). Define Virtual Function with an Example? What are the Properties of Virtual Function? What are the uses of Virtual Function.
Function? What are the uses of Virtual Function.
c) What is Friend Function? What are the merits and demerits of using Friend d) What is Friend Function? What are the merits and demerits of using Friend Function?
Function? e) What is function overloading and operator overloading?
d). What is function overloading and operator overloading? f) What Is OOP Terminology. List Advantage of OOP Approach?
e). What Is OOP Terminology. List Advantage of OOP Approach? g) Explain Increment and Decrement Operator overloading with the help of suitable
f). Explain Increment and Decrement Operator overloading with the help of example.
suitable example. h) Explain polymorphism. Describe how run time polymorphism and compile time
g). Explain polymorphism. Describe how run time polymorphism and compile time polymorphism can be achieved in C++.
polymorphism can be achieved in C++. i) Explain Multilevel Inheritance with the help of suitable example.
h). Explain Multilevel Inheritance with the help of suitable example. j) Explain with the help of suitable example the difference between function
i). Explain with the help of suitable example the difference between function overloading and function over-riding.
overloading and function over-riding.
Part – C (2×15=30)
Part – C (2×15=30) a). What is inheritance? Why do we need it? Explain different types of
a). What is inheritance? Why do we need it? Explain different types of inheritance in C++ with example.
inheritance in C++ with example. b). What Is Abstract Class? What are the characteristic of Abstract Class Explain with
b). What Is Abstract Class? What are the characteristic of Abstract Class Explain Example
with Example c). What Is Copy Constructor and Why we use Copy Constructor . How It Differ From
c). What Is Copy Constructor and Why we use Copy Constructor . How It Differ Normal Constructor Explain With Suitable Example ?
From Normal Constructor Explain With Suitable Example ? d). How We Implement Stream Insertion And Extraction Operator Overloading C++ .
d). How We Implement Stream Insertion And Extraction Operator Overloading Explain With Example.
C++ . Explain With Example.