Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views2 pages

Challenging Assignment.

The document outlines a series of questions related to Object Oriented Design & Programming, categorized into 1 mark, 4 marks, 6 marks, and 8 marks questions. Topics include definitions of key concepts, principles of OOP, function overloading, access modifiers, inheritance, and exception handling. It serves as a study guide for students in the Faculty of Engineering and Technology, Department of CSE-AI.

Uploaded by

pandu123456789s
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)
9 views2 pages

Challenging Assignment.

The document outlines a series of questions related to Object Oriented Design & Programming, categorized into 1 mark, 4 marks, 6 marks, and 8 marks questions. Topics include definitions of key concepts, principles of OOP, function overloading, access modifiers, inheritance, and exception handling. It serves as a study guide for students in the Faculty of Engineering and Technology, Department of CSE-AI.

Uploaded by

pandu123456789s
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/ 2

FACULTY OF ENGINEERING AND TECHNOLOGY

Department of CSE-AI

Object Oriented Design & Programming

1 marks Questions:

1. Define class and object.


2. What is the function of using namespace.
3. What do you mean by header file.
4. What is the extension of c++.
5. What is the basic difference between abstraction and encapsulation?
6. What is the purpose of using inline function?
7. Which header file is used with macros.
8. Which block can catch and handle the exception?
9. What is the meaning of the file close() function?
10. What is the number of parameter that a default constructor requires?
11. What is the default access specifier for class?
12. Constructors cannot be inherited. True/False
13. Which concept allows you to reuse the written code?

4 marks Questions:

Q1.Explain principle of OOPs

Q2.Explain Friend function with example.

Q3.Explain Inline function with example.

Q4.Explain Macros with example.

Q5.Explain Function Overloading with example.

Q6.Explain Destructor using example.

Q7. Write a program to create class methods inside the class definition.

6 marks Questions:

Q1.Explain access modifiers in detail with examples for each.

Q2.Explain in detail about polymorphism

Q3.Explain the following Data Type conversion with example: 1. Basic to Class 2. Class to Basic 3. One class to another
class.

Q4. Explain the concept of Virtual functions and Pure Virtual functions with example.

Q5. Explain the different file opening modes and explain any one of them using example.

Q6. Write a C++ program to calculate the area of circle, rectangle and triangle using function overloading.

Q7.write the difference between POP and OOP.


FACULTY OF ENGINEERING AND TECHNOLOGY

Department of CSE-AI

Object Oriented Design & Programming

8 marks Questions:

Q1. Explain constructors with example for each type.

Q2. What is Inheritance? Explain the different types of inheritance.

Q3. Write a C++ Program to Demonstrate try, catch block using exception handling..

Q4.Explain Encapsulation with example.

Q5. Write a program to show access to Private Public and Protected using Inheritance.

You might also like