Questions and Solutions To Semester 2 Questions
Questions and Solutions To Semester 2 Questions
Question 1
PublicClass Form1
Question 2
• 0 to 8 - $2 per hour
• 12-15 - $3,00 per hour using a function, catch any errors that may
present
solution
PublicClass Form1
Question 3
Question 4
EndSub
EndClass
Question 6
Write a VB.NET program that calculates an average mark for a student, for 6
subjects, and displays it on the message box. Draw a diagram showing the
interface for capturing the marks. Your program should utilize this interface.
[15]
PublicClass Form1
EndClass
Question 7
EndIf
Next
con.Close()
EndSub
Errors on this program it does not loop for three times (yet!)
Question 8
Write a VB.net program that takes values from an array of five numbers and
shows the values greater than 10
OR
.
.
.
Label1.Text = Label1.Text & " , " & Arr(i)
.
.
Question 9
Write a VB.net program that calculates the triangular of number, employ the
use of the Try Catch statement
Question 10