Professional Documents
Culture Documents
Program Documentation
Submitted by: [replace this with your name]
Submitted to: [replace this with the name of your teacher]
Average Grade
Problem Definition
Program Description:
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________.
IPO Chart:
Algorithm:
1. Hierarchy Chart
User Interface design.
Input First
Second
Third
Fourth
IPO IPO Value Control Properties Value
Components
Process
Output Average
Program Code
Public Class frmU3L2Activity01
Private Sub btnCompute_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnCompute.Click
gr1 = txtFirst.Text
gr2 = txtSecond.Text
gr3 = txtThird.Text
gr4 = txtFourth.Text
End Sub
Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnClear.Click
txtFirst.Clear()
txtSecond.Clear()
txtThird.Clear()
txtFourth.Clear()
txtAverage.Clear()
End Sub
End Class
Test Data
1. Valid Data
The program accepts only numeric data.
2. Invalid Data
The program does not accept alphabetic and alphanumeric
characters. The following errors will be encountered when
null and alphanumeric values are entered.
Input Error
null InvalidCastException
alphanumeric values InvalidCastException