Table of Contents Previous Section Next Section

Exercises

The following exercises, taken from the domain model for our Internet Bookstore, are designed to test your ability to spot the top 10 mistakes that people make during domain modeling. (The full domain model is presented at the end of the chapter and also in Appendix.) Each page with a red label at the top contains three or four of these mistakes; your task is to write corrections on the page near the erroneous material. Following each of these pages is a page with a white label inside a black box at the top; this page contains corrected material and explanations of the top 10 rules that were violated on the previous page. Happy hunting!

Exercise 1

graphics/02fig02.gif

Exercise 1

graphics/02fig03.gif

On the previous diagram:

Exercise 2

graphics/02fig04.gif

Exercise 2

graphics/02fig05.gif

On the previous diagram:

Exercise 3

graphics/02fig06.gif

Exercise 3

graphics/02fig07.gif

On the previous diagram:

Exercise 4

graphics/02fig08.gif

Exercise 4

graphics/02fig09.gif

On the previous diagram:

Exercise 5

graphics/02fig10.gif

Exercise 5

graphics/02fig11.gif

On the previous diagram:

Table of Contents Previous Section Next Section