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

Cpp

The document outlines important questions related to Object-Oriented Programming (OOP) through C++ for a 2nd-year, 4th-semester course. It covers various units including fundamental concepts of OOP, function definitions, constructors and destructors, inheritance types, and I/O operations. Each unit contains specific questions aimed at assessing knowledge of C++ programming concepts and practices.

Uploaded by

pannubangaram123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Cpp

The document outlines important questions related to Object-Oriented Programming (OOP) through C++ for a 2nd-year, 4th-semester course. It covers various units including fundamental concepts of OOP, function definitions, constructors and destructors, inheritance types, and I/O operations. Each unit contains specific questions aimed at assessing knowledge of C++ programming concepts and practices.

Uploaded by

pannubangaram123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

OOP THROUGH c++

IMP QUESTIONS-DCME 2nd YEAR 4-SEM


UNIT-1:

1) What is Procedual Oriented Programming and Object Oriented Programming ? (3M)


2) What is Software crises and solution for Software crises? (3M)
3) Differences between C and C++? (8M)
4) Explain the basic concepts/features of OOP concepts (8M)
-> Class
-> Object
-> Data Hiding
-> Data Encapsulation
-> Abstraction
-> Inheritence
-> Polymorphism
-> Message Passing
-> Dynamic Binding
5) Structure of C++ Program? (3M or 8M)
6) Demonstrate to Create, compile, link and execute a C++ program (8M)
7) Explain C++ I/O operations with examples (3M or 8M)
8) List keywords of C++ other than C (3M)

UNIT-2:
1) Define function and its prototype?
2) Explain about default arguments with syntax and basic program (3M)
3) EXplain about function Overloading with syntax and a program (8M)
4) What is inline function and its advantages with syntax and basic program (8M)
5) What if Friend function and explain the use of friend function with syntax and a
small program ? (8M)
6) Declare and Use the reference with an example?
7) What is class and object in c++ with syntax and write the basic program using
class and object?
8) Declare and access array of objects with a sample program? (8M) VVIMP
9) Describe pointers to object and use? (3M)
10) State the use of 'this' pointer with syntax and sample program?
11) Explain about dynamic memory allocation using new and delete operators?

UNIT-4:

1) What is constructor and destructor explain with a sample program? (8M)


2) Differences between constructor and destructor? (3M)
3) Explain the types of constructor? (8M)
-> Default constructor
-> Parametarized constructor
-> copy constructor
4) Explain about constructor overloading or multiple constructors? (8M)
5) Describe overloading ? (3M)
6) Explain unary operator overloading using member funciona and friend function
with syntax and basic program? (8M)
7) Explain Binary operator overloading using member funciona and friend function
with syntax and basic program? (8M)
8) Rules for overloading binary operators? (3M)

UNIT-4:
1) Nessessity of Inherience
2) Relation between base class and derived class.
3) Differences between base class and derieved class?
4) Explain three types of access control-public, private & protected. Explain with
a neat programs on it! (8M) VVIMP
5) Explain the types of Inheritence with a flow chart, syntax and example program.
-> Single-level Inheritence
-> Multi-level Inheritence
-> Multiple Inheritence
-> Hierarchial Inheritence
-> Hybrid Inheritence
-> Multipath Inheritence
6) Explain about virtual Base class
7) Explain about virtual functions and its applications
8) Explain the concept of pure-virtual function and Abstract class.

UNIT-5:
1) Explain the I/O streams in c++?
2) Explain the I/O manupulators and give examples
3) Explain file and I/O clases of stream.h?
4) Explain about binary I/O functions.
5) Need of templates and Explain the types of templates and write the basic program
on this.
-> Class template
-> Function template
6) Develop the c++ program for multiple arguent type
7) Program on class template for stack and queue data structue.

You might also like