I have been asked to design a system for the United Kingdom Awarding Body (UKAB), an imaginary exam board. This system is going to be used for the monitoring of its post-examination re-marks.

Authors Avatar

Introduction:

I have been asked to design a system for the United Kingdom Awarding Body (UKAB), an imaginary exam board. This system is going to be used for the monitoring of its post-examination re-marks.

System Specification:

The system specification needs to store the following data:

  • Candidate name
  • Candidate number
  • Centre number
  • Subject Reference Code
  • Original mark
  • Re-mark mark
  • Whether the centre requested the return of the script

It was also necessary to store the grade boundaries for each of the subjects. For the system I was asked to build the following table was provided for the grade boundaries of each subject:

The system needed to be able to produce hard copies of the following:

  • A daily list of any re-marks completed where a mark change has affected the grade;
  • A daily list of any re-marks still outstanding, i.e. that have not been completed within a three-week period;
  • A list of re-marks that have been requested for a particular subject;
  • A list of re-marks that have been requested from a particular centre.

The system also needed to be able to produce documents which could be returned to the centre giving the results of the re-marking. The document needed to show the UKAB logo and also the following details:

  • Centre number (integer)
  • Candidate name (string)
  • Candidate number (integer)
  • Subject Reference Code (integer)
  • Original Mark (integer)
  • Original Grade (text)
  • Either the re-mark mark and grade, if changed, or a sentence to say that there has been no change (integer/text)

Processes:

The user of the system would need to be able to carry out the following processes:

  • Record information about candidates
  • Amend/delete information about candidates
  • Record re-marks
  • Query so as to obtain the information for the hard copies which I listed above.

Firstly I needed to use the data requirements to start to design the entities and attributes that I would use in the system. Following is a brainstorm of the ideas I used to come to the first draft of the entities and attributes:

Initial Entities:

After this brainstorming I decided to start with the following 3 entities:

Candidate(Candidate Name, Candidate Number, Centre Number, Subject Reference Code, Original Mark, Re-mark mark, Requested)

Subject (Subject Reference Code, A, B, C, D, E)

Centre (Centre Number, Centre Name, Centre Address)

Where the underlined attributes represent the primary keys within each entity. In the candidate entity I decided to use both candidate number and also centre number as a joint primary key as candidate numbers were only unique to their centre. This would mean that there could be multiple candidates with the same candidate number; however the candidate number and centre number combined would always be unique. For the subject entity, subject reference code was the only sensible primary key as it was the only unique attribute in the entity. Centre Number is both a primary key in the centre entity and also a foreign key in the candidate entity. Another foreign key in this initial model is subject reference code in the candidate entity.

Data Types:

Candidate Name: text: 20

Candidate Number: integer

Centre Number: long integer

Subject Name: text: 15

Subject Reference Code: long integer

Original Mark: integer

Original Grade: text: 1

Re-mark Mark: integer

Re-mark Grade: text: 1

A: integer

B: integer

C: integer

D: integer

E: integer

Centre Name: text: 20

Centre Address: 200

For each of the field I altered the length of each field appropriately. I did this by either switching from long integer to integer, or changing the maximum number of characters in each field. In this way I was able to save on the space that the database used. Following is the reasons for choosing the data types for some of the fields I used in the database:

Join now!

Candidate Name: I limited the field length to 20 characters as this would be long enough to cater for any name but yet saves space as less space has to be set aside for each record.

Candidate Number: as candidate number is only 4 digits long there would be no way in which it would exceed the maximum length an integer would provide. Therefore I chose to decrease the field length to integer so as to save space.

Centre Number: I was not able to decrease the size of this field as Centre Number is a 5 ...

This is a preview of the whole essay