Consider the following set of steps for booking a table at a restaurant―“Record booking” use case (Priestly, 2003, p. 63): Record booking 1. The receptionist performs the “Display bookings” use case....


Consider the following set of steps for booking a table at a restaurant―“Record booking” use case (Priestly, 2003, p. 63):
Record booking 1. The receptionist performs the “Display bookings” use case. 2. The receptionist enters the customer name and phone number, the time of the booking, the number of people at the table and the table number 3. The system records and displays the new booking.
The following functionality has been designed so far for this restaurant booking system:
where the “Display booking” use case simply retrieves the bookings of a given date entered by the receptionist.
Write a use case description for editing a booking. Think about what aspects of the booking can be edited. However, do not allow for changing the date of the booking (your description does not include changing the booking date). Include the following fields in your answer: use case name, participating actors, flow of events, entry conditions and exit conditions.
(b)               4 marks Based upon the use case you wrote in a), write a use case description for the exceptional case of the table selected being too small for the number of people who will attend during the booking. If the table does not provide enough seats, the table is not large enough for eating the meal.
In your answer, write only the flow of events (i.e., the steps of the flow of events).
NIT2213 2016  Assignment

4

Question 2             8 marks
Based on your answer to Question 1, part (a), draw a sequence diagram for that booking editing use case.
Question 3             8 marks
Draw a class diagram for the following.
A class, Meal, represents different types of meals. Meal has both the behaviour of being eaten in a particular way and indicates the nationality from where the meal comes from (i.e., the nationality of the meal is stored by the class).
Three types of meals are Paneer Makhani (which is an Indian dish), Mandarin Noodles (a Chinese dish) and Lasagne (an Italian dish). Paneer Makhani is eaten with hands, Mandarin Noodles is eaten with chop sticks and Lasagne is eaten with a fork and knife. Paneer Makhani and Mandarin Noodles both have a Spice_level attribute, whilst Lasagne has a Filling attribute.
Lasagne comes in two varieties: one is Beef and the other is Vegetarian. When it comes to eating Lasagne, one has to either eat Beef Lasagne or Vegetarian Lasagne





Oct 07, 2019
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here