
Computer Science 275.001
Interaction Programming
Fall 2006
Interactive Design
Programming Assignment #1
Due: Thursday, October 12, 2006
(Due in drop-box by 1:00 PM)
Your first interactive design assignment in this course concerns the retrieval of informationfrom an external database. This data, concerning menu items for a cafeteria, shall be accessed
by two types of users, the cafeteria director, who sets the day’s menu from a standard list of
food items, and the cafeteria patrons, who access the day’s menu after it has been set by the
cafeteria director.
When the application is initially activated, the user is given the opportunity to enter as aregular user or as the cafeteria director. The cafeteria director will have to enter a password
(use “director” for that purpose), but passwords are not necessary for regular users.The cafeteria director will be expected to set the cafeteria’s lunch menu for the day, selectingfrom the different food items listed in the external database. The director must choose:
At least six different entrees
At least four different sandwiches
At least three different salads
At least four different “extras” (i.e., side dishes or bread)
At least three different desserts
All of the beverage choices
At least three “healthy” choices (not including beverages).
Prior to exiting the application, the director may save the specified menu, but no provisionneeds to be made for editing a menu after it has been saved.
Regular cafeteria patrons using this application will be able to see the latest menu saved bythe cafeteria director, including pictures of the menu items (if available), as well as descriptions
of the menu items and their prices.
The Food database that is provided contains a single table with the definition listed in the table above.
Keep
in mind that other features might be added to this application at a later date,
so make sure
that
your design and implementation accommodates these potential enhancements
(although you
will not implement any of them!):
·
The
cafeteria’s expansion to include breakfast and/or dinner menus.
·
Detailed nutritional
information (calories, fat, carbs, etc.) about menu
items.
·
Pick-up
and delivery capabilities for patrons.
The image and
database files that you need for this assignment are available on the department
server at:
Engineering/Classes/Fall
2006/CS/CS275/Assignments/IDPA1
You are strongly
encouraged to bring early versions of your design to the instructor for
feedback. You
may also feel free to discuss your early design
ideas with your classmates, but remember that showing
your actual code to anyone besides the instructor
is considered academic misconduct and will be dealt
with as such. Also, remember to fully document your
program, explaining your design as needed.
Remember that
your entire project folder is due on your drop-box
by 1:00 PM on Thursday, October 12, 2006.