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

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

Suggestion For C++

Uploaded by

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

Suggestion For C++

Uploaded by

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

Suggestion for c++ Exam

a) Introduction about c++ and its 4 piller ( encapsulation, abstraction/data


hinding, inheritance , polymorphism).

Note: 4 piller are very important , definition as well as example must.

b) Difference between c and c++.


c) Difference between Procedural programming and object-oriented
programming.
d) What do you mean by object oriented approach ( class and object
encapsulation, abstraction/data hinding, inheritance , polymorphism
Constructor and Destructor )

Note1: in above question you have to explain all the term mentioned in
bracket in same sequence.
Note2: method ( data variable + functions ) in class.

e) Write the program for dynamic memory allocation with the help of
“new” and delete it with “delete” keyword.
f) What is constructor and its type with example,
g) Difference between Constructors and destructors .

Note: also study about calling sequence of constructor and destructor


when we have multiple constructor and destructor.

h) Define abstract class/meta class with small example.


i) Types of inheritance with diagram.
j) Explain visibility mode with table with example.

Note: you have to practice of complete program in which all type of


mode mentioned ( private ,public ,protected )
k) What do you mean by Polymorphism and classify it with example.

Note:
1) compile time poly
a) function overloading ( one the basis of data variable & on the
basis of number of variable)
b) operator overloading
2) Run time poly ( function overriding )

l) What is the benefit template function with example


m) How exception handling make smooth functioning of code with
example.
n) File handing
1) Program for get data from the file
2) Program for put data into the file
3) Program for append data into the file
o) Difference between text and binary file.
p) How namespace avoid conflict with example
q) What do you mean by memory leak.
r) How friend function is more powerfull then normal function.

You might also like