| Payroll | ||
| At the end of each pay period, a business needs to pay its
employees.
A payroll system uses a computer to calculate the wages of each employee, print out pay-slips and record the information for accounting purposes. Input : This may come from ...
Process : The computer needs to calculate ..
Output : The computer would need to ..
|
Validation : A range check could be used on the number of hours worked. |
|
|
|
A pay-slip - some parts are pre-printed and some are printed by the computer when the payroll system is run. | |
| A Payroll system is usually run as a batch
processing system. Data may be entered for a number of
departments or branches of a company and then the processing is done
when all the data has been collected.
As there is no urgency for the output, the payroll processing may be run at off-peak times (eg overnight).
|
||
| The database of the employees and the time sheets will
need to be kept secure from unauthorised
access. (Employees must not be able to alter their data!)
|
||
| The employee database is updated in the payroll process. A
backup copy of the database is made
before this is done.
The new database is called the 'son' and the backup is the 'father'. Previous generations of backups are referred to as 'grandfather' etc...
|
This system of keeping generations of files is needed in case there is a problem when the payroll is run or if the file is corrupted. The files can then be re-created. | |