Вы находитесь на странице: 1из 4

IS SANDES

DFD

1. Pizza House wants to install a CUSTOMER ORDER SYSTEM (COS) to record orders for pizza
and spaghetti. There are 7 processes included:
Add Customer Record, Find Customer Record, Take Customer Order,
Print Customer Receipt, Deliver Customer Order, Send Order to Cook, and Print Weekly Totals.

The detail activities are as follows.


(a) When regular customers call Pizza House in the phone, they are asked their phone
number. When the number is input, the customer information (name, address, and
last order date) automatically brought up on the screen.
(b) Once the customer order is taken, the total amount , including tax and delivery, is
calculated.
(c) Then the customer order is given to the cook.
(d) A customer receipt is printed. Occasionally, special offers (coupons) are printed so the
customer can get a discount. Drivers who make deliveries give customers a copy of
the receipt and a coupon (if any). Weekly totals are kept for comparison with last
years performance.
(a). Draw a context diagram for Pizza House.
(b). Draw a diagram 0 (logical DFD) from (a).
you may add the entities, data flows and data stores that have not been mentioned above
yourself.

IS SANDES
DFD

2. The Limon Car Rental Agency has a Car Rental System. It rents cars to customers at the
airport. The customers can reserve, rent, and return a car in the agency.
Reserve Car
i)
To reserve a car, a customer provides his own personal information and gives the
information of his most favorite car to the agent.
ii)
The agent checks for the availability of that car from the Car Master.
iii)
If the car is available, the car record is updated in the Car Master, a customer record and a
reservation record are created in the Customer Master and the Reservation File respectively. A
reservation no. is given to the customer.
Rent Car
i) When a customer arrives to the agency counter at the airport, he is first asked for the reservation
number if the reservation was made before.
ii) Then, the reservation record is retrieved from the Reservation File. If no reservation was made,
the customer provides the information of his most favorite car and the availability of the car is
checked.
iii) If the car is available, his own personal information is stored in the Customer Master, the Car
Master is updated, and then, the agent creates a rental contract and stores a record in the Rental
File.
iv) Next, the customer signs the contract to confirm the rental, and pays for the rental fee.
v) The payment is sent to the Account Department.
vi) The copy of the rental contract, a payment receipt, and the car key is given, and the customer
picks up the car in the car park.
Return Car
i) When a car is returned from the customer, the Rental Master and the Car Master are updated,
and it is sent to Service Centre for checking.
ii) Technicians in the centre check the status of the car and prepare it for the next rental.
iii) If it is in good condition, the checked car is sent back to the agency.
According to the above description, draw: A Context Diagram, and A Level-0 diagram for the Car
Rental System.

IS SANDES
DFD

IS SANDES
DFD

Explain this DFD

Вам также может понравиться