Page 27 - CA_Blue( J )_Class9
P. 27
F. Assertion and Reasoning based questions.
The following questions consist of two statements – Assertion (A) and Reason (R). Answer these questions by selecting
the appropriate option given below:
(a) Both A and R are true, and R is the correct explanation of A.
(b) Both A and R are true, but R is not the correct explanation of A.
(c) A is true, but R is false.
(d) A is false, but R is true.
1. Assertion(A): Object-Oriented Programming (OOP) is better in mapping real world on Computers than Procedural
Oriented Programming (POP) because it supports inheritance, encapsulation, and polymorphism.
Reason(R): Procedures are the core principles of OOP that enable code reuse, better organisation, and easier
maintenance.
Ans. (c) A is true, but R is false
2. Assertion (A): Object-Oriented Programming (OOP) promotes better code reusability compared to Procedural
Oriented Programming (POP).
Reason (R): OOP allows the creation of classes that can be instantiated multiple times, enabling the reuse of code
with different objects.
Ans. (a) Both A and R are true, and R is the correct explanation of A.
3. Assertion (A): Encapsulation is a mechanism in Object-Oriented Programming that improves security and data
integrity.
Reason (R): Encapsulation allows data to be hidden within an object and accessible only through public methods,
preventing unauthorised access and modification.
Ans. (a) Both A and R are true, and R is the correct explanation of A.
Unsolved Questions
A. Tick ( ) the correct answer.
1. Which of the following is a pillar of Object-Oriented programming?
a. Superclass b. Variable
c. Polymorphism d. Subclass
2. ………………… allows multiple objects of different subclasses to be treated as objects of a single superclass.
a. Inheritance b. Method
c. Polymorphism d. Superclass
3. Abstraction and data hiding maintains the ………………… of data as only necessary data is provided
a. Hacking b. Deleting
c. Security d. Breaking
4. The other name of Subclass is ………………… class.
a. Super b. Derived
c. roo d. Inherited
5. ………………… is about hiding unwanted details and showing only the essential information.
a. Abstraction b. Polymorphism
c. Inheritance d. Encapsulation
B. Fill in the blanks.
1. ………………… has global data sharing of functions.
2. ………………… converts source code into the object code.
3. ………………… divides the whole problem into smaller programs known as functions or methods.
Principles of Object-Oriented Programming 25

