You are on page 1of 2

OBJECT ORIENTED PROGRAMMING WITH C++ - UNIT WISE IMPORTANT QUESTIONS

UNIT – 1: UNIT – 2: UNIT – 3:

10 MARKS: 10 MARKS: 10 MARKS:

1. Explain basic concepts / properties / principle 1. Explain about control structure in C++. 1. Explain about static keyword.
of OOPS in detail.
2. Explain different data types in C++. 2. Explain types of constructor in C++.
2. Difference between Procedural Oriented
Programming Languages(POPs) and OOPS. 3. Explain about types of array in C++. 3. Explain about friend function and friend
classes.
3. i) Write benefits of OOPS 4. i)Write about scope resolution operator
4. How to create classes and objects in
ii) Write about function with default
ii) Write applications of OOPS C++ with example.
arguments.
4. Explain generations of programming 5. Write about member function object as
5. Explain different operators in C++.
languages. argument and return type with example.
5 MARKS:
5 MARKS:
1. Explain about function overloading. 1. Write about destructor with example.
5 MARKS:

1. Write about OOPS paradigm. 2. Write about reference variable. 2. Discuss about array of object.
3. Write about multi-dimensional array with
2. Write about object oriented languages. 3. Explain about defining member
example. function.
4. Write about Inline function with example. 4. Write about dynamic constructor.
5. Write about access specifier in C++. 5. Write difference between structure and
Extra: Structure of C++, Comments, classes.
Variables, Keyword, Identifier, Constant, 6. Write difference between constructor
scope of variable , storage classes. and destructor.
OBJECT ORIENTED PROGRAMMING WITH C++ - UNIT WISE IMPORTANT QUESTIONS

UNIT – 4: UNIT – 5: IMPORTANT PROGRAMS:

10 MARKS: 10 MARKS: 10 MARKS:

1. Explain types of inheritance in C++. 1. Explain about stream classes in C++. 1. Write a program to copy the content
from one file to another file.
2. What is operator overloading? Explain unary 2. Explain about file classes in C++.
and relational operator overloading. 2. Write a program to swap two number
3. Explain formatting output in C++. using reference variables.
3. Explain about Binary Operator overloading.
4. Write a program to create a copy of file. 3. Write a program to swap two numbers
4. Write about with third and without third variable.
i) Method overriding and 5 MARKS:
ii) Virtual functions. 1. Write about command – line arguments in 4. Write a program using + operator
C++. overloading.
5 MARKS:
2. Write about unformatted i/o operations 5. Write a program to find a number is even
1. How to define an operator function? (cin and cout objects). or not using conditional operator.

2. What is inheritance? Write their benefits and 6. Write a program for multiplication of
3. Explain different types of files and file
disadvantage. two matrix.
functions.
3. Write rules for operator overloading. 7. Write a program for addition and
4. Explain about error handling in C++. subtraction of two matrix.

8. Write a program for factorial of given


number.

9. Write a program to check whether the


given number is even or odd.

10. Write a program for unary and binary


operator.

You might also like