Kate's Cakes
Scenario
Katherine Smith started a small business making specialist cakes for local restaurants and cafés which she delivers on Tuesdays and Fridays. Her business "Kate's Cakes" has done so well that Katherine has more orders than she can cope with and to deal with this new problem, she has enlisted local help.
Katherine has a list of 'helpers' who have agreed to bake cakes from a list of standard cakes that the business delivers when required. Any special orders which are not on the list are done by Katherine herself. Each helper has specified the maximum number of cakes they want to be given in any week and the system should not allocate more than that number.
Orders for cakes are given to Katherine at least a week in advance and come as an email in the form below:
From : Jakes Kitchen
To : Kate's Cakes
Cake Order For week 23.
Tues Fri
Coffee and Walnut 3 4
Victoria Sponge 2 1
Double Chocolate 2 3
Carrot Cake 1 1
Cherry Cake 3 1
Cakes are priced at £17.50 each, and helpers are paid £12.50 for each cake made. Katherine phones up the helpers to let them know what is required and collect the cakes when they are ready.
It has been proposed that a system be written to keep track of the various 'helpers' that the business uses, the cakes they bake and the money they earn. It will of course make sure that Katherine is busy baking up to 10 cakes per day before allocating cakes to the helpers.
There is NO requirement for a Graphical User Interface at this time.
You are NOT expected to create a completed system!!!
At this stage, you will not be concerned with the dynamic design. Instead, you have to implement and demonstrate at least the Cake, Helper and Schedule classes as follows:
The Cake class contains all the details of a single cake, who is baking it, who it is for and when it is due to be delivered
The Helper class contains the name, address and telephone number of the helper, the maximum number of cakes to be allocated each week and a list of the cake orders allocated at this time.
The Schedule class maintains a list of all cakes on order, all the helpers and the orders.
It is up to you to decide where in the system would be the most appropriate place to store the charges or payments made or if you need to include then at all in your demonstration.
You will have to create demonstration programs to illustrate all the classes you have created
Scenario
Katherine Smith started a small business making specialist cakes for local restaurants and cafés which she delivers on Tuesdays and Fridays. Her business "Kate's Cakes" has done so well that Katherine has more orders than she can cope with and to deal with this new problem, she has enlisted local help.
Katherine has a list of 'helpers' who have agreed to bake cakes from a list of standard cakes that the business delivers when required. Any special orders which are not on the list are done by Katherine herself. Each helper has specified the maximum number of cakes they want to be given in any week and the system should not allocate more than that number.
Orders for cakes are given to Katherine at least a week in advance and come as an email in the form below:
From : Jakes Kitchen
To : Kate's Cakes
Cake Order For week 23.
Tues Fri
Coffee and Walnut 3 4
Victoria Sponge 2 1
Double Chocolate 2 3
Carrot Cake 1 1
Cherry Cake 3 1
Cakes are priced at £17.50 each, and helpers are paid £12.50 for each cake made. Katherine phones up the helpers to let them know what is required and collect the cakes when they are ready.
It has been proposed that a system be written to keep track of the various 'helpers' that the business uses, the cakes they bake and the money they earn. It will of course make sure that Katherine is busy baking up to 10 cakes per day before allocating cakes to the helpers.
There is NO requirement for a Graphical User Interface at this time.
You are NOT expected to create a completed system!!!
At this stage, you will not be concerned with the dynamic design. Instead, you have to implement and demonstrate at least the Cake, Helper and Schedule classes as follows:
The Cake class contains all the details of a single cake, who is baking it, who it is for and when it is due to be delivered
The Helper class contains the name, address and telephone number of the helper, the maximum number of cakes to be allocated each week and a list of the cake orders allocated at this time.
The Schedule class maintains a list of all cakes on order, all the helpers and the orders.
It is up to you to decide where in the system would be the most appropriate place to store the charges or payments made or if you need to include then at all in your demonstration.
You will have to create demonstration programs to illustrate all the classes you have created
Comment