QUESTION BANK
UNIT – I
OBJECT AND CLASSES
PART – A (2 MARKS)
1. Define Object Oriented Programming.
2. Define Objects.
3. What are the features of Object oriented programming.
4. Define Encapsulation and Data hiding.
5. Define Data Abstraction.
6. Define Data members.
7. Define Member functions.
8. Define Inheritance.
9. Define Polymorphism.
10. List and define the two types of Polymorphism.
11. Define Dynamic Binding.
12. Define Message Passing.
13. List some benefits of OOPS.
14. List out the applications of OOP.
15. What is the return type of main ()?
16. List out the four basic sections in a typical C++ program.
17. Define Token. What are the tokens used in C++?
18. Define identifier. What are the rules to be followed for identifiers?
19. State the use of void in C++.
20. Define an Enumeration data type.
, 21. Define reference variable. Give its syntax.
22. List out the new operators introduced in c++.
23. What is the use of Scope resolution operator?
24. List out the memory referencing operators.
25. Define Implicit Conversion.
26. What is call by reference?
27. What are inline functions?
28. State the advantages of Default Arguments.
29. Define Function overloading.
30. Define friend function.
31. Write the limitations/ disadvantages of C++
32. What is meant by Lvalue and Rvalue ?
PART – B
1. Explain the basic concepts of Object oriented programming (11)
2. Explain the use of constant pointers and pointers to constant with an example.(11)
3. a. State the differences between class and struct and also illustrate with an example. (6)
b. What are the difference between pointers to constants and constant to
pointers? (6)
4. a. Write a C++ program using inline function. (6)
b. Write a C++ program to illustrate the static function (6)
5. Explain briefly about function overloading with a suitable example. (11)
6. a. Discuss constant and volatile functions. (6)
b. What is linkage specification and also explain its need. (6)
7. Explain about call by reference and return by reference with program. (11)