Page 1 :
1. Which of the following is not a feature of Object Oriented Programming?, A) Operator Overloading, B) Data Structure, C) Data encapsulation, D) Inheritance, 2. Which feature allows users to define how basic operators work with objects?, A) Operator overloading, B) Inheritance, C) Polymorphism, D) Data hiding, 3. _____ are those which do not change during the execution of a program., A) Keywords, B) Literals, C) Constants, D) Punctuators, 4. Operator overloading is a kind of _____., A) Inheritance, B) Operator overloading, C) Data hiding, D) Polymorphism, 5. Which statement transfers the control to the next statement after the loop and all the remaining statements and the iterations in the loop are skipped?, A) Switch, B) Break, C) Continue, D) Goto, 6. _____ are usually used to store data such as employee name, address, product description, password etc., A) Arrays, B) Strings, C) Structures, D) Functions, 7. Which function is used to find the length of a string?, A) Strcmp, B) Strcpy, C) Strlen, D) Strrev, 8. Which is one of the popular control statement as it is compact and clear in the specification?, A) if the loop, B) while loop, C) do..while loop, D) for loop, 9. Default variable in C++ is:, A) Automatic variables, B) External variables, C) Static variables, D) Internal variables, 10. _____ are a group of dissimilar data that are related to each other., A) Strings, B) Structures, C) Arrays, D) Functions, 11. _____ provide good mechanism to organize data., A) Structures, B) Functions, C) Arrays, D) Relations, 12. A/an _____ is an assignment or a task that must be performed to support the other part of a program., A) Function, B) Array, C) Relation, D) Class, 13. Friend functions do not break _____, rather enhance a class interface., A) Data hiding, B) Polymorphism, C) Abstraction, D) Encapsulation, 14. An instance of a class is:, A) Structure, B) Object, C) Module, D) Functions, 15. _____ are also defined by prefixing the keyword static., A) Friend functions, B) Dynamic functions, C) Static functions, D) Functions, 16. _____ stores the address of the class instance to enable pointer access of the members to the member functions of the class., A) this pointer, B) Pointer, C) Structure, D) Object, 17. A constructor only knows how to build an _____ of its own class., A) Function, B) Module, C) Object, D) Structure, 18. Constructors are just _____ with the same name as the class., A) Objects, B) Structures, C) Modules, D) Functions, 19. Both constructor and destructor are declared as _____, and they have no return value., A) Public, B) Private, C) Public as well as private, D) Protected, 20. Constructors are called _____ whenever an object of a class is created., A) By class, B) By function, C) By structure, D) Automatically, 21. Which operator works on two operands?, A) Relational, B) Unary, C) Arithmetic, D) Binary, 22. Friend functions are external functions that can access the _____ data members of a class., A) Private, B) Protected, C) Public as well as protected, D) Public, 23. _____ allows programmers to specify how various arithmetic, relational, and many other operators work with user-defined data types or classes., A) Operator overriding, B) Polymorphism, C) Abstraction, D) Operator overloading, 24. Which operator operates on only one operand and that operand itself invokes the operator?, A) Unary, B) Relational, C) Arithmetic, D) Binary, 25. The derived class can also have multiple parents which is known as _____., A) Hybrid inheritance, B) Multilevel inheritance, C) Single inheritance, D) Multiple inheritances, 26. Every _____ has a default pointer known as this pointer., A) Structure, B) Object, C) Function, D) Class, 27. _____ helps the code to be reused in many situations., A) Inheritance, B) Polymorphism, C) Encapsulation, D) Abstraction, 28. Which feature of OOP allows reuse of code without modifying the original code?, A) Inheritance, B) Polymorphism, C) Encapsulation, D) Abstraction, 29. _____ is a process of inheriting a class from more than one parent class., A) Hybrid inheritance, B) Multiple inheritance