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

  Child process to take the role of the number guesser

Write a program in C that takes a number between 1 and 1024 as input on the command line, and then forks a child process to take the role of the number guesser

  Calculate the celsius equivalent of a fahrenheit temperature

Prepare a program to calculate the Celsius equivalent of a Fahrenheit temperature

  Design a phonecall class that holds a phone number

Design a PhoneCall class that holds a phone number to which a call is placed, the length of the call in minutes, and the rate charged per minute. Overload extraction and insertion operators for the class.

  Write a class called fraction

Write a class called Fraction (this is not related to problem 2 from the text).

  Binary tree routines in c++ that will handle single word

Attached is the input file. The commands should be executed in the order given. Where it says an order type such as inorder, that means to print the tree so far, in that way.

  Write a function to print the data of a student

Write a function to print names of all students who joined in a particular year. Write a function to print the data of a student whose roll number is given.

  Write a program code to compute and build a table of reynold

Write a program code to compute and build a table of Reynolds numbers at flow velocities varying from 100 to 1000 ft/sec (at increments of 100)

  Produce a c program to calculate the total price for order

Your friend has just opened a computer appliances shop at Changloon. He asked your help to develop a computer program which can be used at the counter. Your program should be able to input the customer's order which could be more than one item. Produ..

  Output the even numbers from 1 to 10 in ascending order

Output the even numbers from 1 to 10 in ascending order, then the odd numbers from 10 to 1 in descending order: 2 4 6 8 10 9 7 5 3 1. in C++

  What is meant by value type and reference type objects

Explain what is meant by value type and reference type objects in C#. Explain the differences, providing an example of each. Write the code for an example of each. Develop your examples, instead of using examples from the textbook or the Internet

  Template method patern from the strategy pattern

The template method pattern and the strategy pattern both abstract some computation in the form of methods. What de ning characteristic distinguishes the template method patern from the strategy pattern? Explain your answer.

  Application to accept the name of a folder

Therefore, she asks Hayley to modify the application to accept the name of a folder and display the following details of the files located in the folder: File name File size File creation date. Write the code that Hayley should write to create the..

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