In: Computer Science
Given the following specification for a Web-based order processing system for a computer store. “A new user can connect to the company’s web page and create a new customer profile by providing personal information. This information will be validated and saved in a customer information file at the company’ s server. The user is then provided with a user id and password via an email sent by the system. Using the provided password, the user can then logon to the system and place an order. The user can also delete or update an order within a certain time after placing the order. In all cases, the system will verify the transaction and act accordingly. If the transaction is not allowed (e.g., deleting after the deadline) the user is informed. Before accepting the transaction, the system checks the customer information file for credit check and the inventory file for availability. If the ordered item is not available, the system will ask the user whether to keep the order in a back order file, otherwise the order is discarded. If the product is available, the inventory and customer information files are updated accordingly. The ordered product is delivered along with a bill, and the accounting file is updated. Once the payment is received, the accounting file and the customer information files are updated accordingly. From time to time, the system administrator send emails to customers informing them about special deals …”. Draw Data Flow Diagrams at all levels.
The Data Flow Diagrams for a Web-based order processing system for a computer store are drawn below-
1. 0-level DFD:
It is also known as context diagram. It’s designed to be an
abstraction view, showing the system as a single process with its
relationship to external entities. It represent the entire system
as single bubble with input and output data indicated by
incoming/outgoing arrows.
2. 1-level DFD:
In 1-level DFD, context diagram is decomposed into multiple
bubbles/processes.in this level we highlight the main functions of
the system and breakdown the high level process of 0-level DFD into
subprocesses.
3. 2-level DFD:
2-level DFD goes one step deeper into parts of 1-level DFD.It can
be used to plan or record the specific/necessary detail about the
system’s functioning.