search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
0 votes
430 views

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

  1. Customer reads menu
  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

 

 

in Object Oriented Programming 430 views

1 Answer

0 votes
Option (3) 5

1. Customer

2. Order taking person

3. Cook

4. Serving person

5. Bill generator

Related questions

0 votes
0 answers
1
387 views asked Dec 30, 2019 in CO and Architecture Sanjay Sharma 387 views
4 votes
2 answers
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$
asked Dec 29, 2019 in Programming Sanjay Sharma 559 views
1 vote
1 answer
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
asked Dec 29, 2019 in Computer Networks Sanjay Sharma 386 views
0 votes
1 answer
4
263 views
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}$
asked Dec 29, 2019 in Set Theory & Algebra Sanjay Sharma 263 views
...