18 Oct 2011

Week 12

Approximately 15 hours this week.

Put main effort in documentations this week. Had a discussion with Jeff about the details of the technical documentation and continued working on it. About 85% of the documentation is done. I also took some screen shots of the client user interface and give them to Allen to do the User Manual.

In terms of coding I did much testing and debugging and removed several bugs. Also added a new simple algorithm to calculate the accomplishment value based on the scores of the user. I think the current release of the program is ready for the tradeshow now.

Powerpoint slides were also created and submitted.

9 Oct 2011

Week 11

Approximately 15 hours this week.

Code is near finished. Main job done this week was to

  1. implement result data structure and combine it to the question class, so the system is able to record the result of a test / exam
  2. re-implemented the SLOT and SIGNAL system of the question class, so the UI automatically switches between Quick test interface and Exam interface (slightly difference with different features supports)
  3. saving of test result as a text file and store it to the current directory.

In addition, I also got the poster printed, and half of the technical documentation done. Includes a page for introducing the changes we’ve made since the release of preliminary documentation.

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.

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.

28 Aug 2011

Week 5

Spent approximately 4 hours this week.

The work I did this week is basically writing codes as well as learning QT.

In terms of QT I created some basic GUIs (.ui files) which will be linked to the relevant classes later.

In terms of code it self what I spent most of the time refining existing codes.

  • I tried to increase the confidentiality of user profiles by storing them in  binary mode but it didn’t work so well, so it’s back to normal TXT files again. But all those private files will be kept secretly.
  • I set up some restrictions on the selections of passwords. Basically it’s lenght must be greater than 6 and it must be a combination of digits and characters.
  • I also refined some codes in Registration to improve the efficiency and fix some known bugs.