The requirements and design are available on-line.
However, "partial credit" will be awarded if you are able to get some components, but not all, working. In particular, you will receive a maximum grade of:
Duration
class passes the
in-lab tests;DurationHistory
class passes
the in-lab tests; andMinder
class passes the
in-lab tests.DurationHistory
class will
fail if they are called at inappropriate times. Why does this
happen? Why is this a bad design? How could you remedy this
shortcoming using exception handling?
toString()
method
dynamically allocates memory for the string it returns? What
other approaches might you use (e.g., passing in an empty
string by reference, returning a local variable by value, etc...)?
Copyright 2010