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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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