SlideShare una empresa de Scribd logo
1 de 21
Descargar para leer sin conexión
OBJECT ORIENTED CONCEPTS
Prof. K ADISESHA (Ph. D)
OBJECT ORIENTED
CONCEPTS
Introduction
Programming Concepts
OOPs characteristics
OOPs Benefits
OOPs Applications
2
Prof. K. Adisesha (Ph. D)
Introduction
Prof. K. Adisesha (Ph. D)
3
Definition:
The programming languages deal with two important aspects –
❖ Data
❖ Algorithm.
➢ Data is the main substance of the program and the algorithms are the
methods that use these programs.
➢ OOP is the principle of design and development of programs using the
modular approach.
Introduction
Prof. K. Adisesha (Ph. D)
4
Evolution of programming techniques:
IBM gave birth to the first ever high level programming language in 1954 when a
team led by John Backus invented FORTRAN (i.e. FORmula TRANslation).
➢ FORTAN was originally developed for scientific and engineering programs.
➢ It is still used to this day.
➢ The period from the late 1960s to the late 1970s brought a major flowering of
programming languages.
➢ Most of the major language paradigms now in use were invented in this period.
Introduction
Prof. K. Adisesha (Ph. D)
5
Evolution of programming techniques:
Some notable languages that were developed in this period include:
Programming Concepts
Prof. K. Adisesha (Ph. D)
6
Programming Concepts:
The programming approach deal with three important aspects:
❖ Procedural programming.
❖ Structured programming.
❖ Object oriented programming
Programming Concepts
Prof. K. Adisesha (Ph. D)
7
Procedural programming:
The procedural programming focuses on processing of instructions in order to perform
a desired computation.
➢ It emphasizes more on doing things like algorithms.
➢ This programming is lengthy, increases the complexity of program, difficult to
understand and modify the program.
➢ This technique is used in conventional programming languages such as C and
Pascal.
➢ For example, procedural programs make use of branching statements, where
the flow of control changes its path according to the result of the test
expression.
Programming Concepts
Prof. K. Adisesha (Ph. D)
8
Structured programming:
Structured programming approach was a disciplined approach which limits the
branching to a small set of well-behaved construction.
➢ It emphasizes more on doing things like: if, if-else, while etc,. control structure.
➢ The idea of Top-down design is to break a large program into smaller
programs.
➢ The major drawback is that it is very difficult to model the real world scenario
using this model.
Programming Concepts
Prof. K. Adisesha (Ph. D)
9
Object oriented programming:
Object oriented programming (OOP) is a concept that combines both the data and the
functions that operate on that data into a single unit called the object.
➢ Object is an identifiable entity with some characteristics and behavior.
➢ OOP follows bottom-up design technique, where solutions to smaller modules
are integrated to find the solution of overall problem
➢ Class is the major concept that plays important role in this approach. Class is a
template that represents a group of objects which share common properties and
relationships.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
10
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes .
❖ Modularity
❖ Abstraction
❖ Data Encapsulation
❖ Inheritance
❖ Polymorphism
❖ Dynamic Binding
❖ Message Passing
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
11
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes .
Modularity:
➢ Module is a logically self contained unit that can be tested and executed
independently.
➢ Modularity is a technique adopted to divide a complex problem into a number
of self contained independent programming fragments or modules.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
12
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes .
Abstraction:
➢ Abstraction is an act which represents the essential features of an entity without
including explanations or any background details about it.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
13
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes.
Data Encapsulation:
➢ Wrapping of data and functions into a single unit is called data encapsulation.
➢ The concept of insulating the data from direct access by the program is called
data hiding.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
14
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes.
Inheritance:
➢ Inheritance is the process by which objects of one class acquires the properties
of the objects of another class. (Or)
➢ The process of deriving a new class from the existing class is called
inheritance.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
15
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes .
Polymorphism:
➢ Polymorphism is the ability for a message to be processed in more than one form.
➢ The process of making an operator to exhibit different behaviors in different
instances is known as operator overloading.
➢ Using a single function name to perform different types of tasks is known as
function overloading.
Characteristics of OOPs
Prof. K. Adisesha (Ph. D)
16
OOPs characteristics:
The general concepts of Object oriented programming (OOP) includes .
Dynamic Binding:
➢ Binding means linking of a procedure call to the code to be executed when it is
called.
➢ Dynamic binding means binding the procedure call during program run rime.
Message Passing:
➢ Passing message objects and invoking the function by the object by sending a
message is known as message passing
OOPs Benefits
Prof. K. Adisesha (Ph. D)
17
Advantages of OOPs:
The various advantages of Object oriented programming (OOP) includes.
❖ OOPs model the real world entity very well.
❖ Inheritance eliminates the redundancy (repetition) of code and hence supports code
reusability.
❖ Data hiding helps to build secured programs.
❖ Multiple instances (objects) can be created.
❖ Work can be divided easily.
❖ OOPs can be easily upgraded from small to large systems.
❖ Complexity can be easily managed.
❖ Message passing concept helps the objects to communicate and share data.
OOPs disadvantages
Prof. K. Adisesha (Ph. D)
18
Disadvantages of OOPs:
The various disadvantages of Object oriented programming (OOP) includes .
❖ OOPs use tricky method to do the programming.
❖ Special skills such as thinking in terms of design skills, programming skills and object
is required for a programmer.
❖ Proper planning and design is required before programming using OOPs technique.
OOPs Applications
Prof. K. Adisesha (Ph. D)
19
Applications of OOPs:
The various applications of Object oriented programming (OOP) includes .
❖ Object oriented databases.
❖ Hypermedia, expert text and hypertext.
❖ Artificial intelligence and expert systems.
❖ Decision support systems and office automation systems.
❖ Parallel programming and neural networks.
❖ CAD, CAM, CIM systems.
❖ Simulation and modeling.
OOPs Applications
Prof. K. Adisesha (Ph. D)
20
Difference between Procedural & OOPs Programming:
Procedural Programming Object Oriented Programming
Large programs are divided into smaller programs
known as functions
Programs are divided into objects
Data is not hidden and can be accessed by external
functions
Data is hidden and cannot be accessed by external
functions
Follow top down approach in the program design Follows bottom-up approach in the program design
Data may communicate with each other through
functions
Objects may communicate with each other through
functions.
Emphasize is on procedure rather than data Emphasize is on data rather than
procedure
Discussion
Prof. K. Adisesha (Ph. D)
21
Queries ?
Prof. K. Adisesha

Más contenido relacionado

La actualidad más candente

Control structures in java
Control structures in javaControl structures in java
Control structures in javaVINOTH R
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVAAbhilash Nair
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++HalaiHansaika
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++Ankur Pandey
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .NetGreg Sohl
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Mahmoud Alfarra
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp PresentationVishwa Mohan
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming languageMd.Al-imran Roton
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPMudasir Qazi
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS ConceptBoopathi K
 
Oop c++class(final).ppt
Oop c++class(final).pptOop c++class(final).ppt
Oop c++class(final).pptAlok Kumar
 
Object oriented approach in python programming
Object oriented approach in python programmingObject oriented approach in python programming
Object oriented approach in python programmingSrinivas Narasegouda
 

La actualidad más candente (20)

Control structures in java
Control structures in javaControl structures in java
Control structures in java
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
 
Android Fragment
Android FragmentAndroid Fragment
Android Fragment
 
[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP[OOP - Lec 01] Introduction to OOP
[OOP - Lec 01] Introduction to OOP
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++
 
Applets
AppletsApplets
Applets
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
 
Templates in c++
Templates in c++Templates in c++
Templates in c++
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Generics
GenericsGenerics
Generics
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .Net
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOP
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
Oop c++class(final).ppt
Oop c++class(final).pptOop c++class(final).ppt
Oop c++class(final).ppt
 
Python Modules
Python ModulesPython Modules
Python Modules
 
C by balaguruswami - e.balagurusamy
C   by balaguruswami - e.balagurusamyC   by balaguruswami - e.balagurusamy
C by balaguruswami - e.balagurusamy
 
Object oriented approach in python programming
Object oriented approach in python programmingObject oriented approach in python programming
Object oriented approach in python programming
 

Similar a Object oriented concepts ppt

1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt
1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt
1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.pptsagarjsicg
 
Object Oriented programming - Introduction
Object Oriented programming - IntroductionObject Oriented programming - Introduction
Object Oriented programming - IntroductionMadishetty Prathibha
 
Need of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopNeed of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopJanani Selvaraj
 
object oriented programming(syed munib ali 11b-023-bs)
object oriented programming(syed munib ali 11b-023-bs)object oriented programming(syed munib ali 11b-023-bs)
object oriented programming(syed munib ali 11b-023-bs)munibali55
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptxDivyaKS12
 
c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptxPadmaN24
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharVivek Parihar
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxprakashvs7
 

Similar a Object oriented concepts ppt (20)

Oop basic overview
Oop basic overviewOop basic overview
Oop basic overview
 
1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt
1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt
1. OBJECT ORIENTED PROGRAMMING USING JAVA - OOps Concepts.ppt
 
object oriented programming(oops)
object oriented programming(oops)object oriented programming(oops)
object oriented programming(oops)
 
JAVA PROGRAMMING
JAVA PROGRAMMING JAVA PROGRAMMING
JAVA PROGRAMMING
 
Birasa 1
Birasa 1Birasa 1
Birasa 1
 
JAVA PROGRAMMINGD
JAVA PROGRAMMINGDJAVA PROGRAMMINGD
JAVA PROGRAMMINGD
 
Object Oriented programming - Introduction
Object Oriented programming - IntroductionObject Oriented programming - Introduction
Object Oriented programming - Introduction
 
chapter-6-oops.pdf
chapter-6-oops.pdfchapter-6-oops.pdf
chapter-6-oops.pdf
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Need of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopNeed of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oop
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 
Lecture No.1.pptx
Lecture No.1.pptxLecture No.1.pptx
Lecture No.1.pptx
 
object oriented programming(syed munib ali 11b-023-bs)
object oriented programming(syed munib ali 11b-023-bs)object oriented programming(syed munib ali 11b-023-bs)
object oriented programming(syed munib ali 11b-023-bs)
 
OOP-1.pptx
OOP-1.pptxOOP-1.pptx
OOP-1.pptx
 
130704798265658191
130704798265658191130704798265658191
130704798265658191
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
 
c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptx
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
 

Más de Prof. Dr. K. Adisesha

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfProf. Dr. K. Adisesha
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaProf. Dr. K. Adisesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfProf. Dr. K. Adisesha
 

Más de Prof. Dr. K. Adisesha (20)

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdf
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdf
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdf
 
Introduction to Computers.pdf
Introduction to Computers.pdfIntroduction to Computers.pdf
Introduction to Computers.pdf
 
R_Programming.pdf
R_Programming.pdfR_Programming.pdf
R_Programming.pdf
 
Scholarship.pdf
Scholarship.pdfScholarship.pdf
Scholarship.pdf
 
Operating System-2 by Adi.pdf
Operating System-2 by Adi.pdfOperating System-2 by Adi.pdf
Operating System-2 by Adi.pdf
 
Operating System-1 by Adi.pdf
Operating System-1 by Adi.pdfOperating System-1 by Adi.pdf
Operating System-1 by Adi.pdf
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Data_structure using C-Adi.pdf
Data_structure using C-Adi.pdfData_structure using C-Adi.pdf
Data_structure using C-Adi.pdf
 
JAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdfJAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdf
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
 

Último

How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 

Último (20)

How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 

Object oriented concepts ppt

  • 1. OBJECT ORIENTED CONCEPTS Prof. K ADISESHA (Ph. D)
  • 2. OBJECT ORIENTED CONCEPTS Introduction Programming Concepts OOPs characteristics OOPs Benefits OOPs Applications 2 Prof. K. Adisesha (Ph. D)
  • 3. Introduction Prof. K. Adisesha (Ph. D) 3 Definition: The programming languages deal with two important aspects – ❖ Data ❖ Algorithm. ➢ Data is the main substance of the program and the algorithms are the methods that use these programs. ➢ OOP is the principle of design and development of programs using the modular approach.
  • 4. Introduction Prof. K. Adisesha (Ph. D) 4 Evolution of programming techniques: IBM gave birth to the first ever high level programming language in 1954 when a team led by John Backus invented FORTRAN (i.e. FORmula TRANslation). ➢ FORTAN was originally developed for scientific and engineering programs. ➢ It is still used to this day. ➢ The period from the late 1960s to the late 1970s brought a major flowering of programming languages. ➢ Most of the major language paradigms now in use were invented in this period.
  • 5. Introduction Prof. K. Adisesha (Ph. D) 5 Evolution of programming techniques: Some notable languages that were developed in this period include:
  • 6. Programming Concepts Prof. K. Adisesha (Ph. D) 6 Programming Concepts: The programming approach deal with three important aspects: ❖ Procedural programming. ❖ Structured programming. ❖ Object oriented programming
  • 7. Programming Concepts Prof. K. Adisesha (Ph. D) 7 Procedural programming: The procedural programming focuses on processing of instructions in order to perform a desired computation. ➢ It emphasizes more on doing things like algorithms. ➢ This programming is lengthy, increases the complexity of program, difficult to understand and modify the program. ➢ This technique is used in conventional programming languages such as C and Pascal. ➢ For example, procedural programs make use of branching statements, where the flow of control changes its path according to the result of the test expression.
  • 8. Programming Concepts Prof. K. Adisesha (Ph. D) 8 Structured programming: Structured programming approach was a disciplined approach which limits the branching to a small set of well-behaved construction. ➢ It emphasizes more on doing things like: if, if-else, while etc,. control structure. ➢ The idea of Top-down design is to break a large program into smaller programs. ➢ The major drawback is that it is very difficult to model the real world scenario using this model.
  • 9. Programming Concepts Prof. K. Adisesha (Ph. D) 9 Object oriented programming: Object oriented programming (OOP) is a concept that combines both the data and the functions that operate on that data into a single unit called the object. ➢ Object is an identifiable entity with some characteristics and behavior. ➢ OOP follows bottom-up design technique, where solutions to smaller modules are integrated to find the solution of overall problem ➢ Class is the major concept that plays important role in this approach. Class is a template that represents a group of objects which share common properties and relationships.
  • 10. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 10 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes . ❖ Modularity ❖ Abstraction ❖ Data Encapsulation ❖ Inheritance ❖ Polymorphism ❖ Dynamic Binding ❖ Message Passing
  • 11. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 11 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes . Modularity: ➢ Module is a logically self contained unit that can be tested and executed independently. ➢ Modularity is a technique adopted to divide a complex problem into a number of self contained independent programming fragments or modules.
  • 12. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 12 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes . Abstraction: ➢ Abstraction is an act which represents the essential features of an entity without including explanations or any background details about it.
  • 13. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 13 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes. Data Encapsulation: ➢ Wrapping of data and functions into a single unit is called data encapsulation. ➢ The concept of insulating the data from direct access by the program is called data hiding.
  • 14. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 14 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes. Inheritance: ➢ Inheritance is the process by which objects of one class acquires the properties of the objects of another class. (Or) ➢ The process of deriving a new class from the existing class is called inheritance.
  • 15. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 15 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes . Polymorphism: ➢ Polymorphism is the ability for a message to be processed in more than one form. ➢ The process of making an operator to exhibit different behaviors in different instances is known as operator overloading. ➢ Using a single function name to perform different types of tasks is known as function overloading.
  • 16. Characteristics of OOPs Prof. K. Adisesha (Ph. D) 16 OOPs characteristics: The general concepts of Object oriented programming (OOP) includes . Dynamic Binding: ➢ Binding means linking of a procedure call to the code to be executed when it is called. ➢ Dynamic binding means binding the procedure call during program run rime. Message Passing: ➢ Passing message objects and invoking the function by the object by sending a message is known as message passing
  • 17. OOPs Benefits Prof. K. Adisesha (Ph. D) 17 Advantages of OOPs: The various advantages of Object oriented programming (OOP) includes. ❖ OOPs model the real world entity very well. ❖ Inheritance eliminates the redundancy (repetition) of code and hence supports code reusability. ❖ Data hiding helps to build secured programs. ❖ Multiple instances (objects) can be created. ❖ Work can be divided easily. ❖ OOPs can be easily upgraded from small to large systems. ❖ Complexity can be easily managed. ❖ Message passing concept helps the objects to communicate and share data.
  • 18. OOPs disadvantages Prof. K. Adisesha (Ph. D) 18 Disadvantages of OOPs: The various disadvantages of Object oriented programming (OOP) includes . ❖ OOPs use tricky method to do the programming. ❖ Special skills such as thinking in terms of design skills, programming skills and object is required for a programmer. ❖ Proper planning and design is required before programming using OOPs technique.
  • 19. OOPs Applications Prof. K. Adisesha (Ph. D) 19 Applications of OOPs: The various applications of Object oriented programming (OOP) includes . ❖ Object oriented databases. ❖ Hypermedia, expert text and hypertext. ❖ Artificial intelligence and expert systems. ❖ Decision support systems and office automation systems. ❖ Parallel programming and neural networks. ❖ CAD, CAM, CIM systems. ❖ Simulation and modeling.
  • 20. OOPs Applications Prof. K. Adisesha (Ph. D) 20 Difference between Procedural & OOPs Programming: Procedural Programming Object Oriented Programming Large programs are divided into smaller programs known as functions Programs are divided into objects Data is not hidden and can be accessed by external functions Data is hidden and cannot be accessed by external functions Follow top down approach in the program design Follows bottom-up approach in the program design Data may communicate with each other through functions Objects may communicate with each other through functions. Emphasize is on procedure rather than data Emphasize is on data rather than procedure
  • 21. Discussion Prof. K. Adisesha (Ph. D) 21 Queries ? Prof. K. Adisesha