Download Kerala Board Solutions for Class 12 Computer Science Chapter 02 Concepts of Object-Oriented Programming
Review structured textbook solutions for Class 12 Computer Science Chapter 02 Concepts of Object-Oriented Programming. Built according to Kerala Board guidelines for the 2026-27 academic year, these downloadable answers support daily revision and problem-solving accuracy.
Access Kerala Board Solutions and Answers
Access the complete solution PDF for Class 12 Computer Science below. Regular practice with these targeted textbook answers builds familiarity with standard question patterns and helps secure higher marks in final school evaluations.
One Mark Questions and Answers
Question 1: Protecting data from access by unauthorized functions is called data ______.
(a) Polymorphism
(b) Encapsulation
(c) Data abstraction
(d) Inheritance
Answer:
(b) Encapsulation
Exam Tips:
a) Encapsulation binds data and functions into one unit (class) so that outside functions cannot access the data directly; this is data hiding.
Question 2: The act of partitioning a program into individual components is called ______.
(a) Polymorphism
(b) Encapsulation
(c) Data abstraction
(d) Modularity
Answer:
(d) Modularity
Exam Tips:
a) Key word link: "partitioning into components/modules" always points to modularity.
Question 3: Which of the following is not an OOP concept?
(a) Overloading
(b) Procedural programming
(c) Data abstraction
(d) Inheritance
Answer:
(b) Procedural programming
Exam Tips:
a) Procedural programming is a separate programming paradigm, not a feature of OOP; overloading is a form of polymorphism.
Question 4: The ability for a message or data to be processed in more than one form is called ______.
(a) Polymorphism
(b) Encapsulation
(c) Data abstraction
(d) Inheritance
Answer:
(a) Polymorphism
Exam Tips:
a) "Poly" means many and "morph" means form; polymorphism means many forms.
Question 5: C++ is a ______ language.
(a) Object-based
(b) Non-procedural
(c) Object-oriented
(d) Procedural
Answer:
(c) Object-oriented
Exam Tips:
a) C++ supports all OOP features such as classes, inheritance and polymorphism, so it is an object-oriented language.
Question 6: Which of the following is not a characteristic of OOP?
(a) It emphasises procedure more than data.
(b) It models the real world.
(c) It wraps up related data items and associated functions in one unit.
(d) None of the above
Answer:
(a) It emphasises procedure more than data.
Exam Tips:
a) Emphasis on procedure is a feature of procedural programming; OOP gives importance to data.
Question 7: Which among the following is true about OOP?
(a) It supports data abstraction
(b) It supports polymorphism
(c) It supports structured programming
(d) It supports all the above
Answer:
(d) It supports all the above
Exam Tips:
a) When each option is individually correct, choose "all the above".
Question 8: Identify the correct statements from the following.
(a) The procedural programming approach aims more at procedures.
(b) The object-oriented approach views a problem in terms of the objects involved.
(c) Real life cannot be modelled in OOP.
(d) Procedures take a secondary status in the object-oriented approach.
Answer:
(a), (b) and (d)
Exam Tips:
a) Statement (c) is wrong because modelling real-world objects is one of the main strengths of OOP.
Question 9: "One form, many behaviours" represents ______.
(a) Modularity
(b) Abstraction
(c) Polymorphism
(d) Inheritance
Answer:
(c) Polymorphism
Exam Tips:
a) Any phrase about "many forms" or "different behaviour for the same message" indicates polymorphism.
Question 10: What do you understand by programming paradigm?
Answer:
A paradigm is the organising principle of a program. It is an approach to programming.
Exam Tips:
a) Give examples of paradigms, such as procedural and object-oriented, to strengthen the answer.
Question 11: What are the characteristics of the procedural paradigm (procedural programming)?
Answer:
In the procedural paradigm, the emphasis is on doing things (actions). Data is the reason for a program's existence, yet data is given second-class status while programming.
Exam Tips:
a) Remember the two points: emphasis on actions/procedures, and data given second-class status.
Question 12: Which of the following is not a programming paradigm?
(a) Object oriented
(b) Procedure oriented
(c) Both a and b
(d) Standard
Answer:
(d) Standard. This is not a programming paradigm.
Exam Tips:
a) Object-oriented and procedure-oriented are the two paradigms studied in this chapter; "standard" is not a paradigm.
Question 13: In programming, modules are composed of ______.
(a) Data types
(b) Functions
(c) Statements
(d) Programs
Answer:
(b) Functions
Exam Tips:
a) In procedural programming, a large program is broken into modules, which are made up of functions.
Question 14: The following function prototypes implement an OOP concept. Identify the concept and explain it.
int area(int side);
int area(int length, int breadth);
float area(float radius);
Answer:
Polymorphism (function overloading). The same function name area() is used with different numbers and types of arguments, and the correct version is selected according to the arguments passed. Thus one name behaves in many forms.
Exam Tips:
a) Functions with the same name but different argument lists show function overloading, which is compile-time polymorphism.
b) The question asks you to explain the concept too, so add one line of explanation after naming it.
Two Mark Questions and Answers
Question 15: State whether the following statements are true or false.
1. In procedure-oriented programming, data is the reason for a program's existence.
2. Real-world concepts get simplified using the concept of abstraction.
Answer:
1. False. Procedural programming gives emphasis to doing actions or operations. Data is given only second-class status and is not secure.
2. True. Real-world concepts get simplified through abstraction. In object-oriented programming, problems are viewed in terms of the objects involved, so modelling the real world becomes easy. Only the essential features of objects are represented. This property is known as data abstraction.
Exam Tips:
a) For true/false questions, write the reason along with True or False to get full marks.
b) Remember that procedural programming focuses on procedures, while OOP focuses on data and objects.
Question 16: How does inheritance support reusability?
Answer:
Inheritance allows additional features to be added to an existing class without modifying it. A new class (subclass) can be derived from an existing class, and new features can be added to it. The existing code is reused, so the amount of typing and effort is reduced.
Exam Tips:
a) Stress that the base class remains unchanged while the derived class reuses its code.
b) Mention the benefit: less coding effort and fewer errors.
Question 17: Define the terms base class and subclass, and state the relationship between them.
Answer:
Inheritance is the capability of a class to inherit properties from another class. The class that inherits from another class is called the subclass (derived class), and the class whose properties are inherited is called the base class.
For example, if the class 'student' inherits from the class 'person', then 'person' is the base class of 'student', and 'student' is a subclass of 'person'.
Exam Tips:
a) Define both terms separately and state that their relationship is inheritance.
b) Give a simple example like person/student to make the answer clear.
Question 18: How is data hidden and kept safe when encapsulation is implemented?
Answer:
Encapsulation combines data and the functions that operate on that data into a single unit. Encapsulation is usually achieved through information hiding, which is the process of hiding all the details of an object that do not contribute to its essential characteristics. The internal structure of the object is hidden, and the data can be accessed only through the member functions of the class, so it is safe from outside access.
Exam Tips:
a) Mention private members: in C++, data declared private can be accessed only by the member functions of the class.
b) Use the term "information hiding" in your answer.
Question 19: Differentiate between object and class.
Answer:
Object: An object is an identifiable entity with some characteristics and behaviour. It represents an entity that can store data and its associated functions.
Class: A class is a group of objects that share common properties and relationships. It represents a group of similar objects.
Exam Tips:
a) Remember: a class is the blueprint, and an object is an instance of the class.
Question 20: Distinguish between class and object with the help of examples.
Answer:
Class: A class is a collection of objects with similar attributes.
Object: An object is an instance of a class.
Example: Furniture is a class. Chair, table, etc. are instances, that is, objects of the class Furniture.
Exam Tips:
a) The example carries marks here; write one class and at least two of its objects.
Question 21: When we switch on the computer, booting takes place. We do not know what happens inside. Identify the OOP concept that resembles this scenario. Give another situation that resembles this concept.
Answer:
Data abstraction. It refers to the act of representing essential features without including the background details.
Another example is a switchboard: we just press the switch to turn on a light or fan without knowing the internal wiring.
Exam Tips:
a) Answer both parts: name the concept and give a new example.
b) Other good examples are driving a car or using an ATM, where the user does not see the internal working.
Question 22: Which of the following members of a C++ class are hidden from access outside the class?
(a) Private and protected members
(b) Private and public members
(c) Public and protected members
(d) Private, public and protected members
Answer:
(a) Private and protected members
Exam Tips:
a) Public members are accessible from outside the class; private and protected members are hidden.
Question 23: Explain how operator overloading implements polymorphism.
Answer:
Polymorphism is the ability of a message or data to be processed in more than one form. It is achieved through function overloading, operator overloading and dynamic binding.
In operator overloading, the same operator is given different meanings depending on the type of data it works on. For example, the + operator adds two numbers (6 + 9 = 15), but it can be overloaded to join two strings ("x" + "yz" = "xyz"). Thus one operator behaves in many forms, which is polymorphism.
Exam Tips:
a) Define polymorphism first, then show how one operator gets different meanings.
b) The + operator for numbers and strings is the standard example; use it.
Three Mark Questions and Answers
Question 24: You have seen a flask. When you put some ice cubes in it, they stay there for hours without melting, and when you pour in some hot water, it stays hot.
1. Name the OOP feature that we can correlate with this situation.
2. Write a short note about that feature.
Answer:
1. Polymorphism
2. Polymorphism is an essential feature of object-oriented programming. Polymorphism means having many forms. It is the capability of an object to behave differently in response to a message or action. That is, the same operation is performed differently depending on the type of data it is working with. Polymorphism is implemented in C++ in two ways: compile-time polymorphism and run-time polymorphism.
Exam Tips:
a) Relate the example: the same flask behaves differently (keeps cold things cold and hot things hot) depending on what is put in it.
b) Mention the two types: compile-time (overloading) and run-time (virtual functions / dynamic binding).
Question 25: Suppose your school is selected as the venue for conducting the District Youth Festival. For the smooth functioning of the programme, different committees are formed and each committee is assigned separate duties.
1. Which OOP feature can be correlated to this situation?
2. Write a brief note on that feature.
Answer:
1. Modularity
2. When programs become large, they are broken into functions or modules. A module is a separate unit in itself, and each unit can be compiled separately. All modules work together to achieve the goal of the program. The act of partitioning a program into individual units is called modularity. It reduces the complexity of the program.
Exam Tips:
a) Compare each committee to a module that does its own job while contributing to the common goal.
b) End with the main advantage: reduced complexity.
Question 26: You have seen the enquiry machine in a railway station. The user just types in a few details like train number, station and date, and the details of the train, seat availability, fare, etc. are displayed. The user is not aware of how it works. Which OOP feature can you correlate with this situation?
Answer:
Data abstraction.
Data abstraction is an important feature of OOP. It refers to the act of representing essential features without including the background details or explanations. Abstraction supports data hiding, so only the relevant information is shown to the user and the rest remains hidden.
Exam Tips:
a) The clue is "the user is not aware of its working", which points to abstraction.
b) Write the definition along with the name of the feature for full marks.
Question 27: The famous luxury ship 'TITANIC' provided all facilities like food, entertainment and medical aid available at that time for its passengers. Can you correlate this with any of the OOP features you have learnt? Justify.
Answer:
Encapsulation.
Just as the ship contained all the facilities together in one unit, encapsulation places data and the functions that work on it together in a single unit. Encapsulation is the most fundamental concept of OOP; placing data and functions together is the central idea of object-oriented programming.
Exam Tips:
a) Justify by linking "all facilities inside one ship" to "data and functions inside one class".
Question 28: Using a real-world example, explain the concept of inheritance.
Answer:
The parent-child relationship is the best example of inheritance. A child derives properties from the parents. C++ supports inheritance.
Inheritance is the capability of one class to inherit properties from another class. In other words, inheritance is the process of creating new classes, called derived classes, from existing base classes. The derived class inherits all the properties of the base class and can add features of its own. The base class is unchanged by this process.
Exam Tips:
a) Give the real-world example first, then the technical definition with the terms base class and derived class.
b) A simple diagram with an arrow from the child class to the base class adds value.
Question 29: In an ATM, the user is given options only to access account details, withdraw money, deposit money, etc. The background details are not shown to the user.
1. Name the object-oriented feature that we can correlate with this situation.
2. Briefly explain the feature.
Answer:
1. Data abstraction
2. Abstraction refers to the act of representing essential features without including the background details or explanations. Abstraction supports data hiding, so only the relevant information is shown to the user and the rest of the information remains hidden.
Exam Tips:
a) Hiding background details while showing only essential options is the key idea of abstraction.
Question 30: Consider the diagram. Can you correlate any OOP feature from it? Write a note on the feature.
Answer:
Data encapsulation. Here the salesman and the sales data are enclosed together within the sales department.
Placing data and functions together is the central idea of object-oriented programming; this is encapsulation. It is a way to implement abstraction by wrapping up data and the associated functions into a single unit.
Exam Tips:
a) Explain the diagram: the department (class) wraps both the data (sales) and the one who works on it (salesman).
b) Mention that encapsulation helps to implement abstraction and data hiding.
Question 31: Consider the following statements:
6 + 9 = 15 but 'x' + 'yz' = 'xyz'
Which OOP feature can you infer from this? Explain.
Answer:
Polymorphism. Polymorphism is the ability of a message or data to be processed in more than one form. The same operation (+) is performed differently depending on the type of data it is working with: it adds numbers but joins strings.
Exam Tips:
a) This is an example of operator overloading, which is a form of compile-time polymorphism.
Question 32: Abstraction and encapsulation are complementary concepts of OOP. Justify.
Answer:
Abstraction refers to the act of representing essential features without including the background details. Encapsulation is the wrapping up of data and functions into a single unit.
Abstraction focuses on the observable behaviour of an object, whereas encapsulation focuses on the implementation that gives rise to this behaviour. So the two concepts complement each other.
Exam Tips:
a) Define both terms, then state the difference in focus: behaviour (abstraction) versus implementation (encapsulation).
Question 33: Write four reasons for the increasing complexity of procedural programming.
Answer:
The main reasons for the increasing complexity of procedural programming are:
1. Data is undervalued.
2. Adding new data requires modifications to all or many functions.
3. Creating new data types is difficult.
4. It provides poor real-world modelling.
Exam Tips:
a) Write exactly four clear points as the question asks.
b) These are the limitations that OOP was designed to overcome.
Question 34: List the advantages of Object Oriented Programming.
Answer:
1. OOP allows modularity (dividing large programs into smaller ones).
2. It is good for defining abstract data types.
3. It allows data abstraction.
4. It allows code reusability.
5. Real-life entities can be easily modelled.
6. It supports the creation of new data types.
Exam Tips:
a) Code reusability (through inheritance) and real-world modelling are the most important advantages; always include them.
Question 35: Identify a suitable attribute from the second column and an associated behaviour from the third column for each object in the first column.
| Object | Attribute | Behaviour |
|---|---|---|
| i) Student | a) Legs | 1) Conducting examination |
| ii) Fruit | b) Admission number | 2) Carrying a platform |
| iii) Furniture | c) Speed | 3) Ripening |
| d) Colour | 4) Scoring marks |
Answer:
| Object | Attribute | Behaviour |
|---|---|---|
| i) Student | b) Admission number | 4) Scoring marks |
| ii) Fruit | d) Colour | 3) Ripening |
| iii) Furniture | a) Legs | 2) Carrying a platform |
Exam Tips:
a) An attribute is a property (data) of an object and a behaviour is an action (function) it performs.
b) Some items, like Speed and Conducting examination, are extra and are not used.
Question 36: "School Kalolsavam" is organised with the help of various committees. Each committee is assigned a specific task. Identify the OOP concept that is analogous to this situation. Give another real-life case that resembles this concept.
Answer:
The OOP concept is modularity.
Another example: consider filling up application forms for all the students in a class. Suppose one form takes about 5 minutes. If the class teacher fills up all the forms for 50 students alone, it will take 5 × 50 = 250 minutes.
Instead, the teacher distributes the forms to the students (5 minutes), gives instructions on how to fill them (5 minutes), the students fill them up (5 minutes), and the filled forms are collected back (5 minutes). So the entire work takes only 5 + 5 + 5 + 5 = 20 minutes.
Dividing a big task into smaller parts done separately is modularity.
Exam Tips:
a) Name the concept clearly, then give your own example as the question asks.
b) Show how dividing the work reduces time and complexity, just as modules do in a program.
Question 37: Look at the following figure:
1. Identify the OOP concept shown by the figure.
2. Write a short note about this concept.
Answer:
1. Inheritance
2. Inheritance is the capability of one class of things to inherit properties from another class. The class from which properties are inherited is called the base class, and the class that inherits them is called the derived class. In the figure, HSS, HS, UP and LP inherit from School, and Science, Commerce and Humanities inherit from HSS.
Exam Tips:
a) Use the figure in your note: point out the base class (School) and the derived classes.
b) This figure shows a hierarchy, so you can also mention it is hierarchical/multilevel inheritance.
Free study material for Computer Science
Step-by-Step Textbook Answers: Class 12 Computer Science Chapter 02 Concepts of Object-Oriented Programming
Chapter Exercise Answers for Class 12 Computer Science
Explore reliable textbook solutions for Chapter 02 Concepts of Object-Oriented Programming tailored for Class 12 learners. Utilizing these complete exercise answers ensures your preparation aligns exactly with official Kerala Board standards for Computer Science.
Detailed Answer Guides for Chapter 02 Concepts of Object-Oriented Programming
Beyond providing final answers, these guides offer step-by-step breakdowns for complex queries in the Class 12 Computer Science module. This approach helps students balance theoretical depth with practical problem-solving skills required for Kerala Board exams.
Complete Preparation Kit for Class 12 Exams
Frequent review of these structured answers builds strong analytical capabilities and response efficiency. Maximize your academic readiness by combining these textbook solutions with our curated study materials and mock evaluations for Class 12 Computer Science.
FAQs
The complete and updated Kerala Plus Two Computer Science Chapter 2 Concepts of Object-Oriented Programming Questions and Answers is available for free on StudiesToday.com. These solutions for Class 12 Computer Science are as per latest Kerala Board curriculum.
Yes, our experts have revised the Kerala Plus Two Computer Science Chapter 2 Concepts of Object-Oriented Programming Questions and Answers as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Computer Science concepts are applied in case-study and assertion-reasoning questions.
Toppers recommend using Kerala Board language because Kerala Board marking schemes are strictly based on textbook definitions. Our Kerala Plus Two Computer Science Chapter 2 Concepts of Object-Oriented Programming Questions and Answers will help students to get full marks in the theory paper.
Yes, we provide bilingual support for Class 12 Computer Science. You can access Kerala Plus Two Computer Science Chapter 2 Concepts of Object-Oriented Programming Questions and Answers in both English and Hindi medium.
Yes, you can download the entire Kerala Plus Two Computer Science Chapter 2 Concepts of Object-Oriented Programming Questions and Answers in printable PDF format for offline study on any device.