Question
Visual Basics In this assignment, you are asked to create a small program that will calculate a semester grade point average using arrays. This is
Visual Basics
In this assignment, you are asked to create a small program that will calculate a semester grade point average using arrays. This is to give you familiarity with the concept. It is not meant to be tedious, but is meant to give you an exposure.
Your task is as follows:
Design a form that has five buttons: homework, tests, quizzes, projects, and calculate. At the outset, you should only see the homework button. As you progress, make the next button visible.
When you press a button for the grading areas, you are prompted to enter grades for each area. Do this with an input box inside of a for loop. Store each value to the next spot in the array. If you do not enter a number, make it input -1. In other words, you are making the grade not there. The class has 10 homework assignments, 3 tests, 6 quizzes, and 1 project.
When you get to the calculate button, your goal will be to count the number of submitted grades in each category and calculate the grade for the semester, outputting that information in a message box. If the number -1 shows up, do not count it. For purposes of averaging, count it as a 0.
Homework is 30% of the grade, quizzes are 30% of the grade, tests are 30% of the grade, and the project is 10% of the grade.
Use a select case block to assign the letter grade. Use the grading scheme from the syllabus to do that.
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