4. Suppose two hosts, A and B, are separated by 10,000 kilometers and are connected
by a direc...
Computers and Technology, 21.02.2020 17:13 lzrd3rik
4. Suppose two hosts, A and B, are separated by 10,000 kilometers and are connected
by a direct link of R =1 Mbps. Suppose the propagation speed over the link is 2.5‧108
meters/sec.
(a) Calculate the bandwidth-delay product, R‧tprop.
(b) Consider sending a file of 400,000 bits from Host A to Host B. Suppose the file is
sent continuously as one big message. What is the maximum number of bits that
will be in the link at any given time?
(c) Provide an interpretation of the bandwidth-delay product.
(d) What is the width (in meters) of a bit in the link? Is it longer than a football field?
(e) Derive a general expression for the width of a bit in terms of the propagation speed
s, the transmission rate R, and the length of the link m.
a) 40,000 bits
b) 40,000 bits
c) The bandwidth-delay product of a link is the maximum number of bits that can
be in the link
d) 1 bit is 250 meters long, which is longer than a football field
e) s/R
5. Refer to problem 4.
(a) How long does it take to send the file, assuming it is sent continuously?
(b) Suppose now the file is broken up into 10 packets with each packet containing
40,000 bits. Suppose that each packet is acknowledged by the receiver and the
transmission time of an acknowledgment packet is negligible. Finally, assume that
the sender cannot send a packet until the preceding one is acknowledged. How long
does it take to send the file?
(c) Compare the results from (a) and (b).
a) ttrans + tprop = 400 msec + 40 msec = 440 msec
b) 10 * (ttrans + 2 tprop) = 10*(40 msec + 80 msec) = 1.2 sec
c) It takes a longer time to send the file if it is broken up into packets and each
packet has to be acked before the next one can be sent out.
Answers: 3
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
Mathematics, 26.09.2019 17:30
Mathematics, 26.09.2019 17:30
Computers and Technology, 26.09.2019 17:30
Spanish, 26.09.2019 17:30
Computers and Technology, 26.09.2019 17:30
Mathematics, 26.09.2019 17:30