Lab 3 - Alarm Clocks

First, we'll build a prototype alarm clock, just to illustrate that it can be done ... and then you're asked to redesign the interface to make it indestructible.

Prototype Alarm Clock

The programming objective of this lab is to introduce the following concepts:

The idea behind the prototype is pretty simple - design a clock that will go off when a specified amount of time has passed (How Long to Sleep or Snooze) OR goes off at a specific time (When to Wake Up).  Selecting one of these 2 options should enable the correct hour-minute-second text boxes whose values will be used to set the timer.  To set the alarm after you entered the time to sleep or wake-up time, click on the 'Set Alarm' button.

After the alarm 'goes off', you should display what time it is (the now text box) and a small message box like this -Wake Up!

If you want to 'snooze' (sleep a little longer), then clicking on the 'Snooze' button will set the alarm clock to wake up after 5 minutes (default), or, you can set the snooze time and then click on the snooze button.

 

Problems to Overcome --


Designed & Created by DrB - Last update: 09 Feb 2010 02:19 PM