0% found this document useful (0 votes)
20 views1 page

Mock Insem Q.P2023-24

Uploaded by

upareshreyash04
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)
20 views1 page

Mock Insem Q.P2023-24

Uploaded by

upareshreyash04
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/ 1

Amrutvahini College of Engineering, Sangamner

Department of Electronics & Telecommunication Engineering


Mock In-semester Examination (2023-24, Semester-II)
Subject: Object Oriented Programming
Marks: 30
Class: S.E. Duration: 1 Hr.
…………………………………………………………………………………………..
Instructions to the candidates:
(1) Answer Que. 1 or Que. 2 and Que. 3 or Que. 4.
(2) Draw neat diagrams wherever necessary.
(3) Figures to the right indicate full marks.
Que. Question CO BT Marks
No. Level
Q1. a) Explain different of features of OOP? Enlist Application of OOP. CO1 2 [04]
b) Define Polymorphism. Write C++ program for Compile time CO1 1,3 [05]
Polymorphism.
c) Write a c++ program to swap to integer number. Write separate CO1 1,3 [06]
Swap function using reference variable.
OR
Q2. a) What is Object oriented Programming? Differentiate between CO1 2 [04]
Procedure oriented and object-oriented programming.

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++

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy