SlideShare a Scribd company logo
Object Oriented Programming:
Prof Neeraj Bhargava
Vaibhav Khanna
Department of Computer Science
School of Engineering and Systems Sciences
Maharshi Dayanand Saraswati University Ajmer
Form Binary to Object Oriented
Programming Issues
• • How to represent real-life entities of problems
in system design?
• • How to design system with open interfaces?
• • How to ensure reusability and extensibility of
modules?
• • How to develop modules that are tolerant of
any changes in future?
• • How to improve software productivity and
decrease software cost?
• • How to improve the quality of software?
What are objects?
• Objects model the elements of the problem
context
• Each object has:
• �characteristics
• �responsibilities (or required behaviors)
Development of Object-oriented
paradigm
• “As complexity increases, architecture
dominates the basic materials”. To build
today’s complex software it is just not enough
to put together a sequence of programming
statements and sets of procedures and
modules; we need to incorporate sound
construction techniques and program
structures that are easy to comprehend
implement and modify. Alan Kay….
Object Oriented Programming (OOP)
• Object Oriented Programming (OOP) is an
approach to program organization and
development that attempts to eliminate some
of the pitfalls of conventional programming
methods by incorporating the best of
structured programming features with several
powerful new concepts.
Procedure-Oriented Programming
• In the procedure oriented approach, the
problem is viewed as the sequence of things
to be done such as reading, calculating and
printing such as cobol, fortran and c.
• The primary focus is on functions.
• The technique of hierarchical decomposition
has been used to specify the tasks to be
completed for solving a problem.
General Structure of a program in
Procedure-Oriented Programming
Procedure-Oriented Programming
• Procedure oriented programming basically
consists of writing a list of instructions for the
computer to follow, and organizing these
instructions into groups known as functions.
• We normally use flowcharts to organize these
actions and represent the flow of control from
one action to another.
• In a large program it is very difficult to identify
what data is used by which function. …. And this
can result in programming errors
Procedure-Oriented Programming
• Characteristics exhibited by procedure-oriented
programming are:
• • Emphasis is on doing things (algorithms).
• • Large programs are divided into smaller programs
known as functions.
• • Most of the functions share global data.
• • Data move openly around the system from function
to function.
• • Functions transform data from one form to another.
• • Employs top-down approach in program design.
Object Oriented Paradigm
• The major motivating factor in the invention of object-
oriented approach is to remove some of the flaws
encountered in the procedural approach.
• OOP treats data as a critical element in the program
development and does not allow it to flow freely
around the system.
• It ties data more closely to the function that operate on
it, and protects it from accidental modification from
outside function.
• OOP allows decomposition of a problem into a number
of entities called objects and then builds data and
function around these objects.
Organization of data and function in
OOP
Features of object oriented
programming
• • Emphasis is on data rather than procedure.
• • Programs are divided into what are known as objects.
• • Data structures are designed to characterize the objects.
• • Functions that operate on the data of an object are ties
together in the data structure.
• • Data is hidden and cannot be accessed by external function.
• • Objects communicate with each other through function.
• • New data and functions can be easily added whenever
necessary.
• • Follows bottom up approach in program design.
Assigmment
• Explain the concept of Procedure-Oriented
Programming
• Explain the concept of object oriented
programming

More Related Content

What's hot (20)

PPT
Slides chapter 9
Priyanka Shetty
 
PPT
Slides chapter 11
Priyanka Shetty
 
PPT
Architectural design
SHREEHARI WADAWADAGI
 
PPT
Coupling coheshion tps
Preeti Mishra
 
PPTX
Presentation on software construction
BanduChalise
 
PPT
Lecture 19 design concepts
IIUI
 
PPTX
Design Model & User Interface Design in Software Engineering
Meghaj Mallick
 
PPTX
Structured Design
Ajeng Savitri
 
PPTX
Software project plannings
Aman Adhikari
 
PPTX
Estimation in Project Management
Ansar Gill
 
PPTX
Unit 5 design engineering ssad
Preeti Mishra
 
PPTX
Unified process model
RyndaMaala
 
PDF
Modeling software with UML
6020 peaks
 
PPTX
Modeling and analysis
Shwetabh Jaiswal
 
PPT
Slides chapter 10
Priyanka Shetty
 
PPTX
Automation in software engineering
Mphasis
 
PPTX
Software Design Methodologies and Testing
International Institute of Information Technology (I²IT)
 
Slides chapter 9
Priyanka Shetty
 
Slides chapter 11
Priyanka Shetty
 
Architectural design
SHREEHARI WADAWADAGI
 
Coupling coheshion tps
Preeti Mishra
 
Presentation on software construction
BanduChalise
 
Lecture 19 design concepts
IIUI
 
Design Model & User Interface Design in Software Engineering
Meghaj Mallick
 
Structured Design
Ajeng Savitri
 
Software project plannings
Aman Adhikari
 
Estimation in Project Management
Ansar Gill
 
Unit 5 design engineering ssad
Preeti Mishra
 
Unified process model
RyndaMaala
 
Modeling software with UML
6020 peaks
 
Modeling and analysis
Shwetabh Jaiswal
 
Slides chapter 10
Priyanka Shetty
 
Automation in software engineering
Mphasis
 
Software Design Methodologies and Testing
International Institute of Information Technology (I²IT)
 

Similar to Object oriented programming 1 introduction to oop (20)

PDF
C++ notes.pdf
RajanBagale3
 
PPTX
Lecture No.1.pptx
anzazubair91
 
PPT
Programming In C++
shammi mehra
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PPTX
1.2 Procedural Vs Object Oriented Programming.pptx
YogitaTiwari6
 
PPTX
OOP-1.pptx
iansebuabeh
 
PDF
Oop basic overview
Deborah Akuoko
 
PDF
Chapter17 oop
Deepak Singh
 
PPTX
Different paradigms for problem solving.pptx
iitjeesooraj
 
PPTX
SE-IT JAVA LAB OOP CONCEPT
nikshaikh786
 
PDF
2nd PUC computer science chapter 6 oop concept
Aahwini Esware gowda
 
PPT
Unit v(dsc++)
Durga Devi
 
DOC
Chapter1
jammiashok123
 
PPTX
Object model
Hoang Nguyen
 
PPTX
Object model
Tony Nguyen
 
PPTX
Object model
Luis Goldster
 
PPTX
Object model
Harry Potter
 
PPTX
Object model
Fraboni Ec
 
PPTX
Object model
James Wong
 
C++ notes.pdf
RajanBagale3
 
Lecture No.1.pptx
anzazubair91
 
Programming In C++
shammi mehra
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
1.2 Procedural Vs Object Oriented Programming.pptx
YogitaTiwari6
 
OOP-1.pptx
iansebuabeh
 
Oop basic overview
Deborah Akuoko
 
Chapter17 oop
Deepak Singh
 
Different paradigms for problem solving.pptx
iitjeesooraj
 
SE-IT JAVA LAB OOP CONCEPT
nikshaikh786
 
2nd PUC computer science chapter 6 oop concept
Aahwini Esware gowda
 
Unit v(dsc++)
Durga Devi
 
Chapter1
jammiashok123
 
Object model
Hoang Nguyen
 
Object model
Tony Nguyen
 
Object model
Luis Goldster
 
Object model
Harry Potter
 
Object model
Fraboni Ec
 
Object model
James Wong
 
Ad

More from Vaibhav Khanna (20)

PPTX
Information and network security 47 authentication applications
Vaibhav Khanna
 
PPTX
Information and network security 46 digital signature algorithm
Vaibhav Khanna
 
PPTX
Information and network security 45 digital signature standard
Vaibhav Khanna
 
PPTX
Information and network security 44 direct digital signatures
Vaibhav Khanna
 
PPTX
Information and network security 43 digital signatures
Vaibhav Khanna
 
PPTX
Information and network security 42 security of message authentication code
Vaibhav Khanna
 
PPTX
Information and network security 41 message authentication code
Vaibhav Khanna
 
PPTX
Information and network security 40 sha3 secure hash algorithm
Vaibhav Khanna
 
PPTX
Information and network security 39 secure hash algorithm
Vaibhav Khanna
 
PPTX
Information and network security 38 birthday attacks and security of hash fun...
Vaibhav Khanna
 
PPTX
Information and network security 37 hash functions and message authentication
Vaibhav Khanna
 
PPTX
Information and network security 35 the chinese remainder theorem
Vaibhav Khanna
 
PPTX
Information and network security 34 primality
Vaibhav Khanna
 
PPTX
Information and network security 33 rsa algorithm
Vaibhav Khanna
 
PPTX
Information and network security 32 principles of public key cryptosystems
Vaibhav Khanna
 
PPTX
Information and network security 31 public key cryptography
Vaibhav Khanna
 
PPTX
Information and network security 30 random numbers
Vaibhav Khanna
 
PPTX
Information and network security 29 international data encryption algorithm
Vaibhav Khanna
 
PPTX
Information and network security 28 blowfish
Vaibhav Khanna
 
PPTX
Information and network security 27 triple des
Vaibhav Khanna
 
Information and network security 47 authentication applications
Vaibhav Khanna
 
Information and network security 46 digital signature algorithm
Vaibhav Khanna
 
Information and network security 45 digital signature standard
Vaibhav Khanna
 
Information and network security 44 direct digital signatures
Vaibhav Khanna
 
Information and network security 43 digital signatures
Vaibhav Khanna
 
Information and network security 42 security of message authentication code
Vaibhav Khanna
 
Information and network security 41 message authentication code
Vaibhav Khanna
 
Information and network security 40 sha3 secure hash algorithm
Vaibhav Khanna
 
Information and network security 39 secure hash algorithm
Vaibhav Khanna
 
Information and network security 38 birthday attacks and security of hash fun...
Vaibhav Khanna
 
Information and network security 37 hash functions and message authentication
Vaibhav Khanna
 
Information and network security 35 the chinese remainder theorem
Vaibhav Khanna
 
Information and network security 34 primality
Vaibhav Khanna
 
Information and network security 33 rsa algorithm
Vaibhav Khanna
 
Information and network security 32 principles of public key cryptosystems
Vaibhav Khanna
 
Information and network security 31 public key cryptography
Vaibhav Khanna
 
Information and network security 30 random numbers
Vaibhav Khanna
 
Information and network security 29 international data encryption algorithm
Vaibhav Khanna
 
Information and network security 28 blowfish
Vaibhav Khanna
 
Information and network security 27 triple des
Vaibhav Khanna
 
Ad

Recently uploaded (20)

PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Tally software_Introduction_Presentation
AditiBansal54083
 

Object oriented programming 1 introduction to oop

  • 1. Object Oriented Programming: Prof Neeraj Bhargava Vaibhav Khanna Department of Computer Science School of Engineering and Systems Sciences Maharshi Dayanand Saraswati University Ajmer
  • 2. Form Binary to Object Oriented
  • 3. Programming Issues • • How to represent real-life entities of problems in system design? • • How to design system with open interfaces? • • How to ensure reusability and extensibility of modules? • • How to develop modules that are tolerant of any changes in future? • • How to improve software productivity and decrease software cost? • • How to improve the quality of software?
  • 4. What are objects? • Objects model the elements of the problem context • Each object has: • �characteristics • �responsibilities (or required behaviors)
  • 5. Development of Object-oriented paradigm • “As complexity increases, architecture dominates the basic materials”. To build today’s complex software it is just not enough to put together a sequence of programming statements and sets of procedures and modules; we need to incorporate sound construction techniques and program structures that are easy to comprehend implement and modify. Alan Kay….
  • 6. Object Oriented Programming (OOP) • Object Oriented Programming (OOP) is an approach to program organization and development that attempts to eliminate some of the pitfalls of conventional programming methods by incorporating the best of structured programming features with several powerful new concepts.
  • 7. Procedure-Oriented Programming • In the procedure oriented approach, the problem is viewed as the sequence of things to be done such as reading, calculating and printing such as cobol, fortran and c. • The primary focus is on functions. • The technique of hierarchical decomposition has been used to specify the tasks to be completed for solving a problem.
  • 8. General Structure of a program in Procedure-Oriented Programming
  • 9. Procedure-Oriented Programming • Procedure oriented programming basically consists of writing a list of instructions for the computer to follow, and organizing these instructions into groups known as functions. • We normally use flowcharts to organize these actions and represent the flow of control from one action to another. • In a large program it is very difficult to identify what data is used by which function. …. And this can result in programming errors
  • 10. Procedure-Oriented Programming • Characteristics exhibited by procedure-oriented programming are: • • Emphasis is on doing things (algorithms). • • Large programs are divided into smaller programs known as functions. • • Most of the functions share global data. • • Data move openly around the system from function to function. • • Functions transform data from one form to another. • • Employs top-down approach in program design.
  • 11. Object Oriented Paradigm • The major motivating factor in the invention of object- oriented approach is to remove some of the flaws encountered in the procedural approach. • OOP treats data as a critical element in the program development and does not allow it to flow freely around the system. • It ties data more closely to the function that operate on it, and protects it from accidental modification from outside function. • OOP allows decomposition of a problem into a number of entities called objects and then builds data and function around these objects.
  • 12. Organization of data and function in OOP
  • 13. Features of object oriented programming • • Emphasis is on data rather than procedure. • • Programs are divided into what are known as objects. • • Data structures are designed to characterize the objects. • • Functions that operate on the data of an object are ties together in the data structure. • • Data is hidden and cannot be accessed by external function. • • Objects communicate with each other through function. • • New data and functions can be easily added whenever necessary. • • Follows bottom up approach in program design.
  • 14. Assigmment • Explain the concept of Procedure-Oriented Programming • Explain the concept of object oriented programming