CIS 294 Homework	One					Assigned January 8, 1997

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

I.	Reading assignment and Web assignment:  (1 point)

Read Chapters 1 and 2 of Beginner's Guide to VB 4.0.  We will be discussing chapter 2 on January 15.

Go to my home page (http://www.umd.umich.edu/~jdennis) and follow the link to the forum I created in NetForum.  Add a message under the "Getting to know each other" topic.  You will receive one point if you respond by January 22, 1997.  (This should take you 15-20 minutes.)

II.	Programming assignment:  (8 points)

Due:		January 22, 1997

User specifications:

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

1. Allow the user to input clock time and have the application display the corresponding military time.*
 e.g.  2:30 p.m. clock time = 14:30 hours military time
 
2. Allow the user to input military time and have the application display the corresponding clock time.*
 e.g.  01:00 hours military time = 1:00 a.m. clock time
 
 *Hours:minutes 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, a certain picture will appear on the form which corresponds to that time.  The user requires the following:

Between 6:01 a.m. and 12:00 p.m. show a morning picture (maybe a sunrise or breakfast foods), between 12:01 p.m. and 6:00 p.m. show an afternoon picture, between 6:01 p.m. and 12:00 a.m. show an evening picture, and between 12:01 a.m. and 6:00 a.m. show a late night picture.  (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. You must use option buttons and/or check boxes.  (to indicate a.m. or p.m.)
 
3. You need to provide a way to exit the program gracefully (an Exit command button would work nicely).
 
4. You will need to use text boxes for on-screen input and output.  Labels should be used also to make the application more understandable.
 
5. 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 (i.e. no letters, cannot have a clock time of 13:00 p.m. or 4:65 a.m., etc.)
 
2. failing to meet the above specifications and requirements
 
3. failing to meet the proper program submission/documentation requirements


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