answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tia_tia [17]
2 years ago
3

A packet switch receives a packet and determines the outbound link to which the packet should be forwarded. when the packet arri

ves, one other packet is halfway done being transmitted on this outbound link and four other packets are waiting to be transmitted. packets are transmitted in order of arrival. suppose all packets are 1,500 bytes and the link rate is 2 mbps. what is the queuing delay for the packet? more generally, what is the queuing delay when all packets have length l, the transmission rate is r, x bits of the currently-being-transmitted packet have been transmitted, and n packets are already in the queue?
Computers and Technology
1 answer:
Natalka [10]2 years ago
8 0

Queuing delay = La/R

R: link bandwidth (bps)

L: packet length (bits)

a: average packet arrival rate

The queuing delay for packet 1 = 0

The queuing delay for packet 2 = L/R

The queuing delay for packet 3 = 2L/R

The queuing delay for packet 4 = (3)L/R

The queuing delay for packet N= (N-1)L/R

Average queuing delay for packet N

= 1/N [0 + L/R + 2L/R +………+ (N-1)L/R]

=L/NR[1 + 2 + ……….+ (N-1)]

=(L/NR) (N-1) N/2 = (N-1)L/2R

so as per que queuing delay is

(4-1)(1500*8)bits/2 * (2 * 1024 * 8)bits/sec = 4500 /4096 =1.098

You might be interested in
Using the expected format, of putting key information where the reader can’t find it, is an example of?
Brums [2.3K]
The answer is professional etiquette.
6 0
2 years ago
Read 2 more answers
In the graph shown here, by what percentage are the number of people in computer occupations in general projected to increase?
SOVA2 [1]

Answer:

12% or 21%

Explanation:

not really sure

8 0
2 years ago
Read 2 more answers
c++ You are given an array A representing heights of students. All the students are asked to stand in rows. The students arrive
Lilit [14]

The below code will help you to solve the given problem and you can execute and cross verify with sample input and output.

#include<stdio.h>

#include<string.h>

 int* uniqueValue(int input1,int input2[])

 {

   int left, current;

   static int arr[4] = {0};

   int i      = 0;

     for(i=0;i<input1;i++)

      {

         current = input2[i];

         left    = 0;

         if(current > 0)

         left    = arr[(current-1)];

      if(left == 0 && arr[current] == 0)

       {

       arr[current] = input1-current;

       }

       else

   {

       for(int j=(i+1);j<input1;j++)

       {

           if(arr[j] == 0)

           {

               left = arr[(j-1)];

               arr[j] = left - 1;

           }

       }

   }

}

return arr;

}

4 0
2 years ago
Picture an expensive item you’d LOVE to own. What would make you happier: Buying it NOW using credit/taking out a loan? Buying i
dezoksy [38]

Answer:Buying Later

Explanation: Buying later would be the better choice because not only will you feel reawrded for working hard to get what you want but you also will not have to o throught the hassle of getting a loan. It may also be cheeper becuae many loans charge interest.

5 0
2 years ago
Write a code segment that uses an enhanced for loop to print all elements of words that end with "ing". As an example, if words
nadezda [96]

Answer:

 public static void main(String[] args) {

   String ing[] = {"ten","fading","post","card","thunder","hinge","trailing","batting"};

   for (String i: ing){

     if (i.endsWith("ing")){

       System.out.println(i);

    }

   }

 }

Explanation:

The for-loop cycles through the entire list and the if-statement makes it so that the string is only printed if it ends with "ing"

6 0
2 years ago
Other questions:
  • An electronics store purchased a CD player at a wholesale price of $60 and then sold it at a 40 percent discount off the origina
    13·1 answer
  • Betsy recently assumed an information security role for a hospital located in the United States. What compliance regulation appl
    6·1 answer
  • Write a program that prints the U.S. presidential election years from 1792 to present day, knowing that such elections occur eve
    9·1 answer
  • While trying to solve a network issue, a technician made multiple changes to the current router configuration file. The changes
    7·1 answer
  • Assume there is a class AirConditioner that supports the following behaviors: turning the air conditioner on and off. The follow
    7·1 answer
  • Suppose that f is a function with a prototype like this: void f(________ head_ptr); // Precondition: head_ptr is a head pointer
    6·1 answer
  • Write multiple if statements: If carYear is before 1968, print "Probably has few safety features." (without quotes). If after 19
    6·1 answer
  • Polygon transform (25 points). Write a library of static methods that performs various geometric transforms on polygons. Mathema
    12·1 answer
  • Flight Simulation software, which imitates the experience of flying, is often used to train airline pilots. Which of the followi
    10·2 answers
  • Which OS function does a CLI fulfill? A User interface B Running applications C Hardware interface D Booting
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!