Mock Insem Q.P2023-24
Mock Insem Q.P2023-24
b) CO1 1 [05]
Define Following terms:
1.Class
2. Implicit and Explicit function
3. Static data Member and member function
4. Data Encapsulation
5. Data Abstraction
c) What is inline function? What are their advantages? Give an CO1 1,3 [06]
example.
Q3. a) Explain Scope Resolution Operator. With Proper example explain CO2 1 [04]
use of scope resolution operator.
b) Can we have more than one Constructor in a class? If yes, explain CO2 [05]
need of such a situation. 2
c) Discuss default and Parametrized constructor in detail in C++ CO2 2 [06]
OR
Q4. a) Explain input and output Operator in C++. CO2 2 [04]
b) What is need of passing an argument? Discuss different ways to CO2 2 [05]
pass object as arguments to a function.
c) Design a class ‘Complex’ with data members for real and CO2 3 [06]
imaginary part. Write a program in c++ to perform a multiplication
of two complex numbers using class and object.
CO1 Describe the basic concept of Object Oriented Programming and apply the basic program to
construct in C++ to develop the programs for solving simple program .
CO2 Apply the concepts of classes, methods and objects to write programs in c++