Question
Programming language Visual C# (C# - similar in syntax to Java, Your form accepts six inputs from the user, all of them being information about
Programming language "Visual C# (C# - similar in syntax to Java,"
Your form accepts six inputs from the user, all of them being information about individual students in a class. The first input is the students name. The next three are homework scores, each score being out of 50. The last two are test scores, each score being out of 30. (These scores can have fractional parts; a score like 10.5 is possible)
Use textboxes to collect the inputs. The homework textboxes are grouped inside a groupbox captioned Homework, and the textboxes for test scores are grouped inside a groupbox captioned Tests.
Implement Submit and Clear buttons.
Scaled Total Score is calculated out of 100, by scaling the homework component to 60 points, and the test component to 40 points. (All homework scores are treated equally; so are all the test scores).
Clicking the Submit button displays the inputs and the calculated result in a multi-line textbox.
Displayed output should use one line for each separate item of information. For example, as below:
Name:
Homework 1: /50
Homework 2: /50
Homework 3: /50
Test 1: /30
Test 2: /30
Scaled Total Score: /100
Clear gets ready for new inputs.
Data example:
Each homework score is out of 50. Say the three homework scores are 25, 30 and 20. That works out to half of the maximum the student could have got for homework; in turn, out of the 60 possible hw points, this yields 30 points.
Each test score is out of 30; if the student got 10 and 5 as test scores, that works out to one-fourth the maximum, yielding 10 out of the 40 possible test points in the scaled total.
So, the scaled total score out of 100 becomes 30 + 10 = 40.
(note that in your implementations it is possible you went for the percentages instead of fractions like half or one-fourth; and in the scaled total, 60 and 40 percent instead of 60 and 40 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started