Abdul Ali
UCAS Calculator
This program is designed to calculate the total UCAS points over two years for a
Btec national certificate.
Unit 20 Assignment 3
Abdul Ali
All the three calculators have the came coding only the code behind the
calculate button as award, diploma and certificate are not calculated the same.
Unit 20 Assignment 3
Abdul Ali
Award calculator:
Else
LblGrade.Text = "Overall Grade: Fail"
End If
End Sub
Diploma calculator:
Private Sub CmdCalculate_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CmdCalculate.Click
If GradeBoundaryPoints >= PPPMin And GradeBoundaryPoints <= PPPMax Then
LblGrade.Text = "Overall Grade: PPP"
LblPoints.Text = "120 UCAS Points"
ElseIf GradeBoundaryPoints >= MPPMin And GradeBoundaryPoints <= MPPMax
Then
LblGrade.Text = "Overall Grade: MPP"
LblPoints.Text = "160 UCAS Points"
ElseIf GradeBoundaryPoints >= MMPMin And GradeBoundaryPoints <= MMPMax
Then
LblGrade.Text = "Overall Grade: MMP"
LblPoints.Text = "200 UCAS Points"
ElseIf GradeBoundaryPoints >= MMMMin And GradeBoundaryPoints <= MMMMax
Then
LblGrade.Text = "Overall Grade: MMM"
LblPoints.Text = "240 UCAS Points"
Certificate calculator:
ElseIf GradeBoundaryPoints >= DMMMin And GradeBoundaryPoints <= DMMMax
Then
Private Sub CmdCalculate_Click(ByVal sender As System.Object, ByVal e As
LblGrade.Text = "Overall Grade: DMM"
System.EventArgs) Handles CmdCalculate.Click
LblPoints.Text = "280 UCAS Points"
If GradeBoundaryPoints >= PPMin And GradeBoundaryPoints <= PPMax Then
ElseIf GradeBoundaryPoints >= DDMMin And GradeBoundaryPoints <= DDMMax
LblGrade.Text = "Overall Grade: PP"
Then
LblPoints.Text = "80 UCAS Points"
LblGrade.Text = "Overall Grade: DDM"
ElseIf GradeBoundaryPoints >= MPMin And GradeBoundaryPoints <= MPMax
LblPoints.Text = "320 UCAS Points"
Then
ElseIf GradeBoundaryPoints >= DDDMin And GradeBoundaryPoints <= DDDMax
LblGrade.Text = "Overall Grade: MP"
Then
LblPoints.Text = "120 UCAS Points"
LblGrade.Text = "Overall Grade: DDD"
ElseIf GradeBoundaryPoints >= MMMin And GradeBoundaryPoints <= MMMax
LblPoints.Text = "360 UCAS Points"
Then
Else
LblGrade.Text = "Overall Grade: MM"
LblGrade.Text = "Overall Grade: Fail"
LblPoints.Text = "160 UCAS Points"
End If
ElseIf GradeBoundaryPoints >= DMMin And GradeBoundaryPoints <= DMMax
End Sub
Then
LblGrade.Text = "Overall Grade: DM"
LblPoints.Text = "200 UCAS Points"
ElseIf GradeBoundaryPoints >= DDMin And GradeBoundaryPoints <= DDMax
Then
LblGrade.Text = "Overall Grade: DD"
LblPoints.Text = "240 UCAS Points"
Else
LblGrade.Text = "Overall Grade: Fail"
End If
End Sub
Unit 20 Assignment 3
Abdul Ali
When I first made my UCAS calculator I had made all the forms and for some
reason my main menu when I click on e.g. award calculator it would take me
there but non of the buttons would work and the codes where right so there for I
decided to remake my calculator and here are some screen shoots of how my old
calculator and new one look like.
Unit 20 Assignment 3
Abdul Ali
My first ucas calculator I added an exit button as you can see and for the
calculators I added a back button and a reset button as I found it difficult to re
used the calculator so I added a reset button but then I released that someone
might of picked the wrong calculator and there for I added a back button.
I also added some design to it to make it more professional and also added the
college logo as it makes it more eyes catchy.
BEFORE AFTER