Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Problem

One of the local banks is gearing up for a big advertising campaign and would like to see how long its customers are waiting for service at drive-in windows. The bank has asked several employees to keep accurate records for the 24-hour drive-in service. The collected information, which is read from a file, consists of the time when the customer arrived in hours, minutes, and seconds; the time when the customer was actually served; and the ID number of the teller. Write a program that does the following: a. Reads in the wait data.

b. Computes the wait time in seconds.

c. Calculates the mean, standard deviation (the square root of the sum of the squares of the differences between each value and the average divided by the number of values minus one-see formulas in previous problem), and range.

d. Prints a single-page summary showing the values calculated in c.

Input

The first data line contains a title. The remaining lines each contain a teller ID, an arrival time, and a service time. The times are broken up into hours, minutes, and seconds according to a 24-hour clock. Processing

Calculate the mean and the standard deviation. Locate the shortest wait time and the longest wait time for any number of records up to 100.

Output

The input data (echo print). The title. The following values, all properly labeled: number of records, mean, standard deviation, and range (minimum and maximum).

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92685710

Have any Question?


Related Questions in Computer Engineering

A farm has two types of trees 30 are orange trees o and 70

A farm has two types of trees: 30% are orange trees (O) and 70% are apple trees (A). Frost (F) has damaged 40% of the orange trees (F|O)=0.4 and 10% of apple trees. What is the probability that a randomly selected tree w ...

Referring to myerss article there is a quote from stu card

Referring to Myers's article, there is a quote from Stu Card on page 52.This represents 1998's reality and vision for HCI research. Do you think that this vision explains innovation and research in HCI 1998-2017? Researc ...

What is the purpose of load balancing i need full

What is the purpose of load balancing? (I need full explanation) I already know what load balancing is, I just need to know why we use it

Question a description of the tasks and mechanisms that

Question: A description of the tasks and mechanisms that allow you to examine the existing system (a minimum of 3 different tools should be described) A description of conceptual, logical and physical data modeling A des ...

Question high-performing teambullimagine that you are an

Question: "High-Performing Team" • Imagine that you are an agile coach. Outline a plan that sets the expectations for your team when beginning a project. Provide a rationale for your response. • Read the mini-case titled ...

Relational algebrawrite a relational algebra expression

[Relational Algebra] Write a relational algebra expression that will output first name and last name of computer science major male students who have borrowed books from "University of Iowa Main Library". Relational Sche ...

Software engineeringyou are a webapp designer for

Software Engineering You are a WebApp designer for FutureLearning Corporation, a distance learning company. You intend to implement an Internet-based "learning engine" that will enable you to deliver course content to a ...

Lets do some r suppose you have the following situation you

Let's do some R.... Suppose you have the following situation: You have a large jar of beans, 43% black, 57% white. You take a sample of 14 beans. a) Use R to figure out the probability for every single possible outcome. ...

Question how is inventory management helpful in the scope

Question: How is inventory management helpful in the scope and structure of operations management? Note: Given paragraphs are for reference purpose. Structure and Scope of Operation There are three aspects of operations ...

Question what would be the impact of predictive modeling on

Question: What would be the impact of predictive modeling on healthcare and medicine? Can predictive modeling replace managerial or medical personnel? 500 word The response must be typed, single spaced, must be in times ...

  • 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