Академический Документы
Профессиональный Документы
Культура Документы
Symbols used
Only four basic symbols are used, as shown below.
Process -an operation performed on the data. The two lines are
optional; the top section of the box can be used to label the
process,
the middle to give a brief explanation, and the bottom to say
where
the process takes place.
Data store - this could, for example, represent a file held on disk or
magnetic tape, a batch of input documents or a report.
When drawing data flow diagrams, you should stick to the following conventions:
• do not draw data flow lines directly between data stores and external entities;
there should be a process box between them to show the operation performed
• label the data flow lines so lhal it is clear what data is being transferred.
U39 DFD 1
Example: The payroll system in a certain company may be described as follows:
At the end of each week time sheets are collected and sent to the computer centre. There,
the payroll data is entered via a key-to-disk system, verified and validated, producing a
new file of valid transactions on disk and an error report. This file is used to update the
employee master file, and cheques and payslips are printed. A payroll summary is also
printed for the Accounts Department.
Solution: Note that different levels of data flow diagram are often used. A 'top level'
diagram could be drawn as follows:
Payroll summary
data Accounts Dept
The diagram can be broken down into greater detail (see over page)
U39 DFD 2
Weekly transactions
Employee no,
hours worked,
batch control
employee Employee No, totals
hours worked
Employee no,
hours worked
Batch time employee
sheets
Employee no,
hours worked Employee no,
Print
pay, tax,etc.
paycheque &
payslips
Each employee:
Employee nos, pay,
tax, etc
Employee no, Totals: pay, tax,etc
pay, tax,etc.
employee
Accounts
Section 5 — Systems Development dept
U39 DFD 3
Exercises:
1. A small company makes and sells pencils. Tie company is oiganised into six
departments:
(a) Produce an annotated diagram showing bow infacmation flows between the various
departments in the company, clearly indicating the direction of flow. (6 marks)
(b) The following applications of computing could be implemented in this company:
• a stock control system
• a financial accounting system dealing with paymenis to suppliers
• a production scheduling system.
(i) State four advantages of storing the data required for these applications in a
relational database rather than in separate files. (4 marks)
(ii) Describe an appropriate way of organising the data within the relational
database. (5 marks)
(a) Describe the record structures of the required files in terms of the nature and size of
their data items. Explain how the Files could be linked. (6 marks)
(b) Explain, with the use of a systems flowchart or otherwise, how a computer-based
system could manage the wholesaler's requirements. (6 marks)
(c) Briefly describe three ways in which the wholesaler could use a computer-based
system other Bian to eliminate the problems listed above. (3 marks)
U39 DFD 4
3. A school is considering implementing a software package to assist in the clerical
aspects of producing its timetable. It is intended that the software will check a proposed
timetable to identify clashes and, when a clashes have been removed, will print
timetables in appropriate formats. This will include the full timetable for the school and
individual timetables for each teacher (showing which classes are taught, when and
where) and for each room (showing which class and teacher are using that room in each
of the 40 periods of the week). Class timetables and timetables for specialist groups
within the fourth, fifth and sixth forms will also be needed.
(a) Describe the data which would be needed and how it could be organised in the
package. (8 marks)
(b) Discuss how the package could be designed as a collection of modules and how each
module would integrate with the other modules. (6 marks)
(c) Indicate clearly the flow of data from input to output throughout the system(5 marks)
U39 DFD 5