Introduction to Object-Oriented Programming

Slides:



Advertisements
Similar presentations
Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Advertisements

4. Object-Oriented Programming Procedural programming Structs and objects Object-oriented programming Concepts and terminology Related keywords.
Department of Computer Engineering Faculty of Engineering, Prince of Songkla University 1 5 – Abstract Data Types.
1 Software Design Introduction  The chapter will address the following questions:  How do you factor a program into manageable program modules that can.
What is Software Design?  Introduction  Software design consists of two components, modular design and packaging.  Modular design is the decomposition.
Copyright Irwin/McGraw-Hill Software Design Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Software Design Deriving a solution which satisfies software requirements.
Design The goal is to design a modular solution, using the techniques of: Decomposition Abstraction Encapsulation In Object Oriented Programming this is.
C++ fundamentals.
OOP- OBJECT OBJECT PROGRAMMING By KRATI SHARMA 02 XI-B ✏✏✏✏ ☺☻☺☻☺☻☺ ✏✏✏✏
Introduction to Object-oriented programming and software development Lecture 1.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Welcome to OBJECT ORIENTED PROGRAMMIN Date: 10/09/2014 Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
O BJECT O RIENTATION F UNDAMENTALS Prepared by: Gunjan Chhabra.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
Definition of Object - Oriented Language.. Object-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions"
Introduction to c++ programming - object oriented programming concepts - Structured Vs OOP. Classes and objects - class definition - Objects - class scope.
Learners Support Publications Object Oriented Programming.
Abstraction ADTs, Information Hiding and Encapsulation.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (1/2)
9-Dec Dec-15  INTRODUCTION.  FEATURES OF OOP.  ORGANIZATION OF DATA & FUNCTION IN OOP.  OOP’S DESIGN.
Java Fundamentals Usman Ependi UBD
Introduction to OOP CPS235: Introduction.
OOPS CONCEPT.  OOPS  Benefits of OOPs  OOPs Principles  Class  Object Objectives.
Introduction to Classes Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg.
Programming Paradigms(Model) Two Paradigms: – Procedural Programming Paradigm – Object Oriented Paradigm Objective of OO approach is to eliminate some.
Basic Characteristics of Object-Oriented Systems
Chapter 11 An introduction to object-oriented design.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
 The Object Oriented concepts was evolved for solving complex problems. Object- oriented software development started in the 1980s. Object-oriented design.
Programming Languages and Data Organization
Lecture 2 (UNIT -1) SUNIL KUMAR CIT-UPES.
7. Modular and structured design
Programming paradigms
Object-Orientated Programming
Visit for more Learning Resources
Object Oriented Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Object Oriented Programming F3031
II – UNIT Procedure Oriented Programming
Object-Oriented Techniques
Systems Analysis and Design With UML 2
GENERAL OOPs CONCEPTS.
Objectives State the reasons for the complexity involved in the development of software Define the following terms Objects Classes Messages Methods Explain.
An Introduction to Programming and VB.NET
Software Design Mr. Manoj Kumar Kar.
Function There are two types of Function User Defined Function
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
Lecture 1 Introduction.
Object Oriented Analysis and Design
INFS 6225 – Object-Oriented Systems Analysis & Design
OOP vs Structured Programming
Procedural Programming
Object-Oriented Design
Need for the subject.
Software Engineering INTRODUCTION
Principles of object – oriented programming UNIT-1 Chapter-1.
UNIT I OBJECT ORIENTED PROGRAMMING FUNDAMENTALS
Programming Languages and Paradigms
What Is Good Software(Program)?
CS 2704 Object Oriented Software Design and Construction
Cohesion and Coupling.
Object-Oriented Programming
Agenda Software development (SD) & Software development methodologies (SDM) Orthogonal views of the software OOSD Methodology Why an Object Orientation?
Presentation transcript:

Introduction to Object-Oriented Programming

  Types Of Programming: 1. Procedure-Oriented Programming. 2. Object- Oriented Programming.

1.Procedure-Oriented Programming: Conventional programming using high level languages. Such as COBOL, FORTRAN , BASCAL and C. is commonly known as procedure-oriented programming (POP). In POP approach the problem is viewed as sequence of thing to be done, such as reading , calculating and printing. A number of Function are writer to accomplish these tasks. The primary-focus is on (Function). POP basically consists of writing a list of instructions for the computer to follow and organize these instructions in to groups known as function. Very little attention is given to the data that are used by functions. Many important data are placed as Global, So they may be accessed by all functions. Each function has its own local data.  

  Characteristic of Procedure-Oriented Programming: Emphasis is on doing things (algorithms). Large programs are divided into smaller program known as function. Most of the function share global data. Data move openly around the system from function to function. Functions transforms data from one form to another. Employs TOP-DOWN approach in program design.

2. Object- Oriented Programming: 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 functions and protects it from accidental modification from outside function. OOP allows us to decompose problem into a number of entities called OBJECTS and then builds data and functions around these entities.

Characteristic of Object-Oriented Programming: Emphasis is on data rather than procedure. Programs are divided into what are known as Object. Objects is characterized by the data structure. Function that operate on the data of an object are tied together in the data structure. data is hidden and cannot be accessed by external functions. Objects may communicate with each other through functions. New Data and function can be easily added whenever necessary. Follows BOTTOM-UP approach in program design.  

OOP Definition: It is approach that provides a way of modularizing programs by created partitioned memory area for both data and functions that can be used as templates for creating copies of such modules on demand.

Benefits of OOP: Through inheritance, we can eliminate redundant code and extend the use of existing classes. We can build programs from standard working module (i.e. save time and higher productivity. The principle of data hiding helps the programmer to build secure programs. it is possible to have multiple instances of an object to co- exist without any interference. it is easy to partition the work in a project base on objects. Object-Oriented System can be easily upgraded from small to large system. Message passing techniques for communication between objects makes the interface descriptions with external system a simpler. Software complexity can be easily managed.