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.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. 5
Explanation
The scenario involves at least five participants exchanging messages — customer, waiter, kitchen, the order/bill, and the cashier — per the official key.
More Software Engineering questions
- An --------------- chart is a project schedule representation that presents project plan as a directed graph. The critical path is---------…
- According to ISO 9126, match List I with List II. List I: (a) Functionality, (b) Reliability, (c) Efficiency, (d) Maintainability. List II:…
- Match the agile process models with their tasks. List I: (a) Scrum, (b) Adaptive software development, (c) Extreme programming, (d) Feature…
- The sequence diagram given in Figure 1 for the Weather Information System takes place when an external system requests the summarized data…
- How many nodes are there in flowgraph F?
- What is the cyclomatic complexity of flowgraph F?