SlideShare a Scribd company logo
WEL COME
PRAVEEN M JIGAJINNI
PGT (Computer Science)
MCA, MSc[IT], MTech[IT],MPhil (Comp.Sci), PGDCA, ADCA,
Dc. Sc. & Engg.
Reference Book
CLASS XI
By
Sumita Arora
GENERAL OOP
CONCEPTS
CHAPTER 5
EVOLUTION
OF SOFTWARE
A PROGRAMMING LANGUAGE SHOULD SERVE
2 RELATED PURPOSES :
1. It should provide a vehicle for
programmer to specify actions to be
executed.
2. It should provide a set of concepts for
the programmer to use when thinking
about what can be done.
A PROGRAMMING LANGUAGE SHOULD SERVE
2 RELATED PURPOSES :
1. The first aspect ideally requires a
language that is “close to the machine”.
2. The second aspect ideally requires a
language that is “close to the problem to
be solved”
PROGRAMMING
LANGUAGES
HIGH LEVEL LANGUAGES
LOW LEVEL LANGUAGES
LOW LEVEL LANGUAGES
ARE MACHINE ORIENTED
Require Extensive Knowledge of
computer circuitry
Ex : Machine language & Assembly
language
Serve only 1st
aspect “close to machine”
Machine Language :: instructions are written
in binary code in it . Only language that
computer can execute directly.
Assembly Language :: instructions r written
using symbolic names for machine operation
{READ,ADD,STORE} & operands. Program
is then converted into machine language
using ASSEMBLER software.
LOW LEVEL LANGUAGES
HIGH LEVEL LANGUAGE
OFFER English like keywords, constructs for
sequence, selection & looping and use of
variables & constants.
Its programs r converted into machine language
using compiler or interpreter
Serve only 2nd
aspect “close to programmer”
Languages like C & C++ serve
both the aspects
and hence, can be called as
Middle Level Languages
PROGRAMMING PARADIGMS
PARADIGM means organizing principle
of a program . It is an approach to the
programming.
Ex : Procedural programming
Modular programming
Object oriented programming
PROCEDURAL PROGRAMMING
The focus is on processing
It says :
Languages support it by providing facilities
for passing arguments to functions &
returning values from functions
DECIDE WHICH PROCEDURES YOU WANT
USE THE BEST ALGORITHMS YOU CAN FIND
MODULAR PROGRAMMING
 A SET OF RELATED PROCEDURE WITH DATA
THEY MANIPULATE IS CALLED A MODULE.
It says
 Works on principle of grouping of
components that carry out specific tasks.
DECIDE WHICH MODULES YOU WANT
PARTITION THE PROGRAM
SO THAT DATA IS HIDDEN IN MODULES
Drawbacks of Procedural &
Modular Approaches
• They do not model real world well. like a
procedural program on library management
aims at operations like issued, returned & give
2nd
class status to real world entities : books.
• In modular programming, since many modules
access same data, arrangement of data can’t be
changed without modifying all modules that
access it
OBJECT ORIENTED
PROGRAMMING
OBJECT ORIENTED
PROGRAMMING
OBJECT is an identifiable entity with some
characteristics and behavior.
In OOP programming object represents a
entity that can store data and has its
interface through functions.
CLASS is a template/blue-print representing
a group of objects that share common
properties and relationships.
OBJECT ORIENTED
PROGRAMMING
It says:
decide which classes and objects are needed
provide a full set of operations for each class
PROPERTIES
BEHAVIOUR
PROPERTIES
BEHAVIOUR
OBJECT 1 OBJECT 2
DATA & FUNCTIONS ENCLOSED WITHIN OBJECTS
NEW OBJECTS COMMUNICATE WITH EACH OTHER
PROCEDURAL PARADIGM
FUNCTION 1
FUNCTION 2
FUNCTION 3
DATA 1
DATA 2
GENERAL CONCEPTS OF OOP
1. DATA ABSTRACTION
2. DATA ENCAPSULATION
3.MODULARITY
4. INHERITANCE
5.POLYMORPHISM
DATA ABSTRACTION
ABSTRACTION refers to the act of
representing essential features without
including the background details or
explanations.
It focuses upon the observable behavior of
an object.
ENCAPSULATION
The wrapping up of data and operations /
functions (that operate on the data ) into a
single unit (called class) is known as
ENCAPSULATION.
Encapsulation is a way to implement data
abstraction. It hides the details of the
implementation of an object.
It focuses upon the implementation that gives
rise to observable behavior.
MEMBER
FUNCTIONS
MEMBER
FUNCTIONS MEMBER
FUNCTIONS
DATA
DATA
DATA
THE OOP APPROACH
DATA ABSTRACTION & ENCAPSULATION
MODULARITY
It is the property of a system that has
been decomposed into a set of
cohesive and loosely coupled modules.
It reduces complexity of program
It Creates a number of well-defined,
documented boundaries within the
program.
Inheritance is the capability of one
class of things to inherit capabilities or
properties from other class.
Why inheritance was introduced into
OO languages ?
UP NEXT
INHERITANCE + POINTS
1. Capability to express the inheritance relationship
which makes it ensure closeness with real world
models.
2. Idea of reusability. It allows addition of additional
features to an existing class without modifying it. A
subclass defines only those features which are
unique to it.
3. If a class A inherits properties of another class B,
then all subclasses of A will automatically inherit
the properties of B. This is called
transitive nature of inheritance.
POLYMORPHISM
It is the ability for a message or data to be
processed in more than one form.
It is a property by which the same message
can be sent to objects of several different
classes, & each object can respond in a
different way depending on its class.
Languages that support classes but not
polymorphism are called OBJECT
BASED languages.
1. It models real world well.
2. Programs are easy to understand.
3. It offers class reusability. Already
created classes can be reused
without having to write them again.
4. It facilitates quick development as
parallel development of classes is
possible.
5. Programs are easier to test, manage
& maintain.
ADVANTAGES OF OOPs
1. Classes tend to be overly generalized.
2. The Relations Among Classes Becomes Artificial At
Times.
3. OOP Programs Design Is Tricky.
4. One needs to do proper planning & proper design
for OOP programming.
5. To program with OOPs, programmer needs proper
skills such as design skills, programming skills,
thinking in terns of objects etc.
DIS-ADVANTAGES OF OOPs
THANK
YOU

More Related Content

What's hot

CONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGECONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGE
Ideal Eyes Business College
 
Advanced Python : Static and Class Methods
Advanced Python : Static and Class Methods Advanced Python : Static and Class Methods
Advanced Python : Static and Class Methods
Bhanwar Singh Meena
 
Inheritance in oops
Inheritance in oopsInheritance in oops
Inheritance in oops
Hirra Sultan
 
Python Modules
Python ModulesPython Modules
Python Modules
Nitin Reddy Katkam
 
python Function
python Function python Function
python Function
Ronak Rathi
 
Python programming : Classes objects
Python programming : Classes objectsPython programming : Classes objects
Python programming : Classes objects
Emertxe Information Technologies Pvt Ltd
 
Function in Python
Function in PythonFunction in Python
Function in Python
Yashdev Hada
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning
ParrotAI
 
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
PyData
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
TMARAGATHAM
 
Introduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in KotlinIntroduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in Kotlin
vriddhigupta
 
Presentation of wireless todo list app
Presentation of wireless todo list appPresentation of wireless todo list app
Presentation of wireless todo list app
nazmul hoque
 
A quick and fast intro to Kotlin
A quick and fast intro to Kotlin A quick and fast intro to Kotlin
A quick and fast intro to Kotlin
XPeppers
 
Python
PythonPython
Tuples in Python
Tuples in PythonTuples in Python
Tuples in Python
DPS Ranipur Haridwar UK
 
Python Control structures
Python Control structuresPython Control structures
Python Control structures
Siddique Ibrahim
 
Encapsulation in C++
Encapsulation in C++Encapsulation in C++
Encapsulation in C++
Hitesh Kumar
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++
Vineeta Garg
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Tushar B Kute
 

What's hot (20)

CONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGECONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGE
 
Advanced Python : Static and Class Methods
Advanced Python : Static and Class Methods Advanced Python : Static and Class Methods
Advanced Python : Static and Class Methods
 
Inheritance in oops
Inheritance in oopsInheritance in oops
Inheritance in oops
 
Python Modules
Python ModulesPython Modules
Python Modules
 
python Function
python Function python Function
python Function
 
Python programming : Classes objects
Python programming : Classes objectsPython programming : Classes objects
Python programming : Classes objects
 
Function in Python
Function in PythonFunction in Python
Function in Python
 
Dictionaries in Python
Dictionaries in PythonDictionaries in Python
Dictionaries in Python
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning
 
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
 
Introduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in KotlinIntroduction to kotlin and OOP in Kotlin
Introduction to kotlin and OOP in Kotlin
 
Presentation of wireless todo list app
Presentation of wireless todo list appPresentation of wireless todo list app
Presentation of wireless todo list app
 
A quick and fast intro to Kotlin
A quick and fast intro to Kotlin A quick and fast intro to Kotlin
A quick and fast intro to Kotlin
 
Python
PythonPython
Python
 
Tuples in Python
Tuples in PythonTuples in Python
Tuples in Python
 
Python Control structures
Python Control structuresPython Control structures
Python Control structures
 
Encapsulation in C++
Encapsulation in C++Encapsulation in C++
Encapsulation in C++
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
 

Viewers also liked

Oop concepts
Oop conceptsOop concepts
Oop concepts
Ritu Mangla
 
Very short OOP Introduction
Very short OOP IntroductionVery short OOP Introduction
Very short OOP Introduction
Cristian G
 
Oop Overview
Oop OverviewOop Overview
Oop Overviewphananhvu
 
Object oreinted php | OOPs
Object oreinted php | OOPsObject oreinted php | OOPs
Object oreinted php | OOPs
Ravi Bhadauria
 
Beginners Guide to Object Orientation in PHP
Beginners Guide to Object Orientation in PHPBeginners Guide to Object Orientation in PHP
Beginners Guide to Object Orientation in PHP
Rick Ogden
 
OOP Basics
OOP BasicsOOP Basics
OOP Basics
CIB Egypt
 
MySQL with DRBD/Pacemaker/Corosync on Linux
 MySQL with DRBD/Pacemaker/Corosync on Linux MySQL with DRBD/Pacemaker/Corosync on Linux
MySQL with DRBD/Pacemaker/Corosync on Linux
Pawan Kumar
 
PHP Classes and OOPS Concept
PHP Classes and OOPS ConceptPHP Classes and OOPS Concept
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
Sabeeh Ahmed
 
Laravel Beginners Tutorial 1
Laravel Beginners Tutorial 1Laravel Beginners Tutorial 1
Laravel Beginners Tutorial 1
Vikas Chauhan
 
Loops c++
Loops c++Loops c++
Loops c++
Shivani Singh
 
Principles of economics (Chapter 1)
Principles of economics (Chapter 1)Principles of economics (Chapter 1)
Principles of economics (Chapter 1)Yowela Estanislao
 
Ten Principles Of Economics
Ten Principles Of EconomicsTen Principles Of Economics
Ten Principles Of EconomicsMohan Raj Venu
 

Viewers also liked (18)

Oop concepts
Oop conceptsOop concepts
Oop concepts
 
Very short OOP Introduction
Very short OOP IntroductionVery short OOP Introduction
Very short OOP Introduction
 
Oop Overview
Oop OverviewOop Overview
Oop Overview
 
Ashish oot
Ashish ootAshish oot
Ashish oot
 
Object oreinted php | OOPs
Object oreinted php | OOPsObject oreinted php | OOPs
Object oreinted php | OOPs
 
Beginners Guide to Object Orientation in PHP
Beginners Guide to Object Orientation in PHPBeginners Guide to Object Orientation in PHP
Beginners Guide to Object Orientation in PHP
 
OOP Basics
OOP BasicsOOP Basics
OOP Basics
 
Oop concepts
Oop conceptsOop concepts
Oop concepts
 
MySQL with DRBD/Pacemaker/Corosync on Linux
 MySQL with DRBD/Pacemaker/Corosync on Linux MySQL with DRBD/Pacemaker/Corosync on Linux
MySQL with DRBD/Pacemaker/Corosync on Linux
 
PHP Classes and OOPS Concept
PHP Classes and OOPS ConceptPHP Classes and OOPS Concept
PHP Classes and OOPS Concept
 
General OOP concept [by-Digvijay]
General OOP concept [by-Digvijay]General OOP concept [by-Digvijay]
General OOP concept [by-Digvijay]
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Laravel Beginners Tutorial 1
Laravel Beginners Tutorial 1Laravel Beginners Tutorial 1
Laravel Beginners Tutorial 1
 
Loops c++
Loops c++Loops c++
Loops c++
 
Principles of economics (Chapter 1)
Principles of economics (Chapter 1)Principles of economics (Chapter 1)
Principles of economics (Chapter 1)
 
Dfa vs nfa
Dfa vs nfaDfa vs nfa
Dfa vs nfa
 
Ten Principles Of Economics
Ten Principles Of EconomicsTen Principles Of Economics
Ten Principles Of Economics
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to General OOP Concepts

Chapter1 introduction
Chapter1 introductionChapter1 introduction
Chapter1 introduction
Jeevan Acharya
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
Shipra Swati
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
Hashni T
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented languagefarhan amjad
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
prakashvs7
 
Basics of object oriented programming c++ [autosaved]
Basics of object oriented programming c++ [autosaved]Basics of object oriented programming c++ [autosaved]
Basics of object oriented programming c++ [autosaved]
RAVIPUROHIT22
 
Java chapter 3 - OOPs concepts
Java chapter 3 - OOPs conceptsJava chapter 3 - OOPs concepts
Java chapter 3 - OOPs concepts
Mukesh Tekwani
 
java introduction features and propertie
java introduction features and propertiejava introduction features and propertie
java introduction features and propertie
SanaMateen7
 
Unit 1
Unit 1Unit 1
Unit 1
ankita1317
 
JAVA
JAVAJAVA
Bluej
BluejBluej
INTRODUCTION TO JAVA
INTRODUCTION TO JAVAINTRODUCTION TO JAVA
INTRODUCTION TO JAVA
RAMALINGHAM KRISHNAMOORTHY
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
ZcelTablizo3
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
DivyaKS12
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
Vaishnavirakshe2
 
Oop by edgar lagman jr
Oop by edgar lagman jr Oop by edgar lagman jr
Oop by edgar lagman jr Jun-jun Lagman
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
sudharsanm56
 
Grade 8: Introduction To Java
Grade 8: Introduction To JavaGrade 8: Introduction To Java
Grade 8: Introduction To Java
nandanrocker
 

Similar to General OOP Concepts (20)

Chapter1 introduction
Chapter1 introductionChapter1 introduction
Chapter1 introduction
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
 
Basics of object oriented programming c++ [autosaved]
Basics of object oriented programming c++ [autosaved]Basics of object oriented programming c++ [autosaved]
Basics of object oriented programming c++ [autosaved]
 
Programming
ProgrammingProgramming
Programming
 
Java chapter 3 - OOPs concepts
Java chapter 3 - OOPs conceptsJava chapter 3 - OOPs concepts
Java chapter 3 - OOPs concepts
 
java introduction features and propertie
java introduction features and propertiejava introduction features and propertie
java introduction features and propertie
 
Unit 1
Unit 1Unit 1
Unit 1
 
JAVA
JAVAJAVA
JAVA
 
Bluej
BluejBluej
Bluej
 
INTRODUCTION TO JAVA
INTRODUCTION TO JAVAINTRODUCTION TO JAVA
INTRODUCTION TO JAVA
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
 
Oop by edgar lagman jr
Oop by edgar lagman jr Oop by edgar lagman jr
Oop by edgar lagman jr
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
 
Oop
OopOop
Oop
 
Grade 8: Introduction To Java
Grade 8: Introduction To JavaGrade 8: Introduction To Java
Grade 8: Introduction To Java
 

More from Praveen M Jigajinni

Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
Praveen M Jigajinni
 
Chapter 08 data file handling
Chapter 08 data file handlingChapter 08 data file handling
Chapter 08 data file handling
Praveen M Jigajinni
 
Chapter 07 inheritance
Chapter 07 inheritanceChapter 07 inheritance
Chapter 07 inheritance
Praveen M Jigajinni
 
Chapter 06 constructors and destructors
Chapter 06 constructors and destructorsChapter 06 constructors and destructors
Chapter 06 constructors and destructors
Praveen M Jigajinni
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
Praveen M Jigajinni
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
Praveen M Jigajinni
 
Chapter 03 python libraries
Chapter 03 python librariesChapter 03 python libraries
Chapter 03 python libraries
Praveen M Jigajinni
 
Chapter 02 functions -class xii
Chapter 02   functions -class xiiChapter 02   functions -class xii
Chapter 02 functions -class xii
Praveen M Jigajinni
 
Unit 3 MongDB
Unit 3 MongDBUnit 3 MongDB
Unit 3 MongDB
Praveen M Jigajinni
 
Chapter 17 Tuples
Chapter 17 TuplesChapter 17 Tuples
Chapter 17 Tuples
Praveen M Jigajinni
 
Chapter 15 Lists
Chapter 15 ListsChapter 15 Lists
Chapter 15 Lists
Praveen M Jigajinni
 
Chapter 14 strings
Chapter 14 stringsChapter 14 strings
Chapter 14 strings
Praveen M Jigajinni
 
Chapter 13 exceptional handling
Chapter 13 exceptional handlingChapter 13 exceptional handling
Chapter 13 exceptional handling
Praveen M Jigajinni
 
Chapter 10 data handling
Chapter 10 data handlingChapter 10 data handling
Chapter 10 data handling
Praveen M Jigajinni
 
Chapter 9 python fundamentals
Chapter 9 python fundamentalsChapter 9 python fundamentals
Chapter 9 python fundamentals
Praveen M Jigajinni
 
Chapter 8 getting started with python
Chapter 8 getting started with pythonChapter 8 getting started with python
Chapter 8 getting started with python
Praveen M Jigajinni
 
Chapter 7 basics of computational thinking
Chapter 7 basics of computational thinkingChapter 7 basics of computational thinking
Chapter 7 basics of computational thinking
Praveen M Jigajinni
 
Chapter 6 algorithms and flow charts
Chapter 6  algorithms and flow chartsChapter 6  algorithms and flow charts
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
Praveen M Jigajinni
 
Chapter 4 number system
Chapter 4 number systemChapter 4 number system
Chapter 4 number system
Praveen M Jigajinni
 

More from Praveen M Jigajinni (20)

Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
 
Chapter 08 data file handling
Chapter 08 data file handlingChapter 08 data file handling
Chapter 08 data file handling
 
Chapter 07 inheritance
Chapter 07 inheritanceChapter 07 inheritance
Chapter 07 inheritance
 
Chapter 06 constructors and destructors
Chapter 06 constructors and destructorsChapter 06 constructors and destructors
Chapter 06 constructors and destructors
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
 
Chapter 03 python libraries
Chapter 03 python librariesChapter 03 python libraries
Chapter 03 python libraries
 
Chapter 02 functions -class xii
Chapter 02   functions -class xiiChapter 02   functions -class xii
Chapter 02 functions -class xii
 
Unit 3 MongDB
Unit 3 MongDBUnit 3 MongDB
Unit 3 MongDB
 
Chapter 17 Tuples
Chapter 17 TuplesChapter 17 Tuples
Chapter 17 Tuples
 
Chapter 15 Lists
Chapter 15 ListsChapter 15 Lists
Chapter 15 Lists
 
Chapter 14 strings
Chapter 14 stringsChapter 14 strings
Chapter 14 strings
 
Chapter 13 exceptional handling
Chapter 13 exceptional handlingChapter 13 exceptional handling
Chapter 13 exceptional handling
 
Chapter 10 data handling
Chapter 10 data handlingChapter 10 data handling
Chapter 10 data handling
 
Chapter 9 python fundamentals
Chapter 9 python fundamentalsChapter 9 python fundamentals
Chapter 9 python fundamentals
 
Chapter 8 getting started with python
Chapter 8 getting started with pythonChapter 8 getting started with python
Chapter 8 getting started with python
 
Chapter 7 basics of computational thinking
Chapter 7 basics of computational thinkingChapter 7 basics of computational thinking
Chapter 7 basics of computational thinking
 
Chapter 6 algorithms and flow charts
Chapter 6  algorithms and flow chartsChapter 6  algorithms and flow charts
Chapter 6 algorithms and flow charts
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
Chapter 4 number system
Chapter 4 number systemChapter 4 number system
Chapter 4 number system
 

Recently uploaded

DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 

Recently uploaded (20)

DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 

General OOP Concepts

  • 1. WEL COME PRAVEEN M JIGAJINNI PGT (Computer Science) MCA, MSc[IT], MTech[IT],MPhil (Comp.Sci), PGDCA, ADCA, Dc. Sc. & Engg.
  • 5. A PROGRAMMING LANGUAGE SHOULD SERVE 2 RELATED PURPOSES : 1. It should provide a vehicle for programmer to specify actions to be executed. 2. It should provide a set of concepts for the programmer to use when thinking about what can be done.
  • 6. A PROGRAMMING LANGUAGE SHOULD SERVE 2 RELATED PURPOSES : 1. The first aspect ideally requires a language that is “close to the machine”. 2. The second aspect ideally requires a language that is “close to the problem to be solved”
  • 8. LOW LEVEL LANGUAGES ARE MACHINE ORIENTED Require Extensive Knowledge of computer circuitry Ex : Machine language & Assembly language Serve only 1st aspect “close to machine”
  • 9. Machine Language :: instructions are written in binary code in it . Only language that computer can execute directly. Assembly Language :: instructions r written using symbolic names for machine operation {READ,ADD,STORE} & operands. Program is then converted into machine language using ASSEMBLER software. LOW LEVEL LANGUAGES
  • 10. HIGH LEVEL LANGUAGE OFFER English like keywords, constructs for sequence, selection & looping and use of variables & constants. Its programs r converted into machine language using compiler or interpreter Serve only 2nd aspect “close to programmer”
  • 11. Languages like C & C++ serve both the aspects and hence, can be called as Middle Level Languages
  • 12. PROGRAMMING PARADIGMS PARADIGM means organizing principle of a program . It is an approach to the programming. Ex : Procedural programming Modular programming Object oriented programming
  • 13. PROCEDURAL PROGRAMMING The focus is on processing It says : Languages support it by providing facilities for passing arguments to functions & returning values from functions DECIDE WHICH PROCEDURES YOU WANT USE THE BEST ALGORITHMS YOU CAN FIND
  • 14. MODULAR PROGRAMMING  A SET OF RELATED PROCEDURE WITH DATA THEY MANIPULATE IS CALLED A MODULE. It says  Works on principle of grouping of components that carry out specific tasks. DECIDE WHICH MODULES YOU WANT PARTITION THE PROGRAM SO THAT DATA IS HIDDEN IN MODULES
  • 15. Drawbacks of Procedural & Modular Approaches • They do not model real world well. like a procedural program on library management aims at operations like issued, returned & give 2nd class status to real world entities : books. • In modular programming, since many modules access same data, arrangement of data can’t be changed without modifying all modules that access it
  • 17. OBJECT is an identifiable entity with some characteristics and behavior. In OOP programming object represents a entity that can store data and has its interface through functions. CLASS is a template/blue-print representing a group of objects that share common properties and relationships. OBJECT ORIENTED PROGRAMMING
  • 18. It says: decide which classes and objects are needed provide a full set of operations for each class PROPERTIES BEHAVIOUR PROPERTIES BEHAVIOUR OBJECT 1 OBJECT 2 DATA & FUNCTIONS ENCLOSED WITHIN OBJECTS NEW OBJECTS COMMUNICATE WITH EACH OTHER
  • 19. PROCEDURAL PARADIGM FUNCTION 1 FUNCTION 2 FUNCTION 3 DATA 1 DATA 2
  • 20. GENERAL CONCEPTS OF OOP 1. DATA ABSTRACTION 2. DATA ENCAPSULATION 3.MODULARITY 4. INHERITANCE 5.POLYMORPHISM
  • 21. DATA ABSTRACTION ABSTRACTION refers to the act of representing essential features without including the background details or explanations. It focuses upon the observable behavior of an object.
  • 22. ENCAPSULATION The wrapping up of data and operations / functions (that operate on the data ) into a single unit (called class) is known as ENCAPSULATION. Encapsulation is a way to implement data abstraction. It hides the details of the implementation of an object. It focuses upon the implementation that gives rise to observable behavior.
  • 24. MODULARITY It is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules. It reduces complexity of program It Creates a number of well-defined, documented boundaries within the program.
  • 25. Inheritance is the capability of one class of things to inherit capabilities or properties from other class. Why inheritance was introduced into OO languages ? UP NEXT
  • 26. INHERITANCE + POINTS 1. Capability to express the inheritance relationship which makes it ensure closeness with real world models. 2. Idea of reusability. It allows addition of additional features to an existing class without modifying it. A subclass defines only those features which are unique to it. 3. If a class A inherits properties of another class B, then all subclasses of A will automatically inherit the properties of B. This is called transitive nature of inheritance.
  • 27. POLYMORPHISM It is the ability for a message or data to be processed in more than one form. It is a property by which the same message can be sent to objects of several different classes, & each object can respond in a different way depending on its class. Languages that support classes but not polymorphism are called OBJECT BASED languages.
  • 28. 1. It models real world well. 2. Programs are easy to understand. 3. It offers class reusability. Already created classes can be reused without having to write them again. 4. It facilitates quick development as parallel development of classes is possible. 5. Programs are easier to test, manage & maintain. ADVANTAGES OF OOPs
  • 29. 1. Classes tend to be overly generalized. 2. The Relations Among Classes Becomes Artificial At Times. 3. OOP Programs Design Is Tricky. 4. One needs to do proper planning & proper design for OOP programming. 5. To program with OOPs, programmer needs proper skills such as design skills, programming skills, thinking in terns of objects etc. DIS-ADVANTAGES OF OOPs