Chapter 1 - Principal of Object Oriented
Chapter 1 - Principal of Object Oriented
Principles of Object
Oriented Programming
A. Tick () the correct option.
1. A set of instructions given to a computer to do a particular task.
a. Program
b. High level Language
c. Object
d. None of these
2. An object is represented by two attributes, out of which one is characteristics and the
other one
is ___________.
a. Behaviour
b. Situation
c. Abstraction
d. Encapsulation
4. Name the programming technique that specifies a series of well-structured steps and
procedures within its programming context to compose a program.
a. Procedure Oriented Programming
b. Modular Programming
c. Object Oriented Programming
d. None of these
5. Name the characteristics of Object Oriented Programming that hides the complexity and
provides a simple interface.
a. Encapsulation
b. Polymorphism
c. Abstraction
d. Inheritance
B. State whether the following statements are True (T) or False (F).
1. Encapsulation refers to the art of hiding the complexities and giving a simple interface.
2. Procedure Oriented Language follows top down approach.
3. Java is an example of Object Oriented Language.
4. Hiding the complexity and giving a simple interface is called Inheritance.
5. Abstraction is same as Encapsulation.
5. Define Encapsulation.
Ans. Encapsulation is a principle of Object Oriented Programming (OOP) that binds together
characteristics and behaviour of an object into a single unit represented by a class.