Review 6

Use the material in Chapter 4 of the Pfleeger/Atlee book to answer the questions below. Due

  1. Write a textual description of the domain information contained in this class diagram of a subway simulator.
  2. Write a data flow diagram that documents the following description of a problem domain:

    A customer uses a manufacturer’s online shopping website to view the standard configuration of a chosen server, desktop, or portable computer. The price is also shown. A customer can choose to view the details of a configuration, perhaps with the intention of buying it as is or to build a more suitable configuration. The price for each configuration can be computed at the customer’s request. A customer may choose to order the computer online or may request that the salesperson contact him/her to explain order details, negotiate price, etc. before the order is placed. To place the order, the customer must fill out an online form with shipment and invoice address, and with payment details. After the customer’s order has been entered into the system, a salesperson sends an electronic request to the warehouse with details of the ordered configuration. The warehouse obtains the invoice from the salesperson and ships the computer to the customer.

    Note: there is some complexity, ambiguity, and perhaps confusing information in the statement above. This is no different than the types of requests you'll be receiving from your future customers! Be creative and see how much information can be captured about this domain using the data flow diagram notation.

  3. Petri nets can be used to model concurrent activity. Places represent states of a system, transitions represent activities that a system can engage in. Tokens can be used to model the number of instances of a particular resource or simply be used to keep track of where a system is with respect to the activities it can engage in. Use the petri net notation to model the behavior of the FSP process you wrote for question 3.6 of Homework 2. That problem involved modeling the number of people that had entered a museum after it had been open and making sure that all people left the museum after it had closed before allowing the museum to open again. One idiom that may prove useful in modeling this situation is the always full place, that is a place with one token that connects to a transition that feeds back into the place. This can be useful to model the concept of arrival, for instance.

Please submit your work by uploading a .pdf document containing your answers to these questions. Do NOT submit .doc, .docx, .odt, or other document formats.

In-class students: Submit your work for this assignment by 11:55 PM on Sunday, February 24th.

CAETE students: Submit your work for this assignment by 11:55 PM on Sunday, March 2nd.

Kenneth M. Anderson, 2008.