3.1 Package Feedback

3.1.1 Description

This package Feedback is the work horse of all three packages, here there is only one GUI and its job is to confirm to the user the result of their answer, it does this by getting the users answer first and then goes to the database and return the correct answer, if correct it will increment the score and provide them with an option to go back for another question or have a look to see where they are in the table. If their answer is correct they are awarded a score and this is entered into the database, if not, all picked questions are returned to “Unpicked” and the player is given another chance to start again with a score of zero of course. Also if their answer is correct they receive a special message of encouragement, the GUI also keeps track of questions picked and marks them off, this avoids the player being asked the same question again.

3.1.2 Architecture Details

3.1.2.1 Activity Diagram for Feedback