Académique Documents
Professionnel Documents
Culture Documents
The purpose of this program is to calculate the overall grade of a student and also how
many UCAS points they have achieved. There are three buttons of the achievable
grades, pass merit or distinction, the students receive twelve overall grades and they
simply click on the relevant buttons in order to find out their overall grade and UCAS
points. This program also has an intro screen which allows the user to first choose
their course which includes: BTEC first certificate, BTEC national award and BTEC
national diploma. Below is a screenshot of the layout of the intro screen and the form:
Rahman Malik
As you can see above is the layout of my intro screen and form. The form consists of
seven labels, four buttons and a status bar. I will now provide a screenshot of the
properties of this form below:
Rahman Malik
Above are the properties of the form. I will now describe some of its properties in
more detail and explain what I have declared them as.
Below I will provide you with the actual program code then go on to discuss what
variables were declared and why:
UCASPass = UCASPass + 1
UnitCounter = UnitCounter + 1
TrBStatus.Value = TrBStatus.Value + 1
If TrBStatus.Value = 12 Then
CmdPass.Enabled = False
CmdMerit.Enabled = False
CmdDistinction.Enabled = False
End If
UCASMerit = UCASMerit + 1
UnitCounter = UnitCounter + 1
TrBStatus.Value = TrBStatus.Value + 1
If TrBStatus.Value = 12 Then
CmdPass.Enabled = False
CmdMerit.Enabled = False
CmdDistinction.Enabled = False
End If
GradeBoundaryPoints = GradeBoundaryPoints +
DistinctionUnitPoints
UCASDistinction = UCASDistinction + 1
UnitCounter = UnitCounter + 1
TrBStatus.Value = TrBStatus.Value = 1
If TrBStatus.Value = 12 Then
CmdPass.Enabled = False
CmdMerit.Enabled = False
CmdDistinction.Enabled = False
End If
End If
End Sub
End Class
Above is the actual program code for my application and I will now explain what
variables I have declared:
Above are the declared variables for my application. The reason these variables are
declared is because they are used to store values. These values will then be used
throughout my code as can be seen in my actual program code. Without these
variables my code will then end up with errors and the program not working.
Rahman Malik
I will now represent a testing table and this to ensure that all my buttons etc do what
they are supposed to be doing. The testing table will consist of the following
headings:
• Test
• Test Data Used
• Expected Output
• Actual Output
• Test Result