Stage 2: Design

The second stage: planning the new system, including checks, file structures, forms and layouts.

Key words (25)

systems design, data flow diagram, data entry screen, user interface, validation, validation rule, presence check, length check, range check, limit check, format check, data type check, consistency check, verification, double entry, visual check, file structure, field name, field length, coding of data, character check, check digit, data capture form, screen layout, report layout

Lesson Objectives

What is systems design?

System design includes data flow diagrams which show how data is handled, including where it is to be input and output.
System design includes data flow diagrams which show how data is handled, including where it is to be input and output.

Once there is a clear list of requirements for the new system, it is time to design (or plan) how it will look and work.

It doesn't matter what type of system is being created (e-commerce website, database, payroll etc.); it is important that clear designs are produced.

The designs for the new system have a lot of thought put into them to try to reduce faults and errors at a later stage.

System design includes data flow diagrams which show how data is handled, including where it is to be input and output.
System design includes data flow diagrams which show how data is handled, including where it is to be input and output.

Why are system designs important?

Computer systems are so important to how modern companies work that major issues with them can mean bankruptcy.
Computer systems are so important to how modern companies work that major issues with them can mean bankruptcy.

If the system is built without proper planning, there is a good chance that faults will appear after the system is created.

This would mean that the system would have to be changed in order to correct the faults.

  • This would be very expensive and time-consuming!
  • A failed system could even put a company out of business.
Computer systems are so important to how modern companies work that major issues with them can mean bankruptcy.
Computer systems are so important to how modern companies work that major issues with them can mean bankruptcy.

What is included within system designs?

Data entry screens must be designed to be easy to use. Note the different methods of entering data - text box, check box, drop-down list.
Data entry screens must be designed to be easy to use. Note the different methods of entering data - text box, check box, drop-down list.

Every part of the system is carefully designed and tasks include:

  1. Designing data entry screens - how will data be entered into the system? E.g. text boxes, drop-down menus etc.
  2. Designing user interface layouts - what will the system's menus, search facilities etc. look like?
  3. Designing screen-based outputs - what will outputs that are displayed on the screen look like?
Printed outputs have to be designed to make sure that they are neat and tidy and easy to read.
Printed outputs have to be designed to make sure that they are neat and tidy and easy to read.
  1. Designing printed outputs - what will printed outputs look like? E.g. payslips, customer bills etc.
  2. Designing structures to store data - for database systems, tables will need to be designed to hold the system's data.
  3. Designing data validation methods - how will the system prevent invalid/incorrect data from being entered?
  4. Designing data verification methods - how will the system check that entered data is correct?
Data entry screens must be designed to be easy to use. Note the different methods of entering data - text box, check box, drop-down list.
Data entry screens must be designed to be easy to use. Note the different methods of entering data - text box, check box, drop-down list.
Printed outputs have to be designed to make sure that they are neat and tidy and easy to read.
Printed outputs have to be designed to make sure that they are neat and tidy and easy to read.

Designing file structures

The file (data) structure is designed before the system is built. The designer decides which fields are needed and sets the properties of each field:

  • Field name - a short, meaningful name for each item of data, for example Surname.
  • Data type - the type of data that the field holds, for example text, number or date.
  • Field length - the maximum number of characters that the field can hold.
  • Coding of data - using a short code instead of a full word, for example M for male and F for female. Codes save storage space and make data entry quicker and less likely to contain errors.
Field nameData typeField lengthExample data

Surname

Text

20

Patel

Gender

Text

1

M

Date of birth

Date

10

25/12/2008

Age

Number

2

17

Designing data capture forms

Diagram of a paper data capture form for a student. Labels point to the clear title, the instructions, one box for each letter of the name, and the tick boxes for gender.

A data capture form is a paper form that is used to collect data (for example, from customers) before it is typed into the system. A well-designed data capture form:

  • Has a clear title that says what the form is for.
  • Gives clear instructions, for example "Use BLOCK capitals".
  • Has one box for each character, which keeps the writing neat and shows how long the answer can be.
  • Uses tick boxes for questions with set answers, for example gender.
  • Leaves enough space for each answer.
  • Puts the fields in a logical order, the same as the data entry screen, so the data can be typed in quickly.
Diagram of a paper data capture form for a student. Labels point to the clear title, the instructions, one box for each letter of the name, and the tick boxes for gender.

Designing output formats

Diagram of a report layout. Labels point to the title, the column headings, the total and the page number.

Output formats are designed so that the information is clear and easy to read. There are two main types.

Screen layouts

  • A clear heading that says what the screen shows.
  • Information placed in the same position on every screen.
  • Easy-to-read fonts, with colours that have good contrast.
  • Instructions, menus and buttons that are easy to find.
  • Enough space, so the screen is not crowded.

Report layouts

  • A title that says what the report is about.
  • Clear column headings.
  • Data lined up in columns and rows.
  • Totals where they are needed.
  • The date and page numbers.
  • Company details such as the name and logo.
Diagram of a report layout. Labels point to the title, the column headings, the total and the page number.

Designing system validation

An example of a validation rule in a database that makes sure that users cannot enter negative product price numbers.
An example of a validation rule in a database that makes sure that users cannot enter negative product price numbers.

The computer system will be programmed with a list of these checks that it can use to compare with the data that a user is entering.

  • If the user tries to enter something that does not match up with items on the validation check list, the system will not accept the data.

These checks are often called validation rules.

An example of a validation rule in a database that makes sure that users cannot enter negative product price numbers.
An example of a validation rule in a database that makes sure that users cannot enter negative product price numbers.

An example of a system validation rule

A validation check has shown that a student is too young to book a driving lesson. The system flags up the error.
A validation check has shown that a student is too young to book a driving lesson. The system flags up the error.
This validation check has picked up an error with a gender field. The system is instructing the user that they must enter male or female.
This validation check has picked up an error with a gender field. The system is instructing the user that they must enter male or female.

A driving school booking system example:

  • A validation rule in the system states that learner drivers need to be 17 years or older (>=17).
  • If a user tries to enter a new student's age as 16 the system will not allow the data to be entered and the person will not be able to book driving lessons.
  • An error message is also usually provided which informs the user of the data entry error.
A validation check has shown that a student is too young to book a driving lesson. The system flags up the error.
A validation check has shown that a student is too young to book a driving lesson. The system flags up the error.
This validation check has picked up an error with a gender field. The system is instructing the user that they must enter male or female.
This validation check has picked up an error with a gender field. The system is instructing the user that they must enter male or female.

Examples of different validation checks

Validation checkDescriptionExample

Presence check

Checks that data has been entered and not missed out.

If a user misses out required data, the system will not allow them to progress.

Length check

Checks that the correct number of characters has been entered.

If a date field requires the user to enter 8 digits (dd/mm/yyyy), they must enter all 8 or the system will reject it.

Range check

Performed on numbers (and dates) to check they are within certain ranges.

A person's age should be between 17 and 90.

Limit check

Performed on numbers (and dates) to make sure that data is not above or below a specified limit.

A learner driver's age must be at least 17 (>=17).

Format check

Makes sure that data is in a specific format.

Dates should be entered in the format of dd/mm/yyyy.

Data type check

Checks that the data entered is of the correct type, for example a whole number, text or a date.

Pure number fields (distance, temperature etc.) should not allow for text to be entered.

Consistency check

Makes sure that data in one field is consistent with data in another field.

If 'Male' has been typed into a gender field, the person's title cannot be 'Mrs'.

Character check

Checks that only allowed characters have been entered.

A telephone number field accepts digits only, so letters and symbols are rejected.

Check digit

An extra digit at the end of a number, worked out from the other digits. The computer recalculates it when the number is entered and rejects the number if the digits do not match.

The last digit of a barcode or a book ISBN is a check digit, so a mistyped number is detected.

Designing system verification

Data entered into a system must be checked (verified) as being correct.
Data entered into a system must be checked (verified) as being correct.
  • Imagine that data about employees (addresses, phone numbers etc.) is being entered into a computer system by typing in information found on a printed form that each employee filled in.
  • The data in the system must be identical to the data on the printed forms or there could be problems if an employee needs to be contacted at home at a later date.
Data entered into a system must be checked (verified) as being correct.
Data entered into a system must be checked (verified) as being correct.

There are two kinds of system verification checks

Verification checkDescription

Double entry

This is where data is entered twice, sometimes by two different people.

The computer compares the two entries and lets the user know if it finds any differences.

NOTE:

Double entry is often used when you set up online accounts. You are often asked to enter your choice of password twice to make sure that you haven't pressed an incorrect key by mistake.

Visual check

This is where the person entering data into the computer system carefully reads through what they have entered and compares it to the data in the original document.

Verification check images

Double entry

Registering new accounts often requires you to enter a password twice. This makes sure that the user makes no accidental typing errors.
Registering new accounts often requires you to enter a password twice. This makes sure that the user makes no accidental typing errors.

Visual check

Visual checks of data require the user to carefully check what they have entered into the system against what was on the original document.
Visual checks of data require the user to carefully check what they have entered into the system against what was on the original document.

End of the topic

You've completed the topic: lesson 3 of 8 published in this unit, and already 40% of the way through. Keep it up!

40%

When you are ready, click the Next button below to move on to Stage 3a: Development.