Sei sulla pagina 1di 2

Structured Programming: Assignment 2009/10 SEM1 Submission: Sat 05 Dec 09

Cohorts: BIS/08/PT, BWT/08/PT Total Marks: 100


Scenario:-
You are required to write a structured program in C to enable the processing of menu items for a
restaurant. The menus will be stored in a data file and available for printing from a text file.
Your program will provide the following functionalities:
1. F1: Add a new menu
2. F2: View all menus
3. F3: Delete a menu
4. F4: Modify a menu
5. F5. Save to a text file for printing
6. F6: End Program
Each menu contains the following information:
menu_ID: a value in the range 1-100
menu_name: string of characters
menu_ingredients: string of characters
price: floating-point value
preparation time: int value
calories: floating-point value
Some business rules to be taken into account when implementing the software are listed below:-
– it should not be possible to add a menu which already exists in the catalog.
– the cost of a menu cannot take a negative value
– the id and name of the menu available in the catalog cannot be modified
– the number of calories should be representative of the ingredients, for example a menu rich in
carbohydrates cannot have a low calories value.
You may add further implementation tasks and rules to make your software as robust as possible.

Submission
1. A report must be submitted containing all the program listing, test plans, screen-shots and any other
designs made during the project.
2. A CD containing the report and the software implemented.

1
Assessment Criteria
Criteria Marks
1. Program with basic functionalities implemented 60
2.Report including design, test plans 20
3. Project Presentation 20

Note: Please note that this is an individual piece of work and you should be able to defend your project
during the presentation.
If found guilty of plagiarism a failure grade will be awarded.
The presentation is compulsory implying that any absences will also result in failure grade being
awarded.
Submission Deadline: 05 Dec 2009 – Please fill in the Coursework Assessment Slip when submitting
the project.
Presentation Date: 05 Dec 2009 Lab G1.3

Potrebbero piacerti anche