Handout-2(b) Dr. R. Z. Khan AMU. Aligarh (INDIA).

Slides:



Advertisements
Similar presentations
Introduction to Object Orientation System Analysis and Design
Advertisements

Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
1 OBJECT-ORIENTED CONCEPTS. 2 What is an object?  An object is a software entity that mirrors the real world in some way.  A software object in OOP.
Computer Science Dept. Fall 2003 Object models Object models describe the system in terms of object classes An object class is an abstraction over a set.
Stéphane Ducasse2.1 OOP? What is OOP? Why? OOP in a nutshell.
Object-Oriented Analysis and Design
Introduction To System Analysis and Design
1 SWE Introduction to Software Engineering Lecture 23 – Architectural Design (Chapter 13)
OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
CPT 140 Programming Constructs1 OBJECT ORIENTED TECHNOLOGY Terminology and Basic Concepts.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
Introduction to Objects Adapted from “TEN STEPS TO OBJECT-SPEAK” a CPT Tech Talk by Joy Starks September 17, 1999.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Unified Modeling Language, Version 2.0
Introduction To System Analysis and Design
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
11 1 Chapter 11 Object Oriented Databases Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Chapter 2: Object Basics Object-Oriented Systems Development Using the Unified Modeling.
S.Ducasse Stéphane Ducasse 1 Object-Oriented Programming.
1/26 On-demand Learning Series Software Engineering of Web Application - Object-Oriented Development & UML Hunan University, Software School.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
Learners Support Publications Object Oriented Programming.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (1/2)
Object Oriented Modeling David Li CTO, DigitalSesame.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Business Applications with Object-Oriented Paradigm (Modeling Concepts) Professor Chen School of Business Gonzaga University Spokane, WA
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (1/2)
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Principles of Programming & Software Engineering
Object Oriented Systems Design
Object Oriented Programming
Cmpe 589 Spring 2006.
Object-oriented and Structured System Models
Sachin Malhotra Saurabh Choudhary
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Systems Analysis and Design
CHAPTER 5 GENERAL OOP CONCEPTS.
Sections Basic Concepts of Programming
Systems Analysis and Design With UML 2
Programming in Java Sachin Malhotra, Chairperson, PGDM-IT, IMS Ghaziabad Saurabh Chaudhary, Dean, Academics, IMS Ghaziabad.
Objectives State the reasons for the complexity involved in the development of software Define the following terms Objects Classes Messages Methods Explain.
OOP What is problem? Solution? OOP
Systems Analysis and Design With UML 2
Object Oriented Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
Abstract descriptions of systems whose requirements are being analysed
Object Oriented Concepts
Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach
System models October 5, 2005.
lecture 08, OO Design Principle
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
BCA-II Object Oriented Programming using C++
Workshop for Programming And Systems Management Teachers
Requirements Document
What Is Good Software(Program)?
Appendix A Object-Oriented Analysis and Design
Agenda Software development (SD) & Software development methodologies (SDM) Orthogonal views of the software OOSD Methodology Why an Object Orientation?
Appendix A Object-Oriented Analysis and Design
Cheng (Sp2001): Object-Oriented Development Overview
Presentation transcript:

Handout-2(b) Dr. R. Z. Khan AMU. Aligarh (INDIA)

Why Objects? A new way to think about software Industrial revolution -- reuse software, not rewrite Increase programmer productivity quality of software understandability of software lifetime of software

The Software Lifecycle What is important? maintainability extensibility understandability

Old Paradigm Computer system consists of data and programs. Programs manipulate data. Programs organized by functional decomposition dataflow modules

New Paradigm Computer system consists of a set of objects. Objects are responsible for knowing and doing certain things. Objects collaborate to carry out their responsibilities. Programs organized by classes, inheritance hierarchies and subsystems

What is an object, anyway? Mystical view Computing systems are made up of objects that communicate only by sending messages between each other. All computation is message sending.

What is an object, anyway? Scandinavian view A program is a simulation. Each entity in the system being simulated is represented by an entity in the program.

What is an object, anyway? Programming language view An object-oriented system is characterized by • data abstraction • inheritance • polymorphism by late-binding of procedure calls

Heart of Object-Oriented Programming Don't make a new language, extend your old one. Objects should be abstractions of problem domain.

Modeling All phases of software life-cycle are modeling • analysis - modeling of problem • design - modeling of solution • implementation - making model run on a computer • maintenance - fixing/extending your model

Assumption about Modeling Basing system design on structure of problem makes system • more reusable • more extensible

Modeling Claim: people model the world with "objects" • objects • classes • relationships between objects • relationships between classes

Modeling Advantages of object-oriented software development • more natural - matches the way people think • single notation - makes it easy to move between software phases

Objects and Relationships John is Mary's father. Mary is John's daughter. Bob is Mary's dog. Mary is Bob's owner. Ann is John's employer. John is Ann's employee.

Objects and Attributes John's name is "John Patrick O'Brian". John's age is 27. John's address is 987 N. Oak St, Champaign IL 61820 What about John's employer? John's wife? What is an attribute, and what is a relationship?

Objects and Behavior John goes on a trip. John makes reservations. John buys tickets. John travels by airplane. John checks into hotel.

What Really is an Object? Reservation -- a promise to give service to a customer Ticket -- proof that customer has paid for service in advance Flight Payment -- an event (transaction?) in which money is exchanged

What Really is an Object? Anything we can talk about can be an object, including relationships ("the husband of the first party", "first-born son"). What are we trying to model? Models should be as simple as possible, but no simpler.

Classification We naturally put objects into classes that have similar characteristics. • John is a man. • Mary is a woman. • Bob is a dog. • All women are people. • All people are mammals. Mammals Dogs People Women Men Bob Mary John

Classification • John is an employee. • John is a father. • John is a sky-diver. • John is under 30. Is John an instance of Employee, Father, Sky-diver, and Under30?

Summary Objects • have identity • have attributes • have behavior • have relationships with other objects

Summary Classes • describes the attributes, behavior, and relationships of a set of objects • subclasses/superclasses form graph of generalizations