22.11.2012 Views

Schaum's Outline Series

Schaum's Outline Series

Schaum's Outline Series

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

124<br />

Customer Call 3:<br />

Customer calls about availability on a specified date.<br />

Sue brings up calendar for that week.<br />

There is a vacancy.<br />

Sue quotes a price.<br />

Sue gets name, address, telephone number, and credit card number.<br />

Sue enters information.<br />

Customer guarantees reservation.<br />

Reserve by date passes.<br />

Another customer requests that date.<br />

Nonguaranteed reservation is removed.<br />

8. Write scenarios for the dental office problem (Problem 4.2).<br />

1—Normal<br />

A patient calls for an appointment. The patient’s name is recognized by the system.<br />

The system suggests a time. The patient accepts that time, and the receptionist enters<br />

the appointment. Two days before the appointment, the receptionist gets a reminder<br />

list with the patient’s name and phone number. The receptionist calls to remind the<br />

patient. The patient comes for the appointment. After the appointment, the dental<br />

assistant schedules the patient’s next appointment.<br />

2—New Patient<br />

A patient calls for an appointment. The patient’s name is not recognized by the system.<br />

The patient must be entered into the patient records system.<br />

3—Multiple Appointments<br />

A patient calls and wants to make 6-month appointments for the next 2 years. The<br />

receptionist enters his name into the system and, when it is accepted, enters the agreed<br />

upon appointments.<br />

9. Draw a state diagram for the B&B problem as a whole (see Problem 4.3).<br />

See Fig. 8-14.<br />

Quit<br />

Start<br />

Start<br />

Date entered<br />

Confirmed<br />

CHAPTER 8 Requirements<br />

Date<br />

found<br />

Enter expense,<br />

enter payment,<br />

cancel reservation<br />

Fig. 8-14. State diagram for entire B&B problem.<br />

Name entered<br />

Reservation<br />

set

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

Saved successfully!

Ooh no, something went wrong!