Object Oriented Analysis

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 19

Object Oriented ( ) Analysis ( )

Lecture 1: Introduction

Textbook
Applying UML and Patterns: An Introduction to OOA/D & Iterative Development
3rd Edition, by Craig Larman, Prentice Hall 2005

Purchase of textbook is highly recommended

2006/alau

Object Oriented Analysis

Assessment
Examination: Continuous Assessment: 50% 50%

2006/alau

Object Oriented Analysis

What will you learn in the next 15 weeks ?


On completion of this module, you will learn:

What is analysis? What is OO analysis? The tools for doing OO analysis


Use Cases Domain Model (a special type of class diagram)

2006/alau

Object Oriented Analysis

Topics in Today's lecture


Define Analysis and Design A simple example

2006/alau

Object Oriented Analysis

Question:

What method did you use to develop software??

2006/alau

Object Oriented Analysis

Software Development What steps?.. What methods?


Given a problem ?

Anal ysis

Plann ing Desi gn Feasibility Study

Mainten ance

Codi ng Testi ng

Implemen tation
2006/alau Object Oriented Analysis

Case Study

Your boss is asking you to write a software for a customer.

Ask yourself: What are the first things that you will do?

2006/alau

Object Oriented Analysis

What is Analysis ( ) ?
Study of the problem ( ) Study of user requirements ( )
NOT yet knowing what the solution is NOT yet knowing how to implement the solution

2006/alau

Object Oriented Analysis

What is Design ( )?
To work out a conceptual solution to meet user requirements

NOT yet working on main coding or programming

2006/alau

Object Oriented Analysis

10

Question:

What are the things that you will do in Analysis?

2006/alau

Object Oriented Analysis

11

Digital Camera Example


Using a digital camera as an example, we explain how "analysis" can be done Assuming that we need to use software objects (Java or C#) to simulate a digital camera, What are the first things that you will do?
Object Oriented Analysis 12

2006/alau

Try these steps


1. 2. 3. 4.

List the functions of a digital camera Explain how camera performs each function List useful "objects" in the digital camera Explain how objects work together (interact)

2006/alau

Object Oriented Analysis

13

List the Functions of a Digital Camera


Take photo ..

2006/alau

Object Oriented Analysis

14

List How Camera Perform A Function


Take a photo:
1. 2. 1.

User choose "P" mode and turn on camera Camera LCD displays message that it is ready to take photo .

2006/alau

Object Oriented Analysis

15

List the "Objects" in a Digital Camera


Shutter LCD

2006/alau

Object Oriented Analysis

16

List How Objects Belonging To The Camera Interact


LCD displays view through lens Pressing the shutter button half-way focuses the lens Pressing the shutter button fully releases the shutter

2006/alau

Object Oriented Analysis

17

What Are The Problems With The Method/Steps?


Difficulties in finding ALL functions Difficulties in finding ALL useful objects Difficulties in describing the object interactions

2006/alau

Object Oriented Analysis

18

Summary

Introduction What is OO Analysis and Design A simple example .

2006/alau

Object Oriented Analysis

19

You might also like