Systems Analysis and Design in a Changing World, Thursday, Feb 22.

27
Systems Analysis and Design in a Changing World, Thursday, Feb 22

Transcript of Systems Analysis and Design in a Changing World, Thursday, Feb 22.

Page 1: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

Systems Analysis and Design in a Changing World, Thursday, Feb 22

Page 2: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

2

Today’s Schedule

Using Events for Requirements Using “Things” for Requirements For Tuesday, February 27

Finish Reading Chapter 5, ERDs and Class Diagrams

Try out ERDs in Visual Paradigm

Page 3: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

3

Recall … Where You Are Headed

Page 4: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

4

Events Affecting a Charge Account Processing System that Lead to Use Cases

Page 5: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

5

Identifying Events

Can be difficult to determine

Often confused with conditions and responses

May be useful to trace a transaction’s life cycle

Certain events left to design phase

– System controls to protect system integrity

– Perfect technology assumption defers events

Page 6: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

6

Sequence of “Transactions” for One Specific Customer >> Many Events

Page 7: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

7

Defer Some Events Until Design

Page 8: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

8

Event Table: Catalog of Information about Each Use Case

How do the “events” in Activity Diagram fit?

Page 9: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

9

“Things” in Problem Domain

Define system requirements by understanding system information that needs to be stored

Store information about things in the problem domain that people deal with when they do their work

Analysts identify these types of things by considering each use case in the event table

– What things does the system need to know about and store information about?

Page 10: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

10

Types of Things

Page 11: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

11

Developing an Initial List of Things

Step 1: Using the event table and information about each use case, identify all nouns

Step 2: Using other information from existing systems, current procedures, and current reports or forms, add items or categories of information needed

Step 3: Refine list and record assumptions or issues to explore

Page 12: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

12

Questions for Refining List

Should you include it?– A unique thing system needs to know about?– Inside scope of this system?– Need to remember more than one of these?

Should you exclude it?– Synonym for another thing already in list?– Is it really an output?– Input that results in recording info already in list?

Should you research it?– Is it a characteristic of another “thing”?– What if assumptions change, is it still needed?

Page 13: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

13

“Things” have …

Relationship– Naturally occurring association among specific

things– Occur in two directions– Number of associations is cardinality or multiplicity

Binary, unary, ternary, n-ary

Attribute (characteristic)– One specific piece of information about a thing

Page 14: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

14

Cardinality/Multiplicity of Relationships

Page 15: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

15

Attributes and Values

Identifier or Key – Attribute that Uniquely identifies the “thing”

Page 16: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

16

Data Entities

Things system needs to store data about in traditional IS approach

Modeled with entity-relationship diagram (ERD)

Requirements model used to create the database design model for relational database

Page 17: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

17

Objects Objects do the work in a system and store information in the object-oriented approach

Objects have behaviors and attributes– Class – type of thing– Object – each specific thing– Methods – behaviors of objects of the class

Objects contain values for attributes and methods for operating on those attributes

An object is encapsulated – a self-contained unit

Page 18: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

18

Data Entities Compared with Objects (Figure 5-22)

Page 19: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

19

The Entity-Relationship Diagram (ERD)

Page 20: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

20

Cardinality Symbols of Relationships for ERD

Page 21: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

21

Expanded ERD with Attributes Shown

Page 22: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

22

Customers, Orders, and Order Items

Page 23: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

23

ERD with Many-to-Many Relationship

Page 24: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

24

Many-to-Many Relationship Converted to Associative Entity to Store Grade Attribute

Page 25: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

25

RMO Customer Support System ERD(Figure 5-29)

Page 26: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

26

Now you try it …

Case Study: (Page 194-5) The Spring Breaks ‘R’ Us Travel Service Booking System

#1 Events and event Table #2 Data Entities and their relationships

Page 27: Systems Analysis and Design in a Changing World, Thursday, Feb 22.

27

For Tuesday, February 27

For Tuesday, February 27Finish Reading Chapter 5, ERDs and Class Diagrams

Try out ERDs in Visual Paradigm