In: Computer Science
1.- Explain what a class is in Visual Basic.
2.- Explain what a method is in Visual Basic.
3.- What is the average formula?
4.- What is the variance formula?
5.- What is the standard deviation formula?
1.- Explain what a class is in Visual Basic.
A class is used to define the variables, procedures, properties, and events and it is defined by using the Class keyword and
The below code is an example of Visual Basic class:
Class Student
Private StudentId As String
Private StudentName As String
Public Age As Integer
End Class
2.- Explain what a method is in Visual Basic.
A method is a procedure which is associated with class and an object perform an action by using a method. The behavior of a method is defined by using method.
3.- What is the average formula?
We have no formula for average calculation in Visual Basic. To calculate the average of numbers in Visual Basic, we will do the sum all values and divide the sum by the total number of values.
4.- What is the variance formula?
We have no formula for variance in Visual Basic, we can calculate the variance by using mathematic formula.
5.- What is the standard deviation formula?
We have no formula for standard deviation in Visual Basic, we can calculate the standard deviation by using mathematic formula.