Professor LaGree likes to give his students lots of projects, and he likes them to work in groups. However, Professor LaGree doesn't like to deal with bookkeeping involved with keeping track of which students are in which group for which project. He has come to your shop to see about having a system developed to manage project groups for him.
Projects
Professor LaGree gives between five and seven projects per semester; projects are given one at a time, with the last one finishing before the next one starts. Up to three students may form a single group to work on a project; a student need not join a group to work on a project. Students may form new groups for each project, and, although Professor LaGree doesn't encourage it, groups may change during the course of a project.Groups
A group consists of two or three students. A student can be a member of at most one group; a student need not be a member of any group. Students may form a group at any time during a project. Once a group is formed, it cannot be changed without the permission of Professor LaGree. A student working alone may form a group of one.
Input
The input should be simple; for example, forming a new group should require little more than the list of students in the group and an indication to create the group. Similarly, deleting an old group should require little more than the list of students in the group and an indication to delete the group.In addition to adding and deleting groups, Professor LaGree would like the system to be able to list all the groups active on a project and to able to determine to which group, if any, a student belongs.
Output
Professor LaGree dislikes chatty systems, so the group-management system should keep output to the terminal at a minimum; preferably only error messages and requested outputs should appear.Environment
The Professor has Unix box and a Windows 2000 (W2k) box in his office. The Unix box is his primary system and he intends to run the group-management system on that. However, he would like to keep open the possibility of running the group-management system on his W2k system too.
This page last modified on 27 January 2000.