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

Oops Concept 7 Marks (2M+5M)

The document outlines the key characteristics of Object-Oriented Programming (OOP), including objects, classes, data abstraction, encapsulation, inheritance, overloading, polymorphism, dynamic binding, and message passing. It also discusses the advantages of OOP over procedural programming, such as modularization, code reusability, and data security, as well as its applications in various fields. Additionally, the document addresses the limitations of OOP and compares it with procedural programming.

Uploaded by

divya08007
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)
35 views3 pages

Oops Concept 7 Marks (2M+5M)

The document outlines the key characteristics of Object-Oriented Programming (OOP), including objects, classes, data abstraction, encapsulation, inheritance, overloading, polymorphism, dynamic binding, and message passing. It also discusses the advantages of OOP over procedural programming, such as modularization, code reusability, and data security, as well as its applications in various fields. Additionally, the document addresses the limitations of OOP and compares it with procedural programming.

Uploaded by

divya08007
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

1. Explain the characteristics of OOPs.

The following are the major characteristics of any object oriented programming
language. They are
 Objects
 Classes
 Data abstraction
 Data encapsulation
 Inheritance
 Overloading
 Polymorphism
 Dynamic binding
 Message passing

 Objects : An object is a collection of data members and associated member


functions.

 Classes : A class is a collection of objects that have identical properties, common


behaviour and shared relationship

 Data abstraction : Data Abstraction refers to the process of representing


essential features without including background details or explanations.

 Data encapsulation : The wrapping of data and functions into a single unit
(class) is called data encapsulation.

 Inheritance :Inheritance is the process by which one object can acquire and use
the properties of another object.

 Overloading: Overloading allows objects to have different meaning depending


upon context.
There are 2 types of overloading namely
1. Operator overloading
2. Function overloading

 Polymorphism: The ability of an operator and function to take multiple forms is


known as Polymorphism.

 Dynamic binding: 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

 Message passing: A message for an object is request for execution of procedure.

NOTE : Explain any 5 characteristics from above characteristics


1. Explain the advantage of object oriented programming.
Or
Mention any five advantages of OOP over procedural programming Languages
Or
Mention the advantages of Object Oriented Programming.

 The programs are modularized based on the principle of classes and objects.
 Linking code & object allows related objects to share common code. This reduces
code duplication and code reusability
 Data is encapsulated along with functions. thus providing data security.
 Easier to develop complex software
 Creation and implementation of OOP code is easy and reduces software
development time.
 The concept of data abstraction separates object specification and object
implementation.

2. Mention any five applications of OOP’s.


Or
Write the applications of OOP’s.
Or
Mention any FIVE application areas of OOP

 Computer graphic applications


 CAD/CAM software
 Object –oriented Database
 User Interface design such as windows
 Real-time systems
 Simulation and Modeling
 Artificial intelligence and expert systems
 Client Server System
 Mobile computing
 Decision support

3. Define object oriented programming. Write the limitations of object oriented


programming.
 Object Oriented programming is a programming based on the concepts of objects
that contains data and methods.
Limitations of OOP
 OOP software is not having set standards.
 To convert a real world problem into an object oriented model is difficult.
 The classes are overly generalized.
 Larger program size: OOP’s typically involves more lines of code than procedural
programs.
 Slower Programs: OOP’s typically slower than procedure based programs
 Not suitable for all types of programs.
4. Give the difference between procedural oriented programming and object
oriented programming.

Procedural oriented programming Object oriented programming.

Top-down approach is followed Bottom-up approach is followed


Focus is on algorithm and control flow Focus is on object model
Program is divided into a number of Program is organized by having a
sub-modules or functions number of classes and objects
Emphasizes is on the algorithm to solve Emphasizes on the data rather than
a problem algorithm
Reduced data security and integrity Increased data security and integrity
Views data and functions as two Views data and function as single
separate entities entities
Software reuse is not possible Software reuse is possible
Function call is used Message passing is used
Function abstraction is used Data abstraction is used
No encapsulation is used Data encapsulation is used

TWO MARK QUESTIONS

5. Mention any three High level languages that follow the OOP.
Java, Python, Ruby, C++ ,Visual Basic .NET
6. what is base class and derived class. (U)
The existing class is known as base class or super class.
The new class is known as derived class or sub class.
7. Define object and class
Objects : An object is a collection of data members and associated member functions.
Classes : A class is a collection of objects that have identical properties, common behaviour and shared
relationship
8. Define overloading. Mention its types. (U)
Overloading: Overloading allows objects to have different meaning depending upon context.
There are 2 types of overloading namely
1. Operator overloading
2. Function overloading
9. Mention any three advantages of OOP.
Easier to develop complex software
code duplication and code reusability.
easy and reduces software development time
10. Give any three applications of OOP. (A)
CAD/CAM software
Mobile computing
Decision support
11. Write the limitations of OOP.
Larger program size
Slower programs
Not suitable for all types of programs.
12. Explain any 3 characteristics of oops
Data abstraction : Data Abstraction refers to the process of representing essential features without
including background details or explanations.
Data encapsulation : The wrapping of data and functions into a single unit (class) is called data
encapsulation
Polymorphism: The ability of an operator and function to take multiple forms is known as Polymorphism

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