Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Telephone SystemConsider a telephone system that has an automatic redial feature that will allow the user to return callsautomatically.

This telephone system can store the telephone numbers of the 10 most recent callers. Once thelimit of 10 is reached, and another call is made, the least recent number is deleted to make room for the mostrecent number.When the user wishes to review his/her calls, the user can choose between:1. Review new calls2. Review old calls3. ExitNew calls are reviewed by starting with the most recent caller. Old calls are reviewed by starting with the first callthat was place on the list of old calls. When reviewing calls, the user may decide from the

following:1. Call back the caller2. Ignore the caller, that is, never call back3. Call back later. (Put phone number on a queue for later)Use the following data structures in your program: - Use a queue to hold the telephone numbers of the incomingnew calls. (New calls queue) - Transfer the telephone numbers from the new calls queue to a stack in order to setup for reviewing the calls. - Use another queue of size 5 to hold the numbers that the user wishes to wait to call(old calls queue). Note: This queue works just like the new calls queue, in that, if there are 5 numbers on thequeue, and a number needs to be added, the number that has been on the queue the longest is removed to makeroom for the new number.NOTEThis program should be menu driven. - Read the numbers from an input file to simulate incoming calls. - A phonenumber leaves the system if the user calls back or ignores the caller. - When the user reviews old calls, the numbersare taken from the old calls queue directly without using the stack. The stack is used when reviewing calls fromthe new calls queue.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91426184
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Explain why some organizations may not place enough

Explain why some organizations may not place enough importance on disaster recovery. What might happen to these organizations in the event of an actual disaster?

As part of a bear population study data were gathered on a

As part of a bear population study, data were gathered on a sample of black bears in the western United States to examine the relationship between the Bear's neck girth (distance around the neck) and the weight of the be ...

Hoping to lore more shoppers downtown he said he built a

Hoping to lore more shoppers downtown. He said he built a new public parking garage in central business district. The city plans to pay for the structure through parking fees. For a random sample of 44 weekdays, daily fe ...

Need references for information for the following dealing

Need references for information for the following dealing with CSMS (Consolidated Sales and Marketing System Project) Produce a narrative which describes the added error-handling pathways that includes: an overview of th ...

The project is the process of implementing an information

The project is the process of implementing an information system proposal that provides a specific strategic direction while setting company performance goals and delivering customer value. I need help Identifying 4 diff ...

How do you make a java program that reads two diagonal

How do you make a Java program that reads two diagonal points, say p1 and p2, of an up-right rectangle and finds both the smallest circle containing the rectangle and the largest circle that can be contained in the recta ...

San juan sailboat charters sjsbc is an agency that leases

San Juan Sailboat Charters (SJSBC) is an agency that leases (charters) sailboats. SJSBC does not own the boats. Instead, SJSBC leases boats on behalf of boat owners who want to earn income from their boats when they are ...

Question creating an interface please respond to the

Question: "Creating an Interface" Please respond to the following: • Imagine you are managing a design project that will create an interface for automobile mechanics. The interface would be used by the mechanics to look ...

Submit a report in which you plan a strategy for

Submit a report in which you plan a strategy for introducing or improving a mobile Web site in your organisation (or an organisation with which you are familiar). Your report must outline how your choice of strategy will ...

Patient patientid familyname givenname address suburb state

PATIENT (PatientID, FamilyName, GivenName, Address, Suburb, State, PostCode) DOCTOR (ProviderNo, Name) ITEM (ItemNo, Description, Fee) ACCOUNT (AccountNo, ProviderNo, PatientID, TreatmentDate) ACCOUNTLINE (AccountNo, Ite ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As