CFS2160 Software Design and Development Assignment.

Publish By: Admin,
Last Updated: 08-Jul-23
Price: $120

CFS2160 Software Design and Development Assignment, School of Computing and Engineering - University of Huddersfield, UK

Assignment Title - Developing a Full Program

1. Assignment Aims

To develop skills in modelling using UML.

To develop skills in defining classes.

To develop skills in writing programs.

To develop skills in testing programs.

To demonstrate the need to document software.

2. Assessment Brief

You are required to design, implement, test and document a Java program (set of classes) for one of the following problem specifications:

Problem 1 - Ten-pin Bowling Alley Scoring System Simulation

A local ten-pin bowling alley would like a simulation of the scoring system for training and development purposes, and also to show to customers who are new to the game. Ten-pin bowling is a game played by two or more players and consists of a `lane` with ten `pins` at the end (a `pin` is like a skittle). The object of the game is to bowl a ball towards the `pins` in order to knock down as many `pins` as possible. The bowler is allowed ten frames in which to knock down `pins`, with each frame being composed of up to two rolls. Players score a point for each `pin` they knock down in any one frame. If the bowler scores a `strike` (all 10 `pins` are knocked down at the first attempt) or a `spare` (all 10 `pins` are knocked down in two attempts) bonus points are awarded in addition to the 10 scored. The number of `pins` the bowler knocks down in the following frame is used to calculate the player`s bonus.

Problem 2: Restaurant Menu Selector

A local restaurant owner would like to lower her costs and so has decided to dispense with some of her waiting staff and is going to trial a new system whereby the customer chooses and enters his/her own menu selections on a tablet computer. Each customer would be given a tablet on entry and asked to enter their menu selections at the table. Before she invests in the technology the owner would like to see a prototype software system in use. She is happy that the prototype will run on a standard desktop PC. The prototype menu selector should provide the means for a customer to select a one-, two- or three-course meal. Once a customer has made a selection the system should provide information about a meal in the form of its calorific value and its cost.

There should be three courses to choose from that would be:

Starter: for example, tomato soup might have a calorific value of 268 calories and cost 3.50.

Main: for example, steak and chips might have a calorific value of 600 calories and cost 7.95.

Dessert: for example, blueberry pie might have a calorific value of 360 calories and cost 4.70.

You have been asked to develop the prototype system for the restaurant owner. Your prototype should run on a standard desktop PC. For this piece of work you will not be marked on the accuracy of the calorific value or the cost but the totals must be calculated correctly. Your program must have a graphical user interface and use Object Oriented principles, so for example the user interface classes must be separate from the other classes.