School of Engineering and Applied Science
Department of Computer Science
CSci 53 -- Introduction to Software Development
http://www.seas.gwu.edu/~csci53/fall02
Prof. Michael B. Feldman
mfeldman@seas.gwu.edu

Project #1
Due Date: Start of lecture, Thursday, Sept. 12, 2002

The objective of this first project is to do a simple software development project, as described in the online document Systematic Software Development.

Before proceeding to the body of the project, it is essential that you do the following, just for practice:.

Problem Specification:

From the so-called "Y2K problem" in the year 2000, we know that an important function of software systems is keeping track of dates and times. One way of representing the time of day (to the nearest second) is as an integer number in the range 0 to 86399. (Why is 86399 the maximum value?) This value indicates the number of seconds that have elapsed since midnight on the given day.

Since people are not very good at keeping time by seconds, it is helpful to convert this single value into a set of three values that represent the hours, minutes, and seconds of the current time. We will use a 24-hour representation of the time; for example, 6:21:36 PM is given as 18:21:36. Your task is to produce a program that will prompt the user for the number of seconds since midnight, and then compute and display the time of day. Call this program TimeOfDay.

What to submit:

You must follow the process given in Systematic Software Development. Submit Your grade will be calculated on a 20-point basis, as follows: MBF 9/2/02