Waiting time is the diff b/w the arrival time and simulation

Assignment Help C/C++ Programming
Reference no: EM13936721

Customers walking into a bank are placed in a queue based on an arrival time distribution. Each customer has:

1. Customer number

2. Arrival time

3. Waiting time

4. Transaction time

The transaction time is based on what a customer decides to do, which can be one of the following:

1. Open a Certificate of Deposit (15 min)

2. Open a checking account (20 min)

3. Open a savings account (25 min)

4. Close checking account (15 min)

5. Closing savings account (17 min)

- The Server removes a customer from the queue then generates a random number between 1 and 5 to simulate a transaction type i.e. Open a checking account etc.

- The Server then sleeps for the duration of the transaction and then writes the customer information to a file.

- Waiting time is the difference between the arrival time and simulation time

Attachment:- CustomerArrival.txt

Reference no: EM13936721

Questions Cloud

Describe the structure of dna in detail : What happened to Rosalind Franklin with respect to her career following the discovery of the chemical nature of DNA? Describe the structure of DNA in detail. Provide an additional image or images which clearly illustrate this structure. Reference yo..
A nation''s current annual rate of growth of per capita real : A nation's current annual rate of growth of per capita real GDP is 3.0 percent, and its annual rate   of population growth is 3.4 percent. What is the nation's annual rate of growth of real GDP?
Discuss scotts legal rights : Discuss Scott's legal rights and if there are any remedies available to him. Refer Sale of Goods Act legislation and legal cases to support your answer.
Compare eukaryotic and prokaryotic processes of translation : Compare the DNA Replication process in cells with the process occurring in the PCR replication. Compare the eukaryotic and prokaryotic processes of transcription and translation.
Waiting time is the diff b/w the arrival time and simulation : The Server removes a customer from the queue then generates a random number between 1 and 5 to simulate a transaction type i.e. Open a checking account etc.
Discuss the implications of susan sontag claim : Photographs do somthing else they hunt as. Discuss the implications of Susan Sontag's claim for contemprory politics and humanitarian organization
Do you agree with caltexs decision not to include measures : Do you agree with Caltex's decision not to include measures of changes in operating profit from productivity improvements under the financial perspective of the balanced scorecard? Explain briefly.
Write a well researched academic capstone project report : Write a well researched academic Capstone Project Report between 3500 and 5000 words on the chosen capstone experience and its application in your chosen organisation
Paper on the topic with an emphasis on health research : Shall individuals be allowed to sue tobacco companies for health damages? Write a detailed research paper on the topic with an emphasis on health research. What I mean by this is that you will locate and discuss health research findings in detail ..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write menu driven program that make coffee shop operational

Write a menu-driven program that will make the coffee shop operational and Buy coffee in any size and in any number of cups.

  Code for the process management simulation

Its C++ in a linux environment for Process Management Simulation

  Create a loops that reads from memory an array

Create a loops that reads from memory an array containing an arbitrary number of characters - The program should make a second character array which is identical to the first, except that the case of every alphabetical letter has been reversed

  Write a program that allows users to enter a dollar amount

Write a program that allows users to enter a dollar amount for their bank account balance at the beginning of the month.

  Write a program that finds the equivalent series

Write a program that finds the equivalent series and parallel resistance for a collection of resistor values. Your program should scan first the number of resistors and then the resistor values. Then compute the equivalent series resistance for all r..

  Write a program to find the area of a circle

Write a program to find the area of a circle. The program should use two procedures. The first procedure will print out the program heading and ask the user to enter the radius.

  Writing a program that creates a linked list

Writing a program that creates a linked list from 100 randomly generated numbers and sorts the using a heap. One heap in ascending order and one heap in descending order. Then displays the original linked list and both sorted lists.

  Design a modularized body mass index program

You are the nutritional coach for a local high school football team. You realize that some of the players are not up to par having returned from summer break. Realizing nutrition plays a key in a productive team, you decide to implement a Body Mas..

  You will write a program that reads a text file

You will write a program that reads a text file, counts the number of words in the file, and the number of occurrences of each character. It will print to a file the number of words, and the number of occurrences of each character, as well as the ..

  Implement the appropriate methods for big numbers

You must implement each big number as a List of single digits and you must also set up the template class List based on a linked list (use the sample codes). You will need to define and implement the appropriate methods for big numbers.

  Construct the wait-for graph

P2 waits for 2 units of R1 and holds 1 unit of R2, P3 holds 2 units of R3 and waits for 1 unit of R4, P4 holds 2 units of R3 and waits for 1 unit of R4. Construct the wait-for graph. Does the system have a deadlock? Justify your answer

  Learning programming easily

C++ LECTURE : Best Lectures: Easy understanding: Learn programming easily, Easy Examples , Easy and simple english used to eloborate. Helping codes included.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd