Question

In: Computer Science

Consider 5 sequentially connected switches labeled switch 1, 2, 3, 4 and 5, and each switch...

Consider 5 sequentially connected switches labeled switch 1, 2, 3, 4 and 5, and each switch has 4
hosts connected to it (total of 20 hosts). If a host on switch #1 made a virtual circuit connection to
every other host on the network, how many rows would be in each switch's virtual circuit table?

Solutions

Expert Solution

There will be 2 rows for each switch's virtual circuit table.

There are several things to note about virtual circuit switching:

  • Since host 4 has to wait for the connection request to reach the far side of the network and return before it can send its first data packet, there is at least one round-trip time (RTT) of delay before data is sent.
  • While the connection request contains the full address for host 2(which might be quite large, being a global identifier on the network), each data packet contains only a small identifier, which is only unique on one link. Thus, the per-packet overhead caused by the header is reduced relative to the datagram model. More importantly, the lookup is fast because the virtual circuit number can be treated as an index into a table rather than as a key that has to be looked up.
  • If a switch or a link in a connection fails, the connection is broken and a new one will need to be established. Also, the old one needs to be torn down to free up table storage space in the switches.
  • The issue of how a switch decides which link to forward the connection request on has been glossed over. In essence, this is the same problem as building up the forwarding table for datagram forwarding, which requires some sort of routing algorithm. Routing is described in a later section, and the algorithms described there are generally applicable to routing setup requests as well as datagrams.

Related Solutions

An electrical circuit contains two switches, labeled ―A‖ and ―B,‖ which are connected in parallel; i.e.,...
An electrical circuit contains two switches, labeled ―A‖ and ―B,‖ which are connected in parallel; i.e., the circuit functions if either (or both) of the two switches functions. The probability that switch A functions is 3/4. However, the switches do not operate independently. If switch A functions, then switch B functions with probability 8/9. If switch B functions, then switch A functions with probability 4/5. (a) What is the probability that both switches function? (b) What is the probability that...
2. Consider functions f : {1, 2, 3, 4, 5, 6} → {1, 2, 3, 4,...
2. Consider functions f : {1, 2, 3, 4, 5, 6} → {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. (a) How many of these functions are strictly increasing (i.e. f(1) < f(2) < f(3) < f(4) < f(5) < f(6))? Hint: How many different possibilities are there for the range of f? For each range of f, how many strictly increasing functions are there? (b) How many of these functions are non-decreasing (i.e. f(1) ≤ f(2) ≤...
A box contains billions of tickets, all labeled either 1, 2, 3, 4, or 5. A...
A box contains billions of tickets, all labeled either 1, 2, 3, 4, or 5. A simple random sample of 400 tickets is taken; the sample mean is 2.6 and the sample SD is 1. Let μ represent the population mean. Which of the following statements are correct? (More than one statement may be correct.) A. There is a 68% probability that μ is between 2.55 and 2.65. B. The interval between 2.55 and 2.65 is a 68% confidence interval...
PROBLEM 5. A box contains 10 tickets labeled 1, 2, 3, 4, 5, 6, 7, 8,...
PROBLEM 5. A box contains 10 tickets labeled 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Draw four tickets and find the probability that the largest number drawn is 8 if: (a) the draws are made with replacement. (b) the draws are made without replacement. PROBLEM 6. Suppose a bakery mixes up a batch of cookie dough for 1,000 cookies. If there are raisins in the dough, it's reasonable to assume raisins will independently have a .001 chance...
2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6,...
2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6, 5 By hand, not using Matlab, and showing your work: (a) Compute the correlation coefficient. (b) Find the least-squares line. (c) Find the standard deviation around the least-squares line.
Consider a set A = { 1, 2, 3, 4, 5, 6, 8} Consider these relations,...
Consider a set A = { 1, 2, 3, 4, 5, 6, 8} Consider these relations, 1. R1 = { ( a, b) | a = 3b } Can you write down the pairs ? one such pair is ( 3, 1) 2. R2 = { (a, b) | 2a = b } Can you write down the pairs ? one such pair is (2, 4) 3. R3 = { ( a, b) | a >= 2b } Can you...
Consider the following set of numbers: {3, 5, 2, 5, 5, 15, 2, 2, 4, 4,...
Consider the following set of numbers: {3, 5, 2, 5, 5, 15, 2, 2, 4, 4, 20, 4998, 4} 14. The Q3 of this set is: a. 4 b. 5 c. 2 d. 10 15. The Q1 of this set is: a. 4 b. 5 c. 2 d. 2.5 e. 3
4. (a) Suppose that τσ=(1 5 2 3)(4) and στ=(1 2 4 5)(3) in S5. If...
4. (a) Suppose that τσ=(1 5 2 3)(4) and στ=(1 2 4 5)(3) in S5. If σ1 = 2, find σ and τ. (b) In Sn, show that σ = τ if and only if σ(τ)^(−1) = ε. ε is the identity permutation. Must be written as a proof. (c) Let σ=(1 2 3) and τ=(1 2) in S3. Show that S3={ε,σ,σ^2,τ,τσ,τ(σ)^2} and that σ^3=ε=τ^2 and στ=τ(σ)^2, then fill out the multiplication table for S3.
Consider the data. xi 1 2 3 4 5 yi 4 7 5 11 15 The...
Consider the data. xi 1 2 3 4 5 yi 4 7 5 11 15 The estimated regression equation for these data is  ŷ = 0.60 + 2.60x. (a)Compute SSE, SST, and SSR using equations SSE = Σ(yi − ŷi)2, SST = Σ(yi − y)2, and SSR = Σ(ŷi − y)2. SSE=SST=SSR= (b) Compute the coefficient of determination r2. r2 = Comment on the goodness of fit. (For purposes of this exercise, consider a proportion large if it is at least...
Consider the data. xi 1 2 3 4 5 yi 4 7 5 11 13 (a)...
Consider the data. xi 1 2 3 4 5 yi 4 7 5 11 13 (a) Compute the mean square error using equation  s2 = MSE = SSE n − 2  . (Round your answer to two decimal places.) (b) Compute the standard error of the estimate using equation s = MSE = SSE n − 2  . (Round your answer to three decimal places.) (c) Compute the estimated standard deviation of b1 using equation sb1 = s Σ(xi − x)2...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT