SlideShare a Scribd company logo
CSE 219
Object oriented Paradigm and
Programming
By
G.SasiKumar., M.E., (Ph.D).,
Assistant Professor
School of Computing Science and Engineering
VIT University
09/04/131 VIT - SCSE
 Instructor
 G. Sasi Kumar , sasichief@gmail.com
 Venue : SJT – 302
 Textbook
 K.R. Venugopal, T. Ravishankar, and Rajkumar,
"Mastering C++”, Tata McGraw Hill, 2008 .
 Requirements
 Homework x2 5% (do not copy)
 CAT 30%
 Quiz & Oral presentation 15%
 Final exam 50%
Course Webpage
intranet.vit.ac.in
https://www.facebook.com/groups/oopskg2013/
Mail: oopskg2013@groups.facebook.com
Office: SasiKumar Gurumurthy
 SJT -310-A08
 mobile:8870919338
 g.sasikumar@vit.ac.in
Software
1. System software
2. Application software
System software: Directly interacts with the computer
system. Operating system, compiler, interpreter are
examples for this.
Application software: All the programs written by a
user with the help of any software is called as application
software.
09/04/134 VIT - SCSE
Introduction to Programming
Languages
The shift in programming language is categorized as
following:
1. Monolithic Programming
2. Procedural Programming
3. Structural Programming
4. Object Oriented Programming
09/04/135 VIT - SCSE
Monolithic Programming
This programming consists only global data and sequential
code.
Assembly language and BASIC
09/04/136 VIT - SCSE
Procedural Oriented Programming
Mainly comprises of algorithms.
FORTRAN and COBOL
The important features of Procedural 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
09/04/137 VIT - SCSE
Structured programming
Pascal and C
Structured programming is based upon the algorithm rather than
data
Programs are divided into individual modules that perform
different task.
Introduction of user defined data types
09/04/138 VIT - SCSE
Object Oriented Programming
C++, Smalltalk, Eiffel, Java, C# etc.
Object oriented programming is a programming
methodology that associates data structures with a set of
operators, which act upon it.
Depending on the object features supported, the languages are
classified into two categories:
Object-Based Programming Languages
Object-Oriented Programming Languages
09/04/139 VIT - SCSE
Object-based programming languages support encapsulation
and object identity without supporting inheritance, polymorphism
and message communications.
Example ADA.
Object – Based language = Encapsulation + Object Identity
Object-Oriented Programming Language incorporate all the
features of object-based programming languages along with
inheritance and polymorphism.
Object-oriented programming language = Object Based
Language + Polymorphism +Inheritance
09/04/1310 VIT - SCSE
Features of Object oriented Programming
Improvement of over the structured programming languages.
Emphasis on data rather than algorithm
Data is hidden and cannot be accessed by external functions
Objects may communicate with each other through functions
New data and functions can be easily added whenever
necessary
Follows bottom –up approach in program design
09/04/1311 VIT - SCSE
Basic concepts of object oriented
programming
Objects – data and function
Classes
Data Abstraction : the act of representing essential features
without including the background details or explanations.
Encapsulation – data and function into a single unit
Inheritance
Polymorphism
Message Passing : It is the process of invoking an operation
on an object.
Ex: ob.add(50);
09/04/1312 VIT - SCSE
Advantages of OOP
Through inheritance we can eliminate redundant
(Unnecessary) code and extend the use of existing classes.
The principle of data hiding helps for security.
It is possible to have multiple objects.
It is easy to partition the work in a project based on objects.
Object-oriented systems can be easily upgraded from small to
large systems.
Message passing techniques for communication between
objects
Code reuse is possible.
09/04/1313 VIT - SCSE
Applications of OOP
Real time systems
Simulation and modeling
Object oriented databases
Hypertext and hypermedia
AI and expert systems
Neural networks and parallel programming
Office automation systems
CIM / CAM / CAD systems
09/04/1314 VIT - SCSE

More Related Content

What's hot

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Conceptsthinkphp
 
Chomsky Normal Form
Chomsky Normal FormChomsky Normal Form
Chomsky Normal Form
Jasmine Peniel
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
Moutaz Haddara
 
Learn c++ Programming Language
Learn c++ Programming LanguageLearn c++ Programming Language
Learn c++ Programming Language
Steve Johnson
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
Iqra khalil
 
C++ language basic
C++ language basicC++ language basic
C++ language basic
Waqar Younis
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Multiple inheritance in c++
Multiple inheritance in c++Multiple inheritance in c++
Multiple inheritance in c++
Sujan Mia
 
Abstraction and Encapsulation
Abstraction and EncapsulationAbstraction and Encapsulation
Abstraction and Encapsulation
Haris Bin Zahid
 
Templates in C++
Templates in C++Templates in C++
Templates in C++Tech_MX
 
Classes and objects
Classes and objectsClasses and objects
Classes and objects
Anil Kumar
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
Mohammad Ilyas Malik
 
Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop Kumar
 
Constructors in C++
Constructors in C++Constructors in C++
Constructors in C++
RubaNagarajan
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
 
oop.pptx
oop.pptxoop.pptx
oop.pptx
KabitaParajuli3
 
History of c++
History of c++ History of c++
History of c++
Ihsan Wassan
 
Method Overloading In Java
Method Overloading In JavaMethod Overloading In Java
Method Overloading In Java
CharthaGaglani
 
Access specifier
Access specifierAccess specifier
Access specifier
zindadili
 

What's hot (20)

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Chomsky Normal Form
Chomsky Normal FormChomsky Normal Form
Chomsky Normal Form
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
Learn c++ Programming Language
Learn c++ Programming LanguageLearn c++ Programming Language
Learn c++ Programming Language
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
C++ language basic
C++ language basicC++ language basic
C++ language basic
 
Basic concepts of oops
Basic concepts of oopsBasic concepts of oops
Basic concepts of oops
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
 
Multiple inheritance in c++
Multiple inheritance in c++Multiple inheritance in c++
Multiple inheritance in c++
 
Abstraction and Encapsulation
Abstraction and EncapsulationAbstraction and Encapsulation
Abstraction and Encapsulation
 
Templates in C++
Templates in C++Templates in C++
Templates in C++
 
Classes and objects
Classes and objectsClasses and objects
Classes and objects
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 
Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop
 
Constructors in C++
Constructors in C++Constructors in C++
Constructors in C++
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
oop.pptx
oop.pptxoop.pptx
oop.pptx
 
History of c++
History of c++ History of c++
History of c++
 
Method Overloading In Java
Method Overloading In JavaMethod Overloading In Java
Method Overloading In Java
 
Access specifier
Access specifierAccess specifier
Access specifier
 

Similar to 1 Intro Object Oriented Programming

Anusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha S
 
Resume
ResumeResume
Resume
ahmedmishfaq
 
Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"
Keith Landa
 
Dhinakar raj
Dhinakar rajDhinakar raj
Dhinakar raj
Dhinakar Raj
 
Crime file
Crime fileCrime file
Crime file
divy_resting
 
Resume-Sundar MR
Resume-Sundar MRResume-Sundar MR
Resume-Sundar MRSundar M R
 
(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015Farashath Basha
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
Praveen M Jigajinni
 
Synopsis of online Attendance System
Synopsis of online Attendance SystemSynopsis of online Attendance System
Synopsis of online Attendance System
Shyam Sundar Pandey
 
Anil Kumar Rai
Anil Kumar RaiAnil Kumar Rai
Anil Kumar Raianil rai
 
Ahmed Motair CV 2020
Ahmed Motair CV 2020Ahmed Motair CV 2020
Ahmed Motair CV 2020
Ahmed Mater
 
Resume summer17
Resume summer17Resume summer17
Resume summer17
Abhiyush Mittal
 
Gib_resume_1_28_15
Gib_resume_1_28_15Gib_resume_1_28_15
Gib_resume_1_28_15Gib Smith
 

Similar to 1 Intro Object Oriented Programming (20)

Anusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YR
 
JelitaAsianCV
JelitaAsianCVJelitaAsianCV
JelitaAsianCV
 
Apurva_resume
Apurva_resumeApurva_resume
Apurva_resume
 
Resume
ResumeResume
Resume
 
Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"
 
Oose lab notes
Oose lab notesOose lab notes
Oose lab notes
 
Dhinakar raj
Dhinakar rajDhinakar raj
Dhinakar raj
 
Crime file
Crime fileCrime file
Crime file
 
Resume-Sundar MR
Resume-Sundar MRResume-Sundar MR
Resume-Sundar MR
 
arijit_resume_jan (1)
arijit_resume_jan (1)arijit_resume_jan (1)
arijit_resume_jan (1)
 
(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015
 
JAYALAKSHMI RESUME
JAYALAKSHMI  RESUMEJAYALAKSHMI  RESUME
JAYALAKSHMI RESUME
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
Synopsis of online Attendance System
Synopsis of online Attendance SystemSynopsis of online Attendance System
Synopsis of online Attendance System
 
Amalesh Resume
Amalesh ResumeAmalesh Resume
Amalesh Resume
 
Anil Kumar Rai
Anil Kumar RaiAnil Kumar Rai
Anil Kumar Rai
 
Ahmed Motair CV 2020
Ahmed Motair CV 2020Ahmed Motair CV 2020
Ahmed Motair CV 2020
 
Resume summer17
Resume summer17Resume summer17
Resume summer17
 
resume
resumeresume
resume
 
Gib_resume_1_28_15
Gib_resume_1_28_15Gib_resume_1_28_15
Gib_resume_1_28_15
 

More from Docent Education

17 files and streams
17 files and streams17 files and streams
17 files and streams
Docent Education
 
16 virtual function
16 virtual function16 virtual function
16 virtual function
Docent Education
 
14 operator overloading
14 operator overloading14 operator overloading
14 operator overloading
Docent Education
 
13 exception handling
13 exception handling13 exception handling
13 exception handling
Docent Education
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
Docent Education
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
Docent Education
 
11 constructors in derived classes
11 constructors in derived classes11 constructors in derived classes
11 constructors in derived classes
Docent Education
 
10 inheritance
10 inheritance10 inheritance
10 inheritance
Docent Education
 
7 class objects
7 class objects7 class objects
7 class objects
Docent Education
 
6 pointers functions
6 pointers functions6 pointers functions
6 pointers functions
Docent Education
 
4 Type conversion functions
4 Type conversion functions4 Type conversion functions
4 Type conversion functions
Docent Education
 
3 intro basic_elements
3 intro basic_elements3 intro basic_elements
3 intro basic_elements
Docent Education
 
2 Intro c++
2 Intro c++2 Intro c++
2 Intro c++
Docent Education
 
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
Docent Education
 

More from Docent Education (15)

17 files and streams
17 files and streams17 files and streams
17 files and streams
 
16 virtual function
16 virtual function16 virtual function
16 virtual function
 
14 operator overloading
14 operator overloading14 operator overloading
14 operator overloading
 
13 exception handling
13 exception handling13 exception handling
13 exception handling
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
 
11 constructors in derived classes
11 constructors in derived classes11 constructors in derived classes
11 constructors in derived classes
 
10 inheritance
10 inheritance10 inheritance
10 inheritance
 
7 class objects
7 class objects7 class objects
7 class objects
 
6 pointers functions
6 pointers functions6 pointers functions
6 pointers functions
 
5 array
5 array5 array
5 array
 
4 Type conversion functions
4 Type conversion functions4 Type conversion functions
4 Type conversion functions
 
3 intro basic_elements
3 intro basic_elements3 intro basic_elements
3 intro basic_elements
 
2 Intro c++
2 Intro c++2 Intro c++
2 Intro c++
 
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
 

Recently uploaded

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 

1 Intro Object Oriented Programming

  • 1. CSE 219 Object oriented Paradigm and Programming By G.SasiKumar., M.E., (Ph.D)., Assistant Professor School of Computing Science and Engineering VIT University 09/04/131 VIT - SCSE
  • 2.  Instructor  G. Sasi Kumar , sasichief@gmail.com  Venue : SJT – 302  Textbook  K.R. Venugopal, T. Ravishankar, and Rajkumar, "Mastering C++”, Tata McGraw Hill, 2008 .  Requirements  Homework x2 5% (do not copy)  CAT 30%  Quiz & Oral presentation 15%  Final exam 50%
  • 4. Software 1. System software 2. Application software System software: Directly interacts with the computer system. Operating system, compiler, interpreter are examples for this. Application software: All the programs written by a user with the help of any software is called as application software. 09/04/134 VIT - SCSE
  • 5. Introduction to Programming Languages The shift in programming language is categorized as following: 1. Monolithic Programming 2. Procedural Programming 3. Structural Programming 4. Object Oriented Programming 09/04/135 VIT - SCSE
  • 6. Monolithic Programming This programming consists only global data and sequential code. Assembly language and BASIC 09/04/136 VIT - SCSE
  • 7. Procedural Oriented Programming Mainly comprises of algorithms. FORTRAN and COBOL The important features of Procedural 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 09/04/137 VIT - SCSE
  • 8. Structured programming Pascal and C Structured programming is based upon the algorithm rather than data Programs are divided into individual modules that perform different task. Introduction of user defined data types 09/04/138 VIT - SCSE
  • 9. Object Oriented Programming C++, Smalltalk, Eiffel, Java, C# etc. Object oriented programming is a programming methodology that associates data structures with a set of operators, which act upon it. Depending on the object features supported, the languages are classified into two categories: Object-Based Programming Languages Object-Oriented Programming Languages 09/04/139 VIT - SCSE
  • 10. Object-based programming languages support encapsulation and object identity without supporting inheritance, polymorphism and message communications. Example ADA. Object – Based language = Encapsulation + Object Identity Object-Oriented Programming Language incorporate all the features of object-based programming languages along with inheritance and polymorphism. Object-oriented programming language = Object Based Language + Polymorphism +Inheritance 09/04/1310 VIT - SCSE
  • 11. Features of Object oriented Programming Improvement of over the structured programming languages. Emphasis on data rather than algorithm Data is hidden and cannot be accessed by external functions Objects may communicate with each other through functions New data and functions can be easily added whenever necessary Follows bottom –up approach in program design 09/04/1311 VIT - SCSE
  • 12. Basic concepts of object oriented programming Objects – data and function Classes Data Abstraction : the act of representing essential features without including the background details or explanations. Encapsulation – data and function into a single unit Inheritance Polymorphism Message Passing : It is the process of invoking an operation on an object. Ex: ob.add(50); 09/04/1312 VIT - SCSE
  • 13. Advantages of OOP Through inheritance we can eliminate redundant (Unnecessary) code and extend the use of existing classes. The principle of data hiding helps for security. It is possible to have multiple objects. It is easy to partition the work in a project based on objects. Object-oriented systems can be easily upgraded from small to large systems. Message passing techniques for communication between objects Code reuse is possible. 09/04/1313 VIT - SCSE
  • 14. Applications of OOP Real time systems Simulation and modeling Object oriented databases Hypertext and hypermedia AI and expert systems Neural networks and parallel programming Office automation systems CIM / CAM / CAD systems 09/04/1314 VIT - SCSE