Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java handwriting thank you Implement a class ClockSystem that simulates a typical alarm/timer/stopwatch system that you find in your phone. Such system has: an alarm
Java handwriting
thank you
Implement a class ClockSystem that simulates a typical alarm/timer/stopwatch system that you find in your phone. Such system has: an alarm system that allows you to set one or more alarms, delete alarm, and activate any alarm. If an alarm is activated, it will print a message when the set time is reached.The alarm is deactivate after the message is printed stopwatch system allows you to start a timer (which is a simple counter incremented every second) and allows you to set lap time. You should be able to pause/resume and stop/reset the stopwatch. The time and number of laps are displayed when you reset or stop the stopwatch. timer system allows you to start a countdown timer (which is a simple counter decremented every second) and displayed a message when timer reaches 0. Provide the following: 1. Define ONE class with proper class name, appropriate methods with proper arguments and return types, member variables and constructors for the entire system. Each method/function should have a brief pseudo code describing its responsibilities. This is called version 1. 2. Write main to test all components of this system 3. Submit your design on paper by the end of class. 4. Re-design your system with multiple classes (as appropriate, review Chapter8 for details). This is called Version 2 5. Submit version 1 (yes, submit again as typed version) and version2 on canvas by Friday midnight (2/21). Provide a paragraphs explaining the differences of both version and benefits of doing that! Individual submission is expected. Don't forget to write your partner's name with your submission. Note: Define class(s) with all member variables & functions. Only write pseudo code inside each function. No implementation needed! This is a design exercise where you are deciding how classes should be designed. Grading: 5 points for in-class design, 15 points for canvas submission (version 1, version2 and explanation) Implement a class ClockSystem that simulates a typical alarm/timer/stopwatch system that you find in your phone. Such system has: an alarm system that allows you to set one or more alarms, delete alarm, and activate any alarm. If an alarm is activated, it will print a message when the set time is reached.The alarm is deactivate after the message is printed stopwatch system allows you to start a timer (which is a simple counter incremented every second) and allows you to set lap time. You should be able to pause/resume and stop/reset the stopwatch. The time and number of laps are displayed when you reset or stop the stopwatch. timer system allows you to start a countdown timer (which is a simple counter decremented every second) and displayed a message when timer reaches 0. Provide the following: 1. Define ONE class with proper class name, appropriate methods with proper arguments and return types, member variables and constructors for the entire system. Each method/function should have a brief pseudo code describing its responsibilities. This is called version 1. 2. Write main to test all components of this system 3. Submit your design on paper by the end of class. 4. Re-design your system with multiple classes (as appropriate, review Chapter8 for details). This is called Version 2 5. Submit version 1 (yes, submit again as typed version) and version2 on canvas by Friday midnight (2/21). Provide a paragraphs explaining the differences of both version and benefits of doing that! Individual submission is expected. Don't forget to write your partner's name with your submission. Note: Define class(s) with all member variables & functions. Only write pseudo code inside each function. No implementation needed! This is a design exercise where you are deciding how classes should be designed. Grading: 5 points for in-class design, 15 points for canvas submission (version 1, version2 and explanation)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started