subject

The point of this project is to create a quiz system. Create a class called Quiz. This class manages up to 25 Question objects (create at least 10). Attached below is the Question interface, which your questions must implement. Define two methods in Quiz: public void addQuestion(Question q) - This accepts a question object and adds it to it's list of questions public double giveQuiz() - This presents each question, one by one, to the user and asks for their answer. After each answer, it checks if the answer is correct and keeps track of the results. Finally, it returns the score the user got. Create at least 3 classes that implement Question. You have some freedom in choosing the exact types, but I suggest: MultipleChoiceQuestion TrueFalseQuestion ShortAnswerQuestion Again, each question class MUST implement the Question interface. Implement these methods appropriately for the question type. DO NOT MODIFY THE QUESTION INTERFACE IN ANY WAY. Create a new class called QuizTime, which only has a main() method. In this method, create all of your Question objects and a single Quiz object. Add all of your questions to the quiz, then call giveQuiz() and print out the results to the user. Follow ALL of our rules of encapsulation and proper project design For extra credit, after the quiz is over go through each of the wrongly answered questions and printout the question followed by the correct answer.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
What result from the passage of this amendment
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
You know the right answer?
The point of this project is to create a quiz system. Create a class called Quiz. This class manages...
Questions
question
Mathematics, 23.11.2020 04:20
question
Mathematics, 23.11.2020 04:20
question
Mathematics, 23.11.2020 04:20
question
History, 23.11.2020 04:20
Questions on the website: 13722360