0% found this document useful (0 votes)
44 views3 pages

Chapter 6 - Oop Concepts

This document defines key concepts in object-oriented programming (OOP) and structured programming. It defines objects, classes, encapsulation, inheritance, and polymorphism. It also discusses advantages like reduced code duplication and easier code implementation. Disadvantages include larger program size. OOP is applied to domains like computer graphics, databases, and real-time systems. The document provides short definitions and explanations of core OOP concepts.

Uploaded by

Fainox Tester
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views3 pages

Chapter 6 - Oop Concepts

This document defines key concepts in object-oriented programming (OOP) and structured programming. It defines objects, classes, encapsulation, inheritance, and polymorphism. It also discusses advantages like reduced code duplication and easier code implementation. Disadvantages include larger program size. OOP is applied to domains like computer graphics, databases, and real-time systems. The document provides short definitions and explanations of core OOP concepts.

Uploaded by

Fainox Tester
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CHAPTER 6 OOP CONCEPTS I PUC -CS

OOP CONCEPT
One mark questions:
1.Define Structured Programming. (U)
ANS : An organized approach to programming involving the use of three basic control
structures – Sequence, Conditional and loop.
2.Define Top-down design. (U)
ANS : Top-down design involves dividing a problem into sub-problems and further dividing
the subproblems into smaller sub-problems until it leads to sub-problems that can be
implemented as program statements.
3.What is Bottom up? (U)
ANS : Combining of the lower level modules to form modules of high level. This approach is
the reverse of top-down design.
5.Define an Object. (U)
ANS : An object is a collection of data members and associated member functions.
6 Expand OOP.
ANS : Object oriented programming
7. What is Object Oriented Programming (OOP)? (U)
ANS : OOP is a programming language model in which programs are organized around
data, or objects, rather than functions and logic.
8. What is Class? (U)
ANS : A class is a collection of objects that have identical properties, common
behavior and shared relationship.
9. Define a Module. (U)
ANS : A module is a set of source code files that are compiled independently.
10. What is Modularity? (U)
ANS : Modularity is a technique adopted to divide a complex problem into a number of
self contained independent programming fragments or modules.
11. What is Abstraction? (U)
ANS : Data Abstraction refers to the process of representing essential features without
including background details or explanations.
12. What is Data Encapsulation.? (U)
ANS :The wrapping of data and functions into a single unit (class) is called data
encapsulation.
13. What is Inheritance? (U)

Prepared by : Sanil Abraham, Deeksha Mahalakshmipuram Page 1


CHAPTER 6 OOP CONCEPTS I PUC -CS

ANS :Inheritance is the process by which one object can acquire and use the properties of
another object.
14. What is Polymorphism? (U)
ANS : The ability of an operator and function to take multiple forms is known as
Polymorphism.
15. What is Dynamic binding? (U)
ANS :Dynamic binding is the process of linking the procedure call to a specific sequence of
code or function at run time or during the execution of the program.
16. What is Message Passing? (U)
ANS :In
object is request for execution of procedure.
17. Mention any one benefit of OOP. (K)
ANS : Creation and implementation of OOP code is easy and reduces software
development time.
18. Mention any one advantage of OOP. (K)
ANS : It reduces code duplication.
19. Mention any one disadvantage of OOP. (K)
ANS : Larger program size: OOP’s typically involves more lines of code than procedural
programs.
20. Mention any one application of OOP. (K)
ANS : Computer graphics applications.
Two marks questions
1.What is structured programming? (U)
ANS :An organized approach to programming involving the use of three basic control
structures – Sequence, Conditional and loop.
7.Mention any two characteristics of OOP(K)
ANS : Data Abstraction , data encapsulation.
8.Explain Data Abstraction (U).
ANS : Data Abstraction refers to the process of representing essential features without
including background details or explanations.
9. Explain about Data Encapsulation(U)
ANS :The wrapping of data and functions into a single unit (class) is called
data encapsulation.
10. Explain about Inheritance. (U)
ANS :Inheritance is the process by which one object can acquire and use the properties of

Prepared by : Sanil Abraham, Deeksha Mahalakshmipuram Page 2


CHAPTER 6 OOP CONCEPTS I PUC -CS

another object.
11. Explain about Polymorphism. (U)
ANS :The ability of an operator and function to take multiple forms is known as
Polymorphism.
12. Explain about Dynamic binding. (U)
ANS : Dynamic binding is the process of linking the procedure call to a specific sequence of
code or function at run time or during the execution of the program.
13. Explain about Message Passing. (U)
ANS :
object is request for execution of procedure.
14. Mention any two advantages of OOP. (K)
ANS : This reduces code duplication and code reusability.
Creation and implementation of OOP code is easy and reduces software development
time.
15. Mention any two disadvantages of OOP. (K)
ANS :Larger program size: OOP’s typically involves more lines of code than procedural
programs.
for all types of programs.
To convert a real world problem into an object oriented model is difficult.
16. Mention any two applications of OOP. (K)
ANS : Computer graphics applications.
CAD/CAM software
Object-oriented database.
Real-time systems.
17. Define the terms: a) Encapsulation b) Polymorphism. (U)
ANS :The wrapping of data and functions into a single unit (class) is called
data encapsulation.
The ability of an operator and function to take multiple forms is known as Polymorphism.
18. What is function overloading? (U)
ANS :Function overloading means two or more function have same, but differ in the number
of arguments or data type of arguments.
19. What is operator overloading. (U)
ANS : When an existing operator operates on new data type is called operator overloading

Prepared by : Sanil Abraham, Deeksha Mahalakshmipuram Page 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy