SlideShare a Scribd company logo
1 of 14
By : ASHWANI SAMNANI
PROGRAMMER:- A programmer is a person who
creates a computer program.
PROGRAMMING:-It is the process of
writing a program.
PROGRAMMING LANGUAGE:- It is a set of
commands and syntax used to create a computer
program.
1. Characteristics of procedural Programming
a) It follows top-down approach
b) The program is divided into blocks of codes called
functions ,where each function performs specific task.
c) The data moves freely in program.
d) The data and functions are detached from each other.
e) It is easy to follow the logic of a program.
2. Limitations of Procedural Programming
a) It mainly focuses on procedure or functions. Less
attention is given to the data.
b)The data and function are separate from each other.
c) It does not work for large and complex system.
d)Global data is freely moving and is shared among
various functions .
e) It does not model real world entities.
Before learning about OOP’s concept .let us learn about object
What is an Object?
An object is an identifiable entity with some attributes and behavior . For
example we can say that a car is an object it has some attributes such as its
color, model and engine size . Its behavior includes driving forward,
backward, accelerating etc.
Characterstics Behaviour
Model FZ Driving
Color Blue
Mileage 45
km/h
Engine Capacity 149 cc
What is a Class?
The term class is used to describe a group of objects that have some
common attributes and behaviour. Consider lion. Giraffe ,cow .They all
share some common attributes such as eyes , hairs , ears, and four leg.
They all have common behaviour such as all of them eat sleep and walk.
They can be grouped in a Class called Animal.
a. It follows bottom-up approach
b. It restricts the free movement of data by using the
concept of data hiding.
c. It is extremely helpful in solving complex problems
d. A properly defined class can be reused .
Characteristic's of Object Oriented Programming
Data abstraction refers to providing only essential information about
the data to the outside world, hiding the background details or
implementation. For example an ATM machine…
Encapsulation
It is a mechanism that binds the data and function together into
a single unit. It keeps them safe from the outside world
preventing any unauthorized access or misuse. Only the function
that are inside the data can access the data . In this way data
and functions are said to be encapsulated into a single entity.
For example :-
Inheritance
It is a powerful mechanism by which one class inherits the properties of
another class.
The common class that gets inherited is called the parent class or the
base class.
The class that inherits the properties from the common class is know as
the child class or the derived class or sub class.
Polymorphism
The word Polymorphism means “many forms”. It comes from Greek world
poly(meaning many) and morphos(meaning many forms).It is the ability of
a function or an object to acquire multiple forms. For example:-
Introduction to Object Oriented Programming Class IX
Introduction to Object Oriented Programming Class IX

More Related Content

What's hot

Basics of Object Oriented Programming
Basics of Object Oriented ProgrammingBasics of Object Oriented Programming
Basics of Object Oriented Programming
Abhilash Nair
 

What's hot (20)

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Java oo ps concepts
Java oo ps conceptsJava oo ps concepts
Java oo ps concepts
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
 
C++ with student management system project
C++ with student management system projectC++ with student management system project
C++ with student management system project
 
0-oop java-intro
0-oop java-intro0-oop java-intro
0-oop java-intro
 
Ashish oot
Ashish ootAshish oot
Ashish oot
 
principle of oop’s in cpp
principle of oop’s in cppprinciple of oop’s in cpp
principle of oop’s in cpp
 
Oo ps concepts in c++
Oo ps concepts in c++Oo ps concepts in c++
Oo ps concepts in c++
 
Advanced software engineering lab 2
Advanced software engineering lab 2Advanced software engineering lab 2
Advanced software engineering lab 2
 
OOP
OOPOOP
OOP
 
Oops And C++ Fundamentals
Oops And C++ FundamentalsOops And C++ Fundamentals
Oops And C++ Fundamentals
 
Oops
OopsOops
Oops
 
Basics of Object Oriented Programming
Basics of Object Oriented ProgrammingBasics of Object Oriented Programming
Basics of Object Oriented Programming
 
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
 
concept of oops
concept of oopsconcept of oops
concept of oops
 
Concepts of oops
Concepts of oopsConcepts of oops
Concepts of oops
 
Oop concepts classes_objects
Oop concepts classes_objectsOop concepts classes_objects
Oop concepts classes_objects
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
Object oriented programming C++
Object oriented programming C++Object oriented programming C++
Object oriented programming C++
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
 

Similar to Introduction to Object Oriented Programming Class IX

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
 

Similar to Introduction to Object Oriented Programming Class IX (20)

L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
 
Object oriented concepts
Object oriented conceptsObject oriented concepts
Object oriented concepts
 
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]
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 
Cs2305 programming paradigms lecturer notes
Cs2305   programming paradigms lecturer notesCs2305   programming paradigms lecturer notes
Cs2305 programming paradigms lecturer notes
 
Chapter1 introduction
Chapter1 introductionChapter1 introduction
Chapter1 introduction
 
Benefits of encapsulation
Benefits of encapsulationBenefits of encapsulation
Benefits of encapsulation
 
Java Progamming Paradigms, OOPS Concept, Introduction to Java, Structure of J...
Java Progamming Paradigms, OOPS Concept, Introduction to Java, Structure of J...Java Progamming Paradigms, OOPS Concept, Introduction to Java, Structure of J...
Java Progamming Paradigms, OOPS Concept, Introduction to Java, Structure of J...
 
Java Programming Paradigms Chapter 1
Java Programming Paradigms Chapter 1 Java Programming Paradigms Chapter 1
Java Programming Paradigms Chapter 1
 
M.c.a. (sem iv)- java programming
M.c.a. (sem   iv)- java programmingM.c.a. (sem   iv)- java programming
M.c.a. (sem iv)- java programming
 
JAVA - Oops Concept.pptx
JAVA - Oops Concept.pptxJAVA - Oops Concept.pptx
JAVA - Oops Concept.pptx
 
Java chapter 3
Java   chapter 3Java   chapter 3
Java chapter 3
 
CSc investigatory project
CSc investigatory projectCSc investigatory project
CSc investigatory project
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
Unit v(dsc++)
Unit v(dsc++)Unit v(dsc++)
Unit v(dsc++)
 
MCA NOTES.pdf
MCA NOTES.pdfMCA NOTES.pdf
MCA NOTES.pdf
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
 
automatic dol starter
automatic dol starterautomatic dol starter
automatic dol starter
 
C++ & VISUAL C++
C++ & VISUAL C++ C++ & VISUAL C++
C++ & VISUAL C++
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

Introduction to Object Oriented Programming Class IX

  • 1. By : ASHWANI SAMNANI
  • 2. PROGRAMMER:- A programmer is a person who creates a computer program. PROGRAMMING:-It is the process of writing a program. PROGRAMMING LANGUAGE:- It is a set of commands and syntax used to create a computer program.
  • 3. 1. Characteristics of procedural Programming a) It follows top-down approach b) The program is divided into blocks of codes called functions ,where each function performs specific task. c) The data moves freely in program. d) The data and functions are detached from each other. e) It is easy to follow the logic of a program.
  • 4. 2. Limitations of Procedural Programming a) It mainly focuses on procedure or functions. Less attention is given to the data. b)The data and function are separate from each other. c) It does not work for large and complex system. d)Global data is freely moving and is shared among various functions . e) It does not model real world entities.
  • 5. Before learning about OOP’s concept .let us learn about object What is an Object? An object is an identifiable entity with some attributes and behavior . For example we can say that a car is an object it has some attributes such as its color, model and engine size . Its behavior includes driving forward, backward, accelerating etc. Characterstics Behaviour Model FZ Driving Color Blue Mileage 45 km/h Engine Capacity 149 cc
  • 6. What is a Class? The term class is used to describe a group of objects that have some common attributes and behaviour. Consider lion. Giraffe ,cow .They all share some common attributes such as eyes , hairs , ears, and four leg. They all have common behaviour such as all of them eat sleep and walk. They can be grouped in a Class called Animal.
  • 7. a. It follows bottom-up approach b. It restricts the free movement of data by using the concept of data hiding. c. It is extremely helpful in solving complex problems d. A properly defined class can be reused . Characteristic's of Object Oriented Programming
  • 8.
  • 9. Data abstraction refers to providing only essential information about the data to the outside world, hiding the background details or implementation. For example an ATM machine…
  • 10. Encapsulation It is a mechanism that binds the data and function together into a single unit. It keeps them safe from the outside world preventing any unauthorized access or misuse. Only the function that are inside the data can access the data . In this way data and functions are said to be encapsulated into a single entity. For example :-
  • 11. Inheritance It is a powerful mechanism by which one class inherits the properties of another class. The common class that gets inherited is called the parent class or the base class. The class that inherits the properties from the common class is know as the child class or the derived class or sub class.
  • 12. Polymorphism The word Polymorphism means “many forms”. It comes from Greek world poly(meaning many) and morphos(meaning many forms).It is the ability of a function or an object to acquire multiple forms. For example:-