2 Oct 2011

Week 10

Spent over 25 hours this week (including recess week)

Code part:

Basically fixing problems due to the newly added class in week 8. Implemented a new algorithm to select questions from different categories. The rule works as follows:

Minimum question number for a quick test is 30 (too small number leads to poor effect of exercise). Maximum number set to 200 (to prevent from exceeding the total number of questions in database). For each selected category, select one question of this category and put it in the sub list. Repeat this step until we fill up the sub list with the specified list size. If we run out of questions of a single category during allocation, then add one more question from the next category. If necessary shrink the total size of the list.

I also spent some time in implementing a method to traverse a question list. It turned out to be non-trivial as users may go to the next or previous question any time.

Much time was spent on implementing these algorithms and testing to make sure they work fine.

Added a test result form for simulation exam, which is rather simple.

Another main feature implemented is the saving of quick test by saving the current state of the user. User can load his last saved test and continue the test anytime.

 

Documentation part:

Working on the UML model, and continue the technical documentation.

No comments:

Post a Comment