Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due
A GUI for a Multiple Choice Question (MCQ) program
Module code: EBU4201 Module title: Introductory Java Programming Marks available: 50
Feedback: Individual marking sheet including feedback comments and a mark out of 50.
|
TASK 1 – Basic Interface [28 marks]
The basic interface must be divided into 3 parts: a top, middle, and bottom. Figure 1 shows the expected look of the interface:
A question will be displayed at the top of the interface.
In the middle of the interface, the four choices for the answer are displayed. For each question, there will be one and only one correct answer. Clicking on the correct answer will increase the user’s score by 1 point.
At the bottom of the interface, the number of correct answers given so far will be displayed. Next to the score will be a “reset” button which restarts the multiple choice questions, setting the score to zero.
On the interface you might like to also display the total number of questions in the quiz.
Note: You are provided with a text file (called sampleQandA.txt) containing some sample questions and answers (including an indication of which answer is correct foreach question). You must decide how best to use this data in your application1.
TASK 2 – Interface with Multiple Attempts [5 marks]
Typically with multiple choice questions, you only have one attempt at each question. In this extension of the original application, the user taking the multiple choice test isallowed multiple attempts.
On the first attempt, if they are correct they score 2 points. If they are incorrect, they have another attempt, which if correct will score 1 point.
The extended application must still provide the functionality developed for TASK 1.
TASK 3 – Choice of EASY, MEDIUM and DIFFICULT questions [5 marks]
In this extension of the application, a set of radio buttons allows the user to choose the level of the questions.
There should be three radio buttons allowing the options easy, medium, and difficult. Easy questions score 1 point, medium questions score 2 points, and difficult questions score 3 points.
The extended application must still provide the functionality developed for TASK 1 and TASK 2.
Documentation [12 marks]
Note: All documentation files must be placed in a directory called Documentation.