Write down a program that computes an average score

Assignment Help Computer Engineering
Reference no: EM1332865

Design and write a program that computes an average score for a class's scores on a test in VB. The application will have 2 forms. The first will include a 2 column list and two buttons. The application should allow a user to enter scores until a blank student name is entered.

On the first form use a list view control along with 2 button controls. On the second form use a textbook control, a numeric up and down control and a button control.

Set the view property value of the listview control to details and the multiselect property to true.

Write an event procedure for the listview controls keydown event to tell the application to delete all selected records when the user presses the D key.

Write an event procedure for one of the buttons that computes the average of all scores in the listview control. The result should be displayed in a message box along with the number of scores included in the calculation. Use a For....Next loop to loop through each item in the listview control. Separate the output values in the massage box with at least one linefeed.

Write a listviewcontrol event procedure to allow the user to edit the item that is first selected. If the user presses the E key while an item is selected, the data entry form should display, with the items contents populating the input controls in the data entry form. When the user presses the OK button, the items contents should update in the ListView control.

Reference no: EM1332865


Write a Review


Computer Engineering Questions & Answers

  Sketch quality is an elusive concept

sketch quality is an elusive concept. Quality depends on specific organizational priorities: a 'good' design may be the most efficient, the cheapest, the most maintainable, the most reliable, etc.

  Program on string representing

Program on  string representing

  Entity-relationship diagrams

Develop an entity relationship diagram for the case, stating any assumptions you seem as essential.

  Create an application that declares objects of each kind

make a Building class and two subclasses, House, and School. The Building class contains fields for square footage and stories. The House class contains additional fields for number of bedrooms and baths.

  Regulating the content of internet

Specify to what extent there should be regulation of the content on the Internet, if at all? State the factors and principles the federal government must take into account when considering the indecency regulation issues.

  Choose decision support systems (dss) function

You are developing a new information system for The Fitness Center, company that has five fitness centers in your metropolitan area, with about 650 members and 30 employees in each location.

  Define how each type compromises a system

define how each type compromises a system. How can these different types of malware be stopped.

  What is the dissimilatries between rfp and rfq

What is the dissimilatries between an RFP and an RFQ? Are they different, or the same? How does RFI associated to them

  Advantages of frame delay-atm-ethernet mans

On the basis of the current offerings for frame delay, ATM, and Ethernet MANs, explain the relative advantages of each.

  How to display the largest and smallest amount of tax

Ask users for the past 5 years of federal taxes they have paid, save this data to an array, search for the largest and the smallest amount of tax, and show it on the screen.

  What is the network

explain the main types of networks.

  Design an application that instantiates five clients

The law firm of Howard, Fine and Howard wants to develop two classes- a Client class that holds data about the firm's clients and an attorney class that holds data about each of attorneys who work for the firm.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd