Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Project 4-2 Project 3 – Accumulate Test Score Data with a List Winter 2022 Due: Monday, March 28, 2022 before 11:59pm Read carefully – there are multiple differences between this and Lab 6 Operation •...

1 answer below »

Project 4-2
Project 3 – Accumulate Test Score Data with a List Winter 2022
Due: Monday, March 28, 2022 before 11:59pm

Read carefully – there are multiple differences between this and Lab 6
Operation
• The user enters test scores ranging from 0 to 100 (type Double)
• After all scores are entered, the application computes the average score, the best and worst
scores
• After all scores are entered, display a grade report in a ListBox control
Specifications
• Build your GUI
• Start, Clear and Exit buttons
• ListBox control
• Name with lst prefix
• Make sure it’s large enough to show most data without scrolling
• You MUST change the font to a fixed-width font, such as Courier New. This font is only
to be used inside of the ListBox, not for the rest of the application form.

• Code your application
• Option Strict On.
• Code the Exit and Clear buttons.
• Use the validation functions from Lab 6 and/or the text book (chapter 7)
• Declare a List – type Double – for the test scores
• Create a Sub Procedure (NOT a function) GetScores that is used to input the scores into the
list (not the ListBox)
• Pass the list into the procedure using a ByRef parameter.
• Input each test score from the user using an InputBox.
• Validate each test score by calling the validation functions – not empty, a double,
etween 0 and 100 - using the validation functions
• Instead of entering a grade count to control the number of loop iterations, use an
input flag.
• An input flag is a data value that is outside the range of “normal” data. For example,
some people use -9 as a flag.
• Display this flag value as part of your InputBox message so that the user knows how
to stop data input.
• You must test for this flag value before executing the input validation. If the input
flag value is entered, exit the sub.
• After all scores are entered
• Calculate best and worst scores - there are multiple ways to do this
• Calculate the average score
• Display a grade report, list:
• A report heading
• Column headings
• All grades and their letter grade equivalent (together on one line)
• Use PadLeft or PadRight string methods to right justify numeric grades and left
justify letter grades.
• Number of scores (use a List method for this)
• Highest score
• Lowest score
• Average score
• Use PadLeft or PadRight methods to line up and right justify the number of scores,
highest, lowest and average scores. Include text to explain what they are.
Test program your program! Make sure IsValidData works to catch empty input, non-numeric input and
input outside of the range.
    Project 3 – Accumulate Test Score Data with a List Winter 2022
    Operation
    Specifications
Answered 1 days After Mar 22, 2022

Solution

Aditya answered on Mar 23 2022
100 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here