At exactly noon on a particular day, 100 people at 100 different ATM terminals attempt to withdraw cash from their bank accounts at the same bank. Suppose their transactions are run sequentially and each transaction takes .25 seconds of compute and I/O time. Estimate howlong it takes to execute all 100 transactions and what the average response time is for all 100 customers.

What will be an ideal response?


The average response time
= (0.25 + 0.50 + 0.75 + ... + 25.00)/100
= 12.825 (seconds)

Computer Science & Information Technology

You might also like to view...

What type of controls are often used to display report titles, informational text, lines, rectangles, and graphics not stored in an underlying table?

A. bound B. unbound C. dynamic D. calculated

Computer Science & Information Technology

The contents of the CPU cache and registers get erased every time the computer gets turned off

Indicate whether the statement is true or false

Computer Science & Information Technology

The x86-64 architecture uses four levels of page tables; each level contains 512 entries (using 64-bit PTEs).However, the kernel provides only three levels of page tables.Assuming that each PTE points to a 4KB page, what is the largest address space the kernel can allocate to processes in this architecture?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is a valid invocation of a value-returning function?

A. ?myFunction(y, z); B. ?x = myFunction(y, z); C. ?int myFunction(); D. ?myFunction(y, z) = x;

Computer Science & Information Technology