# 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
2
559 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$
1 vote
3
386 views
The Data Encryption Standard (DES) has a function consists of four steps. Which of the following is correct order of these four steps? An expansion permutation, S boxes, an XOR operation, a straight permutation An expansion permutation, an XOR operation, S-boxes, ... , S - boxes, an XOR operation, an expansion permutation A straight permutation, an XOR operation, S boxes, an expansion permutation
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}$