1 / 13

Jackson 5: Dual-Alarm clock Radio

Woodrow Binnicker Jackson Stephanie Cary Jackson Ryan Hunt Jackson Matt Lyons Jackson Cody Nelson Jackson. Jackson 5: Dual-Alarm clock Radio. Design Class Diagram. DCD Simplified. Use Case 1: Set the Time. Preconditions: Clock must be connected to a power source.

rowena
Download Presentation

Jackson 5: Dual-Alarm clock Radio

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Woodrow Binnicker Jackson Stephanie Cary Jackson Ryan Hunt Jackson Matt Lyons Jackson Cody Nelson Jackson Jackson 5: Dual-Alarm clock Radio

  2. Design Class Diagram

  3. DCD Simplified

  4. Use Case 1: Set the Time Preconditions: Clock must be connected to a power source. Success Guarantee: Clock displays the given time. Main Success Scenario: • User references another clock to determine the time. • User puts clock in ‘time-adjust’ mode and the time display begins blinking. • User enters the correct hours and minutes, and am/pm value. • User takes clock out of ‘time-adjust’ mode. • Clock’s time display shows the new time. Extensions: • User changes the time from standard time to DST. • The hour is automatically incremented by one. • User changes the time from DST to standard time. • The hour is automatically decremented by one.

  5. Use Case 2: Set Alarm Time Preconditions: Clock must be connected to a power source. Success Guarantee: The system accepts the input time and indicates that it will go off at the set time. If the user does not change or set the alarm time, the system will not update. Main Success Scenario: • User puts machine in ‘alarm-set’ mode and selects which alarm to set. • User enters the time (hours and minutes and am/pm) at which he or she desires to awake. • User takes the machine out of ‘alarm-set’ mode. • Display returns to the time. Extensions: • User does not input a new time. • The system sets the time to wake up at 12:00 am by default.

  6. Use Case 3: Turn Alarm On Preconditions: Clock must be connected to a power source; clock must be set to correct time; alarm must be set to desired time. Success Guarantee: The alarm goes off at the desired time and is correct in being either a “buzzer” or radio. If user purposefully does not turn on the alarm, the alarm should not sound. Main Success Scenario: • Recommendation: User checks the current time and the alarm time, including the am/pm setting. • User sets the alarm to buzzer mode. Extensions: • User prefers a radio instead of the buzzer. • User sets the volume of the radio to desired loudness. • User sets the alarm to radio mode.

  7. Use Case 4: Snooze Alarm Preconditions: Clock must be connected to a power source, alarm must be sounding. Success Guarantee: Alarm is disabled for fifteen minutes by pressing the snooze button. Main Success Scenario: • Alarm buzzer begins at time set for the alarm. • User presses the snooze button. • Alarm buzzer stops. • Snooze Time is reset for 15 minutes later. • When the Snooze Time is reached the buzzer begins again. Extensions: • Alarm is set to radio mode. • Alarm radio begins at time set for the alarm.

  8. Use Case 5: Dismiss Alarm Preconditions: Clock must be connected to a power source, alarm must be active. Success Guarantee: Alarm is disabled until the next time that the alarm time is reached by pressing the dismiss button. Main Success Scenario: • Alarm buzzer is sounding. • User presses the dismiss button. • Alarm buzzer stops. Extensions: • Alarm radio is sounding. • Alarm is not sounding, but is active.

  9. Use Case 6: Turn Alarm Off Preconditions: Clock must be plugged into a power source; alarm must be on. Success Guarantee: The alarm will not sound and wake the user. Main Success Scenario: • Alarm is sounding. • User turns off the alarm. • Alarm stops sounding. Extensions: • Alarm is not sounding, but is set to the ‘on’ position. • User turns off the alarm. • When the clock reaches the time set for the alarm, the alarm will not sound.

  10. Use Case 7: Turn Radio On Preconditions: Clock must be connected to a power source. Success Guarantee: The user is able to hear the radio. Main Success Scenario: • User sets the radio to ‘on’ mode. • User can hear the radio. Extensions: • Alarm is sounding • User turns off the alarm. • Continue with Main Success Scenario Steps 1 and forward.

  11. Use Case 8: Change Station Preconditions: Clock must be connected to a power source, the radio must be on. Success Guarantee: The desired radio station will play when the radio is turned on, whether by the alarm or by the user. Main Success Scenario: • User turns radio on. *See Use-Case 7 • User selects radio type: am/fm. • User increments the radio station until desired station is reached. • User turns the radio off. *See Use-Case 9 Extensions: • Radio is already on. • Begin with Main Success Scenario Step 2 and continue. • User decrements the radio station until desired station is reached. • User does not turn the radio off.

  12. Use Case 9: Change Volume Preconditions: Clock must be connected to a power source. Success Guarantee: The radio’s volume is set to a new value. Main Success Scenario: • Radio is playing quietly and user wants it to be louder. • User increases the volume until the desired volume is reached. Extensions: • Radio is playing more loudly than the user would like. • User decrements the volume until the desired volume is reached. • Volume is at its minimum value. • User tries to slide volume past minimum value. • Volume does not change. • Volume is at its maximum value. • User tries to slide volume past maximum value. • Volume does not change.

  13. Use Case 10: Turn Radio Off Preconditions: Clock must be connected to a power source and the radio must be on. Success Guarantee: The radio stops playing. Main Success Scenario: • User sets the radio to ‘off’ mode. • Radio stops playing.

More Related