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 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 16:50
15: 28read the summary of "an indian's view of indian affairs."15 betterin "an indian's view of indian affairs," it is asserted that conflicts could be reduced if white americansunderstood native americans..pswhich of the following would make this summary more complete? eleo the fact that chief joseph believes the great spirit sees everythinthe fact that chief joseph was born in oregon and is thirty-eight years oldo the fact that chief joseph states that he speaks from the hearthehehethe fact that chief joseph of the nez percé tribe made this claimebell- ==feetle===-felsefe ==submitmark this and retum.=
Answers: 3
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
Law, 09.11.2020 17:50
question
Health, 09.11.2020 17:50
Questions on the website: 13722363