Question

In: Computer Science

1.- Explain what a class is in Visual Basic. 2.- Explain what a method is in...

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?

Solutions

Expert Solution

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.


Related Solutions

This is in C# on visual Basic Write a base class that has two property members:...
This is in C# on visual Basic Write a base class that has two property members: name and contact and one method member: CalculateFinalGrade(). must be an Abstract class method must be by its child class. (1 point) For example, Student {                 Property: StudentName                 Property: Contact                 Method: CalculateFinalGrade() } Write two child classes and , both of which inherit and implement any abstract member. needs a property for Quiz score and implements CalculateFinalGrade() to calculate final the...
Visual Basic Your first job is to create a visual basic project that will display the...
Visual Basic Your first job is to create a visual basic project that will display the name and telephone number for the contact person for the customer relations, marketing, order processing, and shipping departments. Include a button for each department. When the user clicks on the button for a department the program(in code for specific button will display the name and telephone number for the contact person in two labels. The same two labels will be used for each department...
windows forms Application using Visual Basic use visual basic 2012 Part 1: Programming – Income Tax...
windows forms Application using Visual Basic use visual basic 2012 Part 1: Programming – Income Tax Application 1.1 Problem Statement Due to upcoming end of financial year, you are being called in to write a program which will read in a file and produce reports as outlined. Inputs: The input file called IncomeRecord.txt contains a list of Annual income records of employees in a firm. Each record is on a single line and the fields are separated by spaces. The...
1. Describe and explain the basic steps in a money laundering cycle 2. What are the...
1. Describe and explain the basic steps in a money laundering cycle 2. What are the two major ways to sue in civil courts? Explain the differences 3. Explain the Frye standard. 4. Discuss what is meant by the discovery process.
how can i convert this to work in visual basic ? what are the formulas for...
how can i convert this to work in visual basic ? what are the formulas for that? You must create a Windows Forms application as the Conversion project including a picture of money on your form.  Create a textbox for the user to entry a dollar amount. Determine the number of quarters, dimes, nickels, and pennies using label controls to display the results.  In your calculation, you should use constant variables. ex) Enter dollar amount for conversion of 4.69 Number...
1) Textbook Review Question (2 pt.) What is the most basic method of determining stellar distances?...
1) Textbook Review Question (2 pt.) What is the most basic method of determining stellar distances? EXPLAIN the method! 2) Textbook Review Question (2 pt.) Explain the difference between a star’s apparent and absolute magnitudes. Which one is an intrinsic property of a star? 3) Textbook/Lecture Review Question (2 pt.) What information about a star can be determined from its color? Give an example. 4) Textbook Review Question (8 pt.) Enumerate in as much detail as you can, the steps...
1.What is a good decision?2. What are the basic rules for good decision making?explain...
1. What is a good decision?2. What are the basic rules for good decision making? explain3. What are ways in which information is gathered when making a good decision?4. What are ways in which the information is used once it is gathered?
Windows Forms application using Visual Basic: Create a class called Character that a role-playing game might...
Windows Forms application using Visual Basic: Create a class called Character that a role-playing game might use to represent a character within the game. A character should include six stats as instance variables – strength, dexterity, constitution, intelligence, wisdom and charisma (all types are int). Your class should have a constructor that initializes these six instance variables. Provide Properties with an appropriate set and get block for each instance variable. In addition, provide a method named getStatsTotal that calculates the...
1. What is the audit risk model? 2. Identify and explain the 3 basic components of...
1. What is the audit risk model? 2. Identify and explain the 3 basic components of audit risks in the audit risk model. Please post 1 page.
As a group of engineers with basic Visual Basic skills, you are asked to provide your...
As a group of engineers with basic Visual Basic skills, you are asked to provide your client with a user-friendly macro-enabled Excel spreadsheet that can be used to calculate the deflection and bending moment of a simply supported beam and a cantilever beam. The spreadsheet will provide a user-friendly interface to allow the client to: i) define the type of beam (i.e. a simply supported beam or a cantilever beam); ii) define cross sectional properties of a given beam structure;...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT