Question: Purpose Design a Stop Watch class to track the time spent on phone calls. Create a 3 tier application with 1 Windows Form App, 1

Purpose
Design a Stop Watch class to track the time spent on phone calls. Create a 3 tier application with 1 Windows Form App, 1 Business Layer Class Library, and 1 UnitTest project. Use this class to time the number of hours, minutes and seconds.
Fields
startTime (DateTime)
stopTime (DateTime)
Properties
ElapsedTime (Read only) returns a String in the format : hh:mm:ss
Methods
StartClock
StopClock
Exceptions
StartException
StopException
Specifications
The class has the above properties, methods exceptions.(15 pts)
The application architecture is correct.(5 pts)
When the user attempts to stop the clock without starting the StopException is raised.(5 pts)
When the user attempts to start the clock when it is running the StartException is raised. (5 pts)
The elapsed time can be read at any time while the clock is running.(5 pts)
Use proper control naming.(5 pts)
Use proper comments.(5 pts)
Add a TestMethod for the StopClock and StartClock methods.(5 pts)
Program crashes(-2 pts/occurrence)
Timer Function only updates the interface(will reject submission)
Extra Credit (10 Points)
Add a split time function that displays split times (time since beginning or last split time). Extra credit will only be allowed if the base functionality of the application is working correctly.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!