Purchase Solution

Average Test Score

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.