Paper IV- Object Oriented Programming with C++
- List out the benifits of object oriented programming.
- Define encapsulation.
- What do you understood the identifier
- Why were computer programming languages were invented?
- Static member variables are defined _______________________ the class.
- Making an instance of one class a member of another class in called________________
- Find out the error, if any in the following statement.
for (int i=0, i<0, i++)
var--; - Write the syntax for do..while loop.
- What do you mean be preprocessor directive?
- State whether True or False , inline functions overloading does not depend on return data type.
- State whether True or False, inline functions overloading does not depend on return data types
- List out the usage of scope resolution operator.
- Specify the rules for functions overloading.
- State whether True or False, Operator overloading creates a new operators.
- What is virutual function?
- List out any two manipulators.
- What do you mean by command line argument?
- Define file
- When a program is finished using a file, it should be _______________it?
- State whether True or False, it is possible to open a file for both input and output.
- (a) explain the differnce between procedural and object oriented programming
or (b) List out the differen t types of control structures and explain with examples. - (a) write short notes on
(i) functions proetotype
(ii) functions overloading.
or (b) in C++ what are the possible ways of defining a member functions? Explain with an example - (a) What do you mean by constructors? and explain the different types of constructors with examples
or (b) Write short notes on, Friend functions vs inheritance. - (a) What is multiple inheritance? Explain with a real world exampled
or (b) Write short notes about 'this' pointer and it's usages. - (a) What is the difference between a try block and a catch block? Explain with suitable example.
or (b) compare formatted I/O and unformatted I/O and give some examples.
No comments:
Post a Comment