By testing example with different values for the inputs

Assignment Help Computer Engineering
Reference no: EM1330437

A tech support queue consists of n number of positions and the current position that the tech support individual is working with. If there are no customers that need assistance, the tech support person will go on break for x number of seconds (representing minutes). Also if a customer enters the support queue but the queue already has n number of individuals, then the customer is rejected (with a counter). The tech support person will help the person for y number of seconds (representing minutes). The customers should come in at a steady rate by z number of seconds. There should be a max of customers that may come in as w.

STEPS
1. Write a program using C++ or Java that will take in the following parameters from the user:

x: break for number of seconds
y: time it takes to resolve one individual
z: rate that the customers should be added
w: maximum number of customers allowed to attempt to enter the queue

2. If the rate of y is less than z, then the queue may never get full. The program will simulate process synchronization. You will want to make sure that you output a message during each of these transactions:

Tech support goes on break
Tech support comes back from break
Customer attempts to enter queue
Customer enters queue at position (#)
Customer is rejected due to queue being full
Tech support is currently serving customer (#)
Tech support is finished serving customer (#)
Last customer is finished being served

3. Output the number of served customers and the number of rejected customers with the total length of time it took to serve the customers. Develop a thorough testing example with different values for the inputs.

Reference no: EM1330437

Questions Cloud

Explain privacy and security issues : Explain privacy and security issues - what do you meant by privacy and security issues explain with example
Describe the providers equilibrium salary : Describe the provider's equilibrium salary and how many nursing units it will hire.
Explain what hr staff will you need in london : International HRM for an IT Consulting Firm - What HR staff will you need in London? Will your HR employees be expatriate employees, host country nationals, and/or third country nationals?
Vision statement for reaching your ideal potential : How did you develop this vision statement for reaching your IDEAL potential?
By testing example with different values for the inputs : The customers should come in at a steady rate by z number of seconds. There must be a max of customers that may come in as w.
A discussion on kirkpatrick''s four levels of evaluation : Provide a explained discussion on Kirkpatrick's four levels of evaluation?
Explain customer behavior : Explain customer behavior - what do you meant by customer behavior illustarte
Employee, consumer and community relations : What are the key facts and critical issues of that event and summarize them here as they relate to the past conduct of the organization and examine American Red Cross's effort to improve relations with each of these stakeholder groups: employee, c..
Suppose the costs also benefits incur at the end of the year : Suppose the costs also benefits incur at the end of the year, should the city buy the trucks.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Translation of this into a generic assembly language

A compiler for a RISC machine would introduce delay slots into this code so that the processor can employ the delayed branch mechanism.

  Make an assignment to read rfc

Make an assignment to read RFC

  Program to input the phone numbers

Write down a program which prompts the user to enter a telephone number expressed in the letters and outputs corresponding telephone number in digits.

  What are the reasons why systems fail

What must be management's role in the system development life cycle.

  Modify java application that displays the product number

make a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit).

  Decreasing risk of malicious attacks

While a large percentage of the information technology security budgets is devoted to decreasing the risk of malicious attacks, there exist other ways in which systems or data become damaged.

  Problem on boolean calculator

Problem on Boolean Calculator

  How can be secure mail infrastructure using identities

How can be secure mail infrastructure using identities.What may be a new approach to secure mail infrastructure?

  Network security planning

Securing a large internetwork is considered as a daunting challenge. Cloud computing and the social networks add to this complexity. In two to three (2-3) pages.

  Determining the project schedule

Discuss in scholarly detail how you determine a project schedule once the critical path has been identified and how to adjust the schedule if the calculated project.

  How many register windows must be saved to memory

How many register windows must be saved to memory.

  Write down program for a bank account

Write down program for a bank account

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