In the bank simulation problem, why is it impractical to read the entire inputfile and create a list of all the arrival and departure events before the simulation begins?

What will be an ideal response?


You cannot generate a departure event for a given arrival event independently of other events. So to read the file of arrival events and generate departure events, you would need to perform the same computations that the simulation performs.

Computer Science & Information Technology

You might also like to view...

Answer the following questions true (T) or false (F)

1. If the value of x is 735, the statement printf("%4d", x); will display four blanks followed by 735 2. The value of the expression x + y * z * z is always the same as the value of x + ((y * z) * z) 3. A type char literal is enclosed in single quotes.

Computer Science & Information Technology

In order to identify a particular computer on a network, computers are assigned a unique identifier called a(n) ______________________________ address.?

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When you update data in a worksheet, you must press F9 to update the data in the associated chart

Indicate whether the statement is true or false

Computer Science & Information Technology

What is the final step in the risk identification process?

A. assessing values for information assets B. classifying and categorizing assets C. identifying and inventorying assets D. ranking assets in order of importance

Computer Science & Information Technology