{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps6-solutions

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

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

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.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern