Government
Engineering College, Patan
B.E 4th
SEM CSE Department
OBJECT
ORIENTED PROGRAMMING WITH C++ (2140705)
Assignment
- Explain basic concepts
of Object-Oriented Programming.
- Differentiate
procedural programming with object oriented programming.
- Write the basic
structure of a C++ program with all necessary blocks.
- Explain >> and
<< operators.
- Describe various
operators in C++.
- List ios functions with
equivalent manipulators in C++. Explain any one manipulator with
example.
- What do you mean by
Dynamic initialization of a variable? Give an Example.
- What is a reference
variable? What is its major use?
- Explain call by
reference and return by reference with suitable example.
- What is inline
function? Where and how it is useful in C++? Give an example.
- Explain function
overloading with suitable example.
- Explain three
Visibility Labels with example.
- Explain Static Data
Member and Static Member Function with their
special characteristics. Also
write a suitable
programming example.
- Explain friend function
with suitable example.
- What is a Constructor?
Explain different types of constructors with examples.
- Explain the use of Destructor
in C++. Discuss its features.
- What is Operator
overloading? Describe the syntax & Explain Unary operator
overloading with example.
- What is an Operator
function? Describe the syntax
& Explain Binary operator overloading with example. Write a program to overload
binary + operator as a member function.
- Write a C++ program
that overloads + operator to add two complex numbers.
- Explain Type conversion
from class type to basic type and one class type to another class type
with suitable example.
- Explain various forms
of inheritance with suitable diagrams.
- Explain pointer to
objects. What is this pointer? Write a program to illustrate the
use of this pointer.
- What is Polymorphism?
How can we implement it in C++?
- What is Virtual
function? Why do we need virtual function?
- What is a stream?
Describe various stream classes for console I/O operations.
- What is the purpose of
using template in C++? Explain template function and template class with
example.
- Explain catch all
exception and multiple catch exception with example.
- Explain try, catch and throw. Give one simple example.
- Explain STL with its
core components.
- What is Exception?
Explain Exception Handling Mechanism. Give example with multiple catch
blocks.
|
THANKS...
ReplyDeleteThis comment has been removed by the author.
ReplyDelete