{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps6-solutions - I ntroduction to Computer Science and Java...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Computer Science and Java Programming, Fall 2009 Problem Set 6 Chapter 7 4. 2.5+2.5 = 5pts (for part a, answers may vary depending on the assumptions they have made. Make sure that their assumptions are reasonable) a. Recall from chapter 5 that a megabyte can store about 2.5 books. Therefore, to store one million books, one would need 1,000,000 / 2.5 = 400,000 megabytes = 400,000,000,000 bytes. b. The amount to be transferred is 400,000,000,000 * 8 = 3.2 * 10^12 bits = 3,200,000 Mbits. At the rate of 10 Mbps, the transfer time would be 3,200,000 Mbits / 10 Mbits/second = 320,000 seconds At the rate of 1 Gbps = 1000 Mbps, the transfer time would be 3,200,000 Mbits / 1000 Mbits/second = 3,200 seconds 10. 5pts The store-and-forward protocol would handle a packet repeatedly getting sent from node A to B but not correctly arriving by finding another route on the network from node A to B and retransmitting every lost packet on that new route. Modifications we could make to this protocol to handle this particular situation are to number each of the packets and have the receiver send acknowledge packets back to the sender.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern