Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that will read a file containing student names and scores from a

ID: 3535586 • Letter: W

Question

Write a program that will read a file containing student names and scores from an exam.txt file into six (6) parallel arrays. Name the arrays strFirstName(), strLastName(), charMiddleInitial(), intAge(), intGrade(), charLetterGrade(). The size of the arrays should be 5. <-(0-4) The user will use the File Open Dialog Box to open the text file and load the data into the arrays. (lastname, firstname, middle initial, age, numeric grade, and letter grade.). (Make sure all 4 text boxes are filled out before beginning exam)Once the Begin Exam button is clicked, the data entered in the demographics should be verified. If data is entered properly, a form should then be called that displays a place for 10 answers to be entered. It should resemble the following:Write a procedure called CalcScore() that will compare the student’s answers that should be written into the charAnswers() array to the correct answers stored in charKey() and calculate a numeric grade. Write this numeric grade into an array called intGrade(). This procedure should also call the function to assign a letter grade to this average (see next step) (10 points)Write a function called AssignGrade() that will receive the average calculated in the CalcScore() procedure and assign the student a letter grade using the following grading chart. It should store that letter grade in an array called charLetterGrade() It should return the array. (10 points)Test Score Letter Grade 90-100 = A 80-89 = B 70-79 = C 60-69 = D 0-59 =FWhen the student closes the exam and clicks on Exam Save, the demographics, numeric grade, and letter grade should be written to the file. Make sure the data is appended to the existing data in the file. Write a procedure that will display the students’ first name, last name, middle initial, age, to make sure everything loaded correctly. This procedure should run when the Exam Load is chosen by the user from the menu. You may use a message box to display this data. Name this procedure DisplayDemographics(). Write a procedure that will allow the user to search for the student’s last name and then display that student’s data. Make sure you validate the data. If a last name is entered that does not exist, you should give the user a message indicating that it is not found and let him/her re-enter a name. Name this procedure SearchByLastName(). The data read should populate the fields on the form. Make use of modules. This should contain 2 forms and one Module.

Explanation / Answer

I have solved it. if you repost the question ,Then I will give you the exact answer


Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote