250+ TOP MCQs on Concepts of OOP and Answers

Computer Fundamentals Multiple Choice Questions on “Concepts of OOP”.

1. A ______________ represents the need of information in the program without the presenting the details.
a) abstraction
b) polymorphism
c) implementation
d) class

Answer: a
Clarification: Abstraction is a concept that involves hiding the details and giving only the necessary information to the user. It increases the power of a programming language.

2. Abstraction combines the data and functions into a single unit called a class.
a) True
b) False

Answer: b
Clarification: The statement is false. Data abstraction involves hiding the details and giving only the necessary information to the user.

3. The process of forming a new class from an existing class.
a) Abstraction
b) Polymorphism
c) Inheritance
d) Implementation

Answer: c
Clarification: The answer is inheritance. The base class is the parent class and the new class is called the child class.

4. This concept allows routines to use data again at different times.
a) Abstraction
b) Polymorphism
c) Inheritance
d) Implementation

Answer: b
Clarification: Polymorphism is a concept in OOP wherein different functions can be used again at different times.

5. The ability for programmers to use the same written and debugged existing class.
a) Reusability
b) Design
c) Debugging
d) Implementation

Answer: a
Clarification: The programmer can add features to the existing class. The programmer on further developing the application, and allowing users to achieve increased performance.

6. A concept that combines data and functions into a single unit called class.
a) inheritance
b) encapsulation
c) polymorphism
d) abstraction

Answer: b
Clarification: Encapsulation enables the important concept of data hiding possible. It combines data and functions into a single unit.

7. __________ represents a particular instance of a class.
a) module
b) block
c) object
d) token

Answer: c
Clarification: An object is an instance of the class. The data members are accessed with the help of objects.

8. A basic unit of object-oriented programming.
a) module
b) block
c) object
d) token

Answer: c
Clarification: In OOP, the basic unit is an object. Objects are identified by its unique name.

9. A procedural programming follows ___________ approach.
a) top-down
b) bottom-up
c) left-right
d) right-left

Answer: a
Clarification: A procedural programming follows top-down approach. The main focus is on the functions. It has a lot of global variable.

10. A programming technique in which the focus is on doing things.
a) object oriented
b) procedural
c) logical
d) structural

Answer: b
Clarification: In procedural programming, the focus is on doing things(functions). It follows top-down approach.

Leave a Reply

Your email address will not be published. Required fields are marked *