# NTA NET DEC 2019 (sequence diagram)

430 views

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

2. Customer places order
3. Order is sent to kitchen for preparation
4. Order items are served
5. Customer request for a bill for the order
6. Bill is prepared for this order
7. Customer is given the bill
8. Customer pays the bill

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

1) 3                                              (2)     4

(3) 5                                              (4)     6

Option (3) 5

1. Customer

2. Order taking person

3. Cook

4. Serving person

5. Bill generator

## Related questions

1
387 views
$\text{What is the output of the following C program?}$ #include <stdio.h> main() { int i, j ,x=0 ; for (i=0; i <5 ; ++ i) for (j=0;j <i ;++j) { x+ = (i+j-1); break ; } printf(“%d” ,x); } $1)6 \;\;\; 2)5 \;\;\; 3)4 \;\;\; 4) 3$
Consider the following statements: $\mathbf{S_1:}\;\;$If a group $\mathbf{(G,*)}$ is of order $\mathbf n$ and $\mathrm {a \in G}$ is such that $\mathrm {a^m=e}$ for some integer $\mathrm {m \le n}$ then $\mathbf m$ must divide $\mathbf n$. $\mathbf {S_2:}\;\;$If a ... $(3)\;\;\;\text{Niether}\; \mathrm{S_1}\;\text{nor}\;\mathrm{S_2}$