March4 - Ian Sommerville 2000 Software Engineering, 6th...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 1 Software Design Objectives To explain how a software design may be represented as a set of interacting objects that manage their own state and operations To introduce various models that describe an object- oriented design To show how the UML may be used to represent these models To introduce design patterns Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 2 Characteristics of OOD Objects are abstractions of real-world or system entities and manage themselves Objects are independent and encapsulate state and representation information. System functionality is expressed in terms of object services Shared data areas are eliminated Objects communicate by message passing Objects may be distributed Objects may execute sequentially or in parallel Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 3 Interacting objects state o3 o3:C3 state o4 o4: C4 state o1 o1: C1 state o6 o6: C1 state o5 o5:C5 state o2 o2: C3 ops1() ops3 () ops4 () ops3 () ops1 () ops5 () Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 4 Advantages of OOD Easier maintenance. Objects may be understood as stand-alone entities Objects are appropriate reusable components For some systems, there may be an obvious mapping from real world entities to system objects Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 5 Object-oriented development Object-oriented analysis, design and programming are related but distinct OOA is concerned with developing an object model of the application domain OOD is concerned with developing an object- oriented system model to implement requirements OOP is concerned with realising an OOD using an OO programming language such as Java or C+ + Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 6 Objects and object classes Objects are entities in a software system which represent instances of real- world and system entities Object classes are templates for objects Classes may be used to create objects Object classes may inherit attributes and services from other object classes Employee name: string address: string dateOfBirth: Date employeeNo: integer socialSecurityNo: string department: Dept manager: Employee salary: integer status: {current, left, retired} taxCode: integer . . ....
View Full Document

This note was uploaded on 06/16/2009 for the course CSCI 578 taught by Professor Nenadmedidovic during the Spring '08 term at USC.

Page1 / 27

March4 - Ian Sommerville 2000 Software Engineering, 6th...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online