Cs Theory
Cs Theory
- Verification is appropriate to check that the data does not change as it is being
entered.
- Verification is used to ensure that data has been accurately copied from one
source to another
- Visual check
- Use – the user looks through the data that has been entered and confirms that
no changes
- Double data entry
- Use – data is entered twice, the two entries are compared and if they do not
match, a re-entry is requested
- ensuring that all identifiers have meaningful names. For example, using Total to
store a running total
- using comments to explain how the program works. For example, // all values are
zeroed before the next calculation
- using procedures and functions for the tasks within a program. For example,
CalculateInterest(Deposit, Rate)