0% found this document useful (0 votes)
7 views

QB Oop

Uploaded by

yashrk1067
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

QB Oop

Uploaded by

yashrk1067
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PRIYADARSHINI COLLEGE OF ENGINEERING, NAGPUR

Department:CSE Semester:III Section:A


Question Bank
Subject: Object Oriented Session 2024-25 SubjectCode:24UCS301T
Programming

Questions
1 Define:- i)Polymorphism ii)Dynamic Binding iii)Data Abstraction
2 Write a program to declare class Employee by assuming suitable data
member & member function.Accept and display data for 5 employees &
calculate Gross Salary.
3 Differentiate between Procedural oriented programming language & Object
Oriented Programming Language

4 Write a Program which creates & uses array of object of a class.( for eg.
implementing the list of Managers of a Company having details such as
Name, Age, etc..).
5 Elaborate New & Delete Opertaor with an example.

6 Write a C program to demonstrate the overloading of a binary operator.

7 Define :-i) This Pointer ii)Static Data Member iii)Inline Function


8 List out the operators that cannot be overloaded.

9 Discuss default constructor and parameterized constructor with the help of an


example in C.

10 Write a Program using copy constructor to copy data of anobject to another


object.
11 Write a program to maintain the records of person with details (Name and
Age) and find the eldest among them. The program must use this pointer to
return the result.
12 Discuss the use of public, private and protected access specifiers and their
visibility in the class.

13 Write a program to find Area & Perimeter of Rectangle using Hierarchical


Inheritance in C++.Assume suitable data member & member Function.
14 Write a Program to design a student class representing student roll no. and a
test class (derived class of student) representing the scores of the student in
various subjects and sports class representing the score in sports. The sports
and test class should be inherited by a result class having the functionality to
add the scores and display the final result for a student.
15 Illustrate the concept of Virtual Base class with the help of program.

You might also like