OOP Assignment 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

D Y Patil College of Engineering, Akurdi, Pune

Department of Electronics and Telecommunication Engineering

Date: 10/02/2024
Name of Subject : Object Oriented Programming
Class & Div : SE-A
Sem-2 AY-2023-24
Assignment No.1: Unit-1
Unit-1 : Foundation of Object Oriented Programming

1. What are the properties of Object-Oriented Programming. Write applications of OOP.


2. Differentiate between Procedure oriented programming and Object-oriented
programming.
3. Write the significance of Input/output operators in C++ and their equivalence with C.
4. What are inline functions? Justify How inline function is better than Macros with suitable
example.
5. Write a program in C++ to use Scope resolution operator.
6. Write a program to achieve compile time polymorphism (Function Overloading)
7. What is mean by Encapsulation? Justify with the example How to achieve Encapsulation.
8. Explain the following C++ terms
I. Concept of inheritance and polymorphism
II. Class and object
9. Write a C++ program to swap two integer numbers. Write separate swap function using
reference variable.
10. Differentiate between pointer and Reference.
11. Write a program to explain concept of function with default arguments.
12. Write a program to explain use of New and delete.

You might also like