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

Part 1: Begin with the running program from your Phase 4 Individual Project wher

ID: 3866356 • Letter: P

Question

Part 1: Begin with the running program from your Phase 4 Individual Project where the examination question class hierarchy was fully implemented in a menu-driven program. An test class was developed to load the test from a file and display each question to the screen.

Part 2: Modify the program from part 1 to change the menu to the following:

Load an test

Take an test

Show test results

Quit

Choice 1: No functionality change. Load the test based upon the user's prompt for an test file

hoice 2: The program should display a single question at a time and prompt the user for an answer. Based upon the answer, it should track the score based upon a successful answer. Once a user answers the question, it should also display the correct answer with an appropriate message (e.g., "Good job" or "Better luck next time") Upon completion of the test, the program should return the user to the menu.

Choice 3: The program should display the total points available and the total points scored during that exam. A percentage score should also be displayed. (Optional: if you choose to track which problems were missed, you could display that information for the user.)

Choice 4: No change to this functionality from the Phase 4 IP.

Explanation / Answer

ans) Choice 2.

Explanation) Part1 is developed in menu driven program as test is loaded from file and each question is dispalyed on the screen but there is nothing to show after attempting a question whether question is answered succesfully or not.

So part2 came with an enchancement for showing the result for each question.

Finally Choice 2 fullfills the need for Phase 4 .