22.11.2012 Views

Schaum's Outline Series

Schaum's Outline Series

Schaum's Outline Series

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 8 Requirements 121<br />

3. What functions are important to include in use case diagrams?<br />

The important functions are those critical functions that convey the required functionality.<br />

4. What criteria should be used to evaluate scenarios?<br />

Every significant sequence of functions needs to be shown from the user’s point of view.<br />

5. What criteria should be used to evaluate state diagrams?<br />

State diagrams need to show all possible transitions. Every arc in the diagram needs to<br />

have an event that caused the transition. There must also be a path from the start node<br />

to every node and from every node to a terminal node.<br />

6. What is the advantage of a system diagram?<br />

Being less formal, it can be more flexible in expressing ideas about the overall system.<br />

7. What can be a major problem with system diagrams?<br />

The lack of formality can lead to ambiguous diagrams with one symbol being used for<br />

different ideas.<br />

Answers to Problems<br />

1. Draw an object model for the B&B problem (see Problem 4.3).<br />

See Fig. 8-8.<br />

2. Draw an object model for the dental office problem (see Problem 4.2).<br />

See Fig. 8-9.<br />

customer<br />

make res.<br />

cancel<br />

arrive<br />

check out<br />

B&B<br />

reservation<br />

date<br />

Fig. 8-8. B&B object model.<br />

date

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!