SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
thinkphp
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
dheva B
 
Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)
Asfand Hassan
 

Mais procurados (20)

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture Notes
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
concept of oops
concept of oopsconcept of oops
concept of oops
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
 
Object-oriented programming
Object-oriented programmingObject-oriented programming
Object-oriented programming
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
 
08 subprograms
08 subprograms08 subprograms
08 subprograms
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Object oriented programming concepts
Object oriented programming conceptsObject oriented programming concepts
Object oriented programming concepts
 
Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)Oop lec 2(introduction to object oriented technology)
Oop lec 2(introduction to object oriented technology)
 
Oops
OopsOops
Oops
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in Python
 
Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 

Semelhante a 1 Intro Object Oriented Programming

Anusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YR
Anusha S
 
Resume-Sundar MR
Resume-Sundar MRResume-Sundar MR
Resume-Sundar MR
Sundar 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-2015
Farashath Basha
 
Anil Kumar Rai
Anil Kumar RaiAnil Kumar Rai
Anil Kumar Rai
anil rai
 
Gib_resume_1_28_15
Gib_resume_1_28_15Gib_resume_1_28_15
Gib_resume_1_28_15
Gib Smith
 

Semelhante a 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
 

Mais de 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
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

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