DFD Tutorials
DFD Tutorials
Exercises
.
Exercise 1
Draw a data flow diagram that shows the appropriate details for this
point4of4sales system:
Grocery store checkers at Big Bob’s Supermarket use a scanner that reads
universal product bar codes (UPC). The bar code for each purchase is
translated by the special4purpose computer (the cash register), accessing
a product file. This translation triggers a voice output of the price. The
product type and the price of each purchase are stored in a file to be
used in printing the receipt. After all purchases have been scanned, a
receipt is produced and given to the customer.
Exercise 2
A fifth grade class uses a simple word processing program to
create the class newspaper. Every month the teacher makes a list
of different topics. Each student writes an article on one of the
topics and stores it on his or her own floppy disk. Students read
and edit one another’s article files. A final version of each of the
articles is then created. These individual master copies are cut
and pasted by the newspaper editor to produce the paper. Copies
are then made and distributed to the entire school.
Exercise 3
Draw a data flow diagram for the check cashing process for First
National Bank,showing all the appropriate details:
Exercise 4
Draw a data flow diagram for recording, analysing, and reporting
the experimental work with flowers at Fancy Flowers Seed
Company. Show all theappropriate details.
Experimenters at Fancy Flowers Seed Company record flower colors
for new hybrids. The experimenters tally colors on a clipboard while
walking down rows of plant boxes. After observations have been
completed, each of the three experimenter keys in tally totals on
the company’s single computer for later analysis. At the end of the
day, the senior experimenter runs a program to create a daily
experiment report and an updated summary report on the current
experimental work for herself. Past information is taken from the
hybrid master file for this report; results stored in the file are also
updated bythe analysis program.
Exercise 5
After a school orders copies of educational software, Peter Sargent’s
first step is to update his school client master file. Once the updating
is complete, he runs a program to create a summary report of the
updated school client master. His summary report goes in his
business records folder. Draw a data flow diagram for Peter’s record-
keeping process for educational software, showing all the
appropriate details.
Exercise 6