reset password
Author Message
cysun
Posts: 2935
Posted 16:43 Jan 23, 2015 |

1. For the sake of simplicity, we'll assume that administrators and advisors are not associated with any department, which means any administrator can edit the plan of any department, and any advisor can see the plan of any student regardless of the student's major.

2. There could be more than one administrator/advisor.

(I may post more clarifications in this thread. Please click the "Subscribe to This Topic" button at the upper right corner if you want to receive email notification when new replies are added to the thread.)
 

cysun
Posts: 2935
Posted 11:26 Jan 24, 2015 |

3. Regarding the "right" way to handle flight plan changes.

Consider how changes to degree program requirements are handled. For example, when you were admitted into the MS program, the three required courses are CS512, CS520, and CS537. Suppose a year later, the department decides to stop offering CS520 and replaces it with a new course CS521. New students who are admitted after the program change should of course follow the new requirements, but existing students would have the options to either stay with the old program or switch to the new one.

cysun
Posts: 2935
Posted 15:58 Jan 28, 2015 |

4. Write Test Cases

The assignment asks you to test the following test cases:

  • There is a user with the username jdoe1 and a user with the username jdoe2.
  • jdoe1 checked one checkpoint in his/her plan.
  • jdoe2 checked all the checkpoints in his/her plan.

When you write test code, you may only use the information specified in the test cases. For example, you can do userDao.getUserByUsername("jdoe1"), but not userDao.getUserById(1) because the test case does not give you the user id. Similarly, you can use 1 for the number of checkpoints in the 2nd test case, but you cannot assume that you already know the total number of checkpoints in the 3rd test case.