25 Sept 2011

Week 9

Spent approximately 10 hours this week.

Work done this week involves a few new features, but mostly fixing existing bugs.

  1. Fixed the bug of Current pointer pointing to the user logged in, so that it saves user data when the user logs out.
  2. Fixed the bug of registration, in accordance to the newly added attributes in User class. Basically new data to save and read from database.
  3. Added a feature of checking existing email address, so that one email address only matches one user profile.
  4. Adding a feature in main menu where user can click to modify personal profile. Data can be modified include username, password, address, age, license currently hold. Password must be verified before change is accepted.
  5. Modified the UI of main menu so it displays more info of the current user.

In addition to codes, I also started working on the technical manual as many has been changed since last session. Basically the architecture is completely new so UML diagrams would have to be re-drawn.

17 Sept 2011

Week 8

Spent approximately 8 hours this week.

No new UI files added. Greatly improved the the whole Quickquestion class.

  • added a sub list within the Quickquestion class.
  • modified the Option class so it can store option values.
  • added an instance of Option in the Quickquestion class
  • added a function to initialize the sub list with options specified in the Option class
  • re-designed the Questionlist class so it supports traversing throughout the list.

11 Sept 2011

Week 7

Spent approximately 7 hours this week.

Added a new UI file, basically for selecting categories of questions when doing quick tests. And it looks like this.

option

Added corresponding class for this UI.

Added a new class for doing tests. It’s going to be used for both quick tests and simulation tests.

the UI looks like this.

questionui

Managed to load questions from two global question lists into a sample question displayer. Not yet able to save questions and select question ranges.