P5 ! Micheal
P5 ! Micheal
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.
PROPERTIES:
CODE AND IMPLEMETATION OF PROGRAM:
Public Class Form1
Dim PassUnitPoints As Integer
Dim MeritUnitPoints As Integer
Dim DestinctionUnitPoints As Integer
Dim GradeBoundaryPoints As Integer
Dim UCASPass As Integer
Dim UCASMerit As Integer
Dim UCASDestinction As Integer
Dim UnitCounter As Integer
Friend PMin As Integer
Friend PMax As Integer
Friend PPMin As Integer
Friend PPMax As Integer
Friend PPPMin As Integer
Friend PPPMax As Integer
Friend MPMin As Integer
Friend MPMax As Integer
Friend MPPMin As Integer
Friend MPPMax As Integer
Friend MMPMin As Integer
Friend MMPMax As Integer
Friend MMin As Integer
Friend MMax As Integer
Friend MMMin As Integer
Friend MMMax As Integer
Friend MMMMin As Integer
Friend MMMMax As Integer
Friend DMin As Integer
Friend DMax As Integer
Friend DMMin As Integer
Friend DMMax As Integer
Friend DMMMin As Integer
Friend DMMMax As Integer
Friend DDMMin As Integer
Friend DDMMax As Integer
Friend DDMin As Integer
Friend DDMax As Integer
Friend DDDMin As Integer
Friend DDDMax As Integer
Friend Condition As Integer
End Sub
End Sub
End Class
TESTING
TEST TEST DATA EXPECTED ACTUAL TEST RESULT
USED OUTPUT OUTPUT
CmdPass Allows user to Allowed user Works correctly
enter amount of to enter pass
pass grades grades
CmdMerit Allows user to Allowed user Works
enter amount of to enter merit
merit grades grades
CmdDistinctio Allows user to Allowed user Works
n enter amount of to enter
distinction grades distinction
grades
TrBStatus Shows status of Showed status Works
grade of grade
CmdCalculate Calculates user’s Calculated Works
total grades users total
grades
NOTE SAVER
The purpose of this program is to allow students to take down their own notes while in
class.
PROPERTIES:
CODE AND IMPLEMETATION OF PROGRAM:
Public Class Form1
Dim TheDate As DateTime
Dim TheTime As DateTime
Dim theResponse As String
End Sub
End Class
TESTING