Tuesday, March 4, 2014

1. OBJECT ORIENTED CONCEPT USING C++

1. The two separate segments that were realized when viewing the solution of a problem are

(a) Data and Program (b) Data and Object (c) Data and Operations (d) Data and Class

2. The ability of an object to respond differently to different messages is called

(a) Polymorphism (b) Inheritance (c) Encapsulation (d) Overloading

3. Which is a kind of self-sufficient “subprogram” with a specific functional area?

(a) Object (b) Class (c) Entity (d) Overloading

4. The process of creating new data types from existing data type is called as

(a) Polymorphism (b) Inheritance (c) Encapsulation (d) Overloading

5. Which of the following is a group of related functions and data that serves those functions?

(a) Abstraction (b) Data (c) Object (d) Class

6. Which is the mechanism that bounds data and functions together within an object definition?

(a) Inheritance (b) Encapsulation (c) Abstraction (d) Polymorphism

7. The group of data and operations together are termed

(a) Program (b) Class (c) Object (d) Function

8. The act of revealing the essential features of an object while curtailing the access of data is called as

(a) Data Hiding (b) Inheritance (c) Polymorphism (d) Class

9. Data Hiding is also called as

(a) Deletion (b) Abstraction (c) Reduction (d) Hidden

10. Which of the following is a template for entities that have common behaviour?

(a) Class (b) Object (c) Attribute (d) State

11. Which of the following reduces the software complexity with multiple definitions?

(a) Inheritance (b) Polymorphism (c) Data Abstraction (d) Encapsulation

12. Which of the following classes is power packed, as they include the functionality of the base class along with their own unique features?

(a) New class (b) Parent class (c) Derived class (d) Super class

13. An example for Object Oriented Programming Language is

(a) C++ (b) FORTRAN (c) C (d) BASIC

14. Which of the following is the key factor of Object Oriented programming language?

(a) Functions and Object behaviour (b) Objects and Classes

(c) Data and Operations (d) Data and Objects

15. Which of the following data types allow programs to organize as objects?

(a) Class (b) Polymorphism (c) Inheritance (d) Data Abstraction

16. C++ belongs to which category of programming language?

(a) Structured (b) Procedural (c) Modular (d) Object Oriented

17. Which of the following provides security to data?

(a) Data hiding or Abstraction (b) Derived class or Base class

(c) Abstraction or Inheritance (d) Abstraction or Class

No comments:

Post a Comment