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

  Xpath and xslt transformation

Explain the context in XPath. Explain at least three things you will require to perform an XSLT transformation.

  Program that creates an instance of the string class

Write down a Java application that creates an instance of the String class and initializes this instance with a String literal. Use a for loop structure to print the string in reverse order. Implement the following two String member methods to com..

  Concept of software integration

Explain how hospitals, manufacturing, retailing, education, construction, agribusiness, and shipping are improving efforts with their supply chain through the evolution of software.

  Routers

Discuss in detail why the differentiated services (DS) domain comprises of the set of contiguous routers? Also explain how the boundary node routers are different from interior node routers in the DS domain.

  Converting the sum of elements of array into octal format

Provided an array of ints named x and an int variable named total that has already been declared, write down some code which places the sum of all the elements of the array x into total.

  The number closest from the average is the number

Also, your test desire would be very incomplete as I was asking for 6 test: taking the average of 1 number does not seem to be a very extensive test either. you don not need screen dump for the test. just a table with list of inputs and expected r..

  Make a gui based program with a writebutton

make a GUI Based program with a WriteButton used to write data to a sequential data file. Then make another ReadData button to read data from the file created and display it in a JTable on the GUI.

  Conducting the forensic investigation

Describe the purpose of several initial reviews being conducted by forensics investigator (e.g., time lines, technical skills, procedures).

  Plan a simple system, than draw a context data

however your friends tease you about it, you are an unabashed collector of vintage folk songs from the 1950's and 1960's. Your collection now totals several thousand recordings in various formats. To help keep better track of the recordings

  What do you mean by pseudocode and case subroutine call

What do you mean by pseudocode and case Subroutine call

  Patent strategy contributing to succes of technology venture

Describe the ways by which an effective patent strategy contributes to success of technology venture? Answer should include at least 300 words. Also include references.

  Developing countermeasures against dos attacks

Explain whether the administrators of server systems still have to be concerned about, and take the further countermeasures against DoS attacks, if so, what kinds of attacks may still happen, and what measures can be taken in order to decrease 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