Design and implement a class Quiz that administers a short-answer quiz of up to 25 questions. Provide a method that adds a question and its answer to a quiz. The user should be able to enter a desired...



Design and implement a class Quiz that administers a short-answer quiz of up to 25 questions. Provide a method that adds a question and its answer to a quiz. The user should be able to enter a desired number of questions and answers. Provide another method to present each question in turn to the user, accept an answer for each one, and keep track of the results. Create a client that populates a quiz, presents it, and then displays the final results. Clearly, running one program to both create and administer a quiz is not practical. However, after you learn about text files, you will be able to write one client that uses the class Quiz to create the quiz and another client to administer the quiz.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here