SlideShare ist ein Scribd-Unternehmen logo
1 von 14
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

Weitere ähnliche Inhalte

Was ist angesagt?

classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++HalaiHansaika
 
Abstraction and Encapsulation
Abstraction and EncapsulationAbstraction and Encapsulation
Abstraction and EncapsulationHaris Bin Zahid
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops conceptsNilesh Dalvi
 
Functions in python
Functions in pythonFunctions in python
Functions in pythoncolorsof
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)MD Sulaiman
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in pythonTMARAGATHAM
 
Object oriented programming concepts
Object oriented programming conceptsObject oriented programming concepts
Object oriented programming conceptsrahuld115
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesFellowBuddy.com
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPMudasir Qazi
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS ConceptBoopathi K
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)Jay Patel
 
UNIT I LINEAR DATA STRUCTURES – LIST
UNIT I 	LINEAR DATA STRUCTURES – LIST 	UNIT I 	LINEAR DATA STRUCTURES – LIST
UNIT I LINEAR DATA STRUCTURES – LIST Kathirvel Ayyaswamy
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingAmit Soni (CTFL)
 
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 4MOHIT TOMAR
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++Vineeta Garg
 

Was ist angesagt? (20)

classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++
 
Chapter 07 inheritance
Chapter 07 inheritanceChapter 07 inheritance
Chapter 07 inheritance
 
Abstraction and Encapsulation
Abstraction and EncapsulationAbstraction and Encapsulation
Abstraction and Encapsulation
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops concepts
 
Functions in python
Functions in pythonFunctions in python
Functions in python
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
 
Object oriented programming concepts
Object oriented programming conceptsObject oriented programming concepts
Object oriented programming concepts
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture Notes
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOP
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
1 unit (oops)
1 unit (oops)1 unit (oops)
1 unit (oops)
 
UNIT I LINEAR DATA STRUCTURES – LIST
UNIT I 	LINEAR DATA STRUCTURES – LIST 	UNIT I 	LINEAR DATA STRUCTURES – LIST
UNIT I LINEAR DATA STRUCTURES – LIST
 
Dictionaries in Python
Dictionaries in PythonDictionaries in Python
Dictionaries in Python
 
Oop concepts in python
Oop concepts in pythonOop concepts in python
Oop concepts in python
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Object oriented programming
Object oriented programmingObject oriented programming
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
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++
 

Ähnlich wie 1 Intro Object Oriented Programming

Ähnlich wie 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
 

Mehr von Docent Education

Mehr von 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
 

Kürzlich hochgeladen

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

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