Calculate the number of successful packet deliveries

Assignment Help Computer Engineering
Reference no: EM132216530

You are writing code to copy software over the network. Given a file size and a constant packet/buffer size, you can easily calculate the number of successful packet deliveries required to copy the file.

What you cannot know beforehand is the time it takes to copy these packets. But users love to see a progress bar which estimates a duration left for copying the file.

a) Suppose you have a file that needs 10 same-size packets to be delivered and the first 9 packets have taken 123, 142, 130, 125, 132, 150, 140, 133, and 148 miliseconds respectively. Estimate the time it takes to deliver the last packet.

b) Now suppose you have a file that needs 1.000 same-size packers to be delivered and you have just delivered the first 499 packets. The average time for the 499 packets is 148 miliseconds, and the last 5 packets have taken 124,140, 132, 134, and 140 miliseconds respectively. Estimate the time it takes to deliver all packets.

Reference no: EM132216530

Questions Cloud

Create an instance of a car and an instance of an airplane : Assigns values to the name, max_speed and number_of_cylinders instance variables of the Car object and the name.
Compute the factorial of value placed in a1 of active sheet : Write a VBA sub procedure to compute the factorial of a value placed in A1 of active sheet and place in B1 of the active sheet.
Simulate the roll of a pair of six-sided dice : Write a VBA script that randomly simulates the roll of a pair of six-sided dice and writes the sum of the roll to column A of the worksheet.
State your understanding of the requirement for this project : You have had a chance to state your understanding of the requirements for this project, draft a preliminary design, and express it by means of UML diagrams.
Calculate the number of successful packet deliveries : What you cannot know beforehand is the time it takes to copy these packets. But users love to see a progress bar which estimates a duration left for copying.
Compute and the frequency of letters in a given text file : Write a function that computes and the frequency of letters in a given text file that is to compute the frequency of occurrence of each letter in the alphabet.
Write a void function and change the argument : Write a void function named zeroit and change the argument passed to the function to zero so that when this function is called.
Write vhdl test bench model to simulate the fibonacci : Write VHDL test bench model to simulate the Fibonacci Calculator model. This model, testbench model has no inputs.
Write a function to compute fibonacci numbers : Write a function to compute fibonacci numbers (in the sequence 0, 1, 1, 2, 3, 5, ... where each number is the sum of the previous two numbers on the list).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create pseudo code that explains how to start the computer

Create pseudo code that explains how to start the computer at your computer lab and open a file in the word processor. Exchange your pseudo code with a classmate and follow the instructions exactly as they appear.

  Why do organization have information deficiency problem

Discuss the relationship between data, information, and knowledge. Support your discussion with at least 3 academically reviewed articles.

  What is csma/cd

What do you feel is the future for Token Ring? What are its advantages or disadvantages.

  What happens when you try to compute larger fibonacci

What happens when you try to compute larger fibonacci numbers? Why? Indicate the answer in a comment in your code.

  How would you challenge mpi to verify its claims

How would you challenge MPI to verify its claims regarding reducing turnover, increasing productivity, and decreasing stress and anger?

  Write a swing program to display the name of your school

Write Swing program to display name of your school in a variety of fonts and sizes. Interface should include JTextPane, Font combo box and Font Size combo box.

  Describe the oracle software file structure you wish to use

Describe the Oracle Software file structure you wish to use. You may use OFA, or not. But identify where all the files (dbf, ctl, ora, etc.) will go on servers.

  Recognize and explain at least two forms of fraud

today there are many industries that remain vulnerable to electronic fraud. for this assignment you will need to

  Estimate the time required for consumption of droplet

In a diesel engine the fuel is injected as small droplets, and after an initial ignition delay, during which time part of the fuel vaporizes and then burns.

  What is the purpose of MPLS

Is UDP the same thing as TCP? Explain. What is the purpose of MPLS? What is the relationship between IP and ICMP? Is DHCP the same thing as NAT? Explain.

  Write the assignment statement that packages your x row

Write the assignment statement that packages your X row vectors into the 2xN variable pts.

  How would you assess quality of a computer program

we have developed quality factors that we look for in a software product to measure quality. These are usually done at the macroscopic level, but how would you assess quality of a computer program if you received an e-mail with a source listing of..

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