Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A computer system is required that will support the following small garage business : Customers bring their cars to the garage for servicing and repair.

A computer system is required that will support the following small garage business : Customers bring their cars to the garage for servicing and repair. The attendant must check the car in, record details about the owner and the car, along with any specific customer requests. The workshop manager inspects each car and creates a job specification for it. He then schedules the job and assigns a mechanic to complete the specified tasks. During this process, if any new problems are discovered a new job specification is created by the workshop manager before carrying out the work. When the job is finished the mechanic completes a report detailing the time spent, work done and materials used. This information is used by the attendant to create an invoice for the customer when they come to collect their car.

(i) Draw a suitable use-case diagram to represent the above system. [5 marks]

(ii) Construct a Class Diagram for the above system using the UML notation. Include appropriate attributes and operations for each class. [10 marks]

(b)Consider the following relationships between components of a Java program :
class B implements interface A
class B extends abstract class A
(iii)Briefly explain each of these relationships, stating any restrictions on, and significant implications of, its use. For each, include an example illustrating an appropriate use of the relationship.[4+4 marks]

(c)An Internet-based ticket reservation company specialises in selling tickets for entertainment events to customers who visit the company's Web site. The company acquires tickets for events from the usual ticket agencies on a regular basis, and also on demand when stocks become low. Before they can use the site, customers must register their contact details, or enter sufficient information to identify them if they have registered before. They may then view publicity material and ticket availability information for a number of different events, and add tickets for chosen events to their order. When they have finished, they enter their credit card details and, if all is well, their tickets will be dispatched by ordinary mail.
The company keeps a contact address and a billing (credit card) address (which may be the same) for each registered customer.

(iv)Write an expanded use case "Order Tickets for Event" and produce an interaction diagram for the system function in which a customer just orders one or more tickets for a single
event. You may assume that the customer details have already been entered and that a new order has already been created for the customer. Give signatures for each operation you identify, and state which class each belongs to.[5+7 marks]

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

Part i Use Case Diagram A use case diagram represents the interactions between users actors and the system to achieve specific goals In this case we h... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Customer Service Career Success Through Customer Loyalty

Authors: Paul R. Timm

6th edition

133056252, 978-0132553001, 132553007, 978-0133056259

More Books

Students also viewed these Accounting questions