Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



In a system for a restaurant, the main scenario for placing an order is given below:

(a) Customer reads menu
(b) Customer places order
(c) Order is sent to the kitchen for preparation
(d) Ordered items are served
(e) Customer requests for a bill for the order
(f) Bill is prepared for this order
(g) Customer is given the bill
(h) Customer pays the bill

A sequence diagram for the scenario will have at least how many objects among whom the messages will be exchanged.






Solution

In this restaurant ordering system, the minimum important objects are:

Customer

Menu

Order

Kitchen

Bill

Messages are exchanged among these objects during order placement, food preparation, serving, bill generation and payment.

So, at least $5$ objects are required in the sequence diagram.



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...