Lab Assignment 5
Lab Assignment 5
Function oriented software design: Structured analysis and Structured design with DFDs
and Structure charts:
Design the level 0 level 1 and level 2 Data flow diagrams for the case studies given in Q.1.
and Q.2.
Q. (1) Estate Agency case study Clients wishing to put their property on the market visit the estate
agent, who will take details of their house, flat or bungalow and enter them on a card which is filed
according to the area, price range and type of property.
Potential buyers complete a similar type of card which is filed by buyer name in an A4 binder.
Weekly, the estate agent matches the potential buyer's requirements with the available properties and
sends them the details of selected properties.
When a sale is completed, the buyer confirms that the contracts have been exchanged, client details are
removed from the property file, and an invoice is sent to the client. The client receives the top copy of a
three part set, with the other two copies being filed.
On receipt of the payment the invoice copies are stamped and archived. Invoices are checked on a
monthly basis and for those accounts not settled within two months a reminder (the third copy of the
invoice) is sent to the client.
Q. (2) A trading house wants us to develop a computerized system that would automate various
bookkeeping activities associated with its business. The following are the salient features of the system to
be developed: The trading house has a set of regular customers. The customers place orders with it for
various kinds of commodities. The trading house maintains the names and addresses of its regular
customers. Each of these regular customers should be assigned a unique customer identification numbe r
(CIN) by the computer. The customers quote their CIN on every order they place.
Once order is placed, as per current practice, the accounts department of the trading house first checks the
credit-worthiness of the customer. The credit-worthiness of the customer is determined by analyzing the
history of his payments to different bills sent to him in the past. After automation, this task has be done by
the computer.
If a customer is not credit-worthy, his orders are not processed any further and an appropriate order
rejection message is generated for the customer.
If a customer is credit-worthy, the items that he has ordered are checked against the list of items that the
trading house deals with. The items in the order which the trading house does not deal with, are not
processed any further and an appropriate apology message for the customer for these items is generated.
The items in the customer’s order that the trading house deals with are checked for availability in the
inventory. If the items are available in the inventory in desired quantity, then
: – A bill is with the forwarding address of the customer is printed.
– A material issue slip is printed. The customer can produce this material issue slip at the store house and
take delivery of the items.
If any of the ordered items are not available in the inventory in sufficient quantity to satisfy the order,
then these out-of-stock items along with the quantity ordered by the customer and the CIN are stored in a
“pending-order” file for further processing to be carried out when the purchase department issues the
“generate indent” command.
The purchase department should be allowed to periodically issue commands to generate indents. When a
command to generate indents is issued, the system should examine the “pending-order” file to determine
the orders that are pending and determine the total quantity required for each of the items. It should find
out the addresses of the vendors who supply these items by examining a file containing vendor details and
then should print out indents to these vendors.
The system should also answer managerial queries regarding the statistics of different items sold over any
given period of time and the corresponding quantity sold and the price realised.
Q.3 Design the structure charts for case studies given in Q.1 and Q.2
Q.4. Design the data dictionaries corresponding to case studies given in Q.1 and Q.2