Cpp
Cpp
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:
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.