CIS 294 Homework One Assigned September 4, 1997

 

As stated on the syllabus, all of the programming assignments combined are worth a total of 50% of your final grade. This assignment will be worth 25 points, or 16.7% of the 50% for all the assignments. This assignment is to be done individually.

 

 

Programming assignment: (25 points)

 

Due: September 25, 1997

 

User specifications:

 

Use VB to develop a Windows application that will do the following:

 

  1. There are four major time zones in the continental United States. Create a program to allow the user to input any one of the Eastern, Central, Mountain, or Pacific clock times and the other three corresponding times will automatically be displayed. Your program should work for all four time zones (i.e. the user should be allowed to enter a time for each of the four time zones and the other three will appear with the correct time.)
  2. e.g. 1:30 p.m. EST = 11:30 a.m. Mountain time.

     

    *Hours:minutes format is fine. You do not need to include seconds.

     

  3. To make things more interesting, place an Image Control on one of your forms so that when the user enters a specific time zone, a certain picture will appear on the form which corresponds to that time zone. The user requires the following:

 

For Eastern time, maybe show the New York City skyline; for Central time, Chicago or St. Louis would work; for Mountain time you might use Utah or a ski picture; and for Pacific time, California or the beach, or whatever else you can think of that is creative would work. (It is fine with me if you use clipart, pictures from the Web, or if you draw your own bitmaps.)

 

 

 

 

Program requirements:

 

  1. You must center all forms on the screen.
  2.  

  3. You must use option buttons and/or check boxes. (to indicate a.m. or p.m.)
  4.  

  5. You need to provide a way to exit the program gracefully (an Exit command button would work nicely).
  6. You will need to use text boxes for on-screen input and output. Labels should be used also to make the application more understandable.
  7.  

  8. You must create an executable file (.EXE) and use the Setup Wizard to submit the assignment on disk(s) to me.

 

 

I am intentionally not giving you an example of what the GUI should look like because I would like you to use your imagination and design what you think is best.

 

 

Points will be deducted for the following:

 

  1. programs that accept incorrect input or produce incorrect output (e.g. no letters, cannot have a clock time of 13:00 p.m. or 4:65 a.m., etc.)
  2.  

  3. failing to meet the above specifications and requirements
  4.  

  5. failing to meet the proper program submission/documentation requirements

 

 

*See attached requirements. These requirements will be used for all programming assignments.