Question: Create a program with a GUI. The GUI should be an interface to give a quiz. There should be a class called Question. This class

Create a program with a GUI. The GUI should be an interface to give a quiz.
There should be a class called Question. This class should maintain the question, 4 possible answers, and which answer is the correct choice.
There should be a class called Quiz which has a list of 10 Question Objects. There should be a Add method which adds a Question Object to the Quiz. The data for the question will be read from a file (which is provided). A method called GiveQuiz which presents the question to the user in a text area component. The answer choices should be radio buttons. The Quiz will keep track of the number of question the user gets correct. Quiz should provide 5 random question from the list of 10. After the 5 questions it should display the user grade in a message dialog. There will need to be a button to start the quiz, and a button to submit the answer the user selects. The submit button should not be available until the quiz starts. The start button should be disabled when the quiz starts and reenabled when the quiz is over.
The GUI part of this is provided. You need to create the relationship between the Quiz and Question classes. Then have the GUI use the Quiz object to keep the GUI updated.
 Create a program with a GUI. The GUI should be an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!