Guidance for the item(s) below:
There is no formal tutorial in this week. Use the tutorial slot for project work.
Attempt this question by yourself. The model answer will be released later.
Design test cases for the day
parameter
What are the equivalence partitions for the parameter day
of this method?
/**
* Returns true if the three values represent a valid day
*/
boolean isValidDay(int year, int month, int day) {
}
What are the boundary values for the parameter day
in the question above?
Give 10 test inputs you would use for the parameter day
in the question above.
No tutorial this week. Take a break and prepare for the last burst of tP activities coming up soon.
This tutorial is used for tP project demos. Demo instructions are repeated below for your easy reference.
Admin tP → Deliverables → Demo
[TEAM_ID][product Name].mp4
e.g.[CS2113-T09-2][Contacts Plus].mp4 (other video formats are acceptable but use a format that works on all major OS'es).Here is an example:
Hi, welcome to the demo of our product FooBar. It is a product to ensure the user takes
frequent standing-breaks while working.
It is for someone who works at a PC, prefers typing, and wants to avoid prolonged periods
of sitting.
The user first sets the parameters such as frequency and targets, and then enters a
command to record the start of the sitting time, ... The app shows the length of the
sitting periods, and alerts the user if ...
...
Mr aaa
is not a realistic person namerealistic demo data. e.g at least 20 data items. Trying to demo a product using just 1-2 sample data creates a bad impression.