Homework 2 Solution - CIS 3360 Security in Computing Spring...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 3360 – Security in Computing Spring 2010 Solution for Homework 2 (100 points) NOTE: For all questions, please show your calculations. Homework submitting instructions: (i) Acceptable file formats: .doc, .docx or .pdf file (ii) The file name should be yourlastname_yourfirstname_HW2 (iii)Include your Full Name and your PID at the top of your document. Notes: b = bit B = Byte = 8 bits For transmission rates, K means 10 3 , M means 10 6 , G means 10 9 , so, 1Mbps = 10 6 bits/s For file sizes, K means 2 10 , M means 2 20 , G means 2 30 , so, 1 KB = 2 10 B = 1024 B m = milli = 10 -3 = 0.001 μ = micro = 10 -6 = .000001 Q1. [5+5+5] Assume that Alice is sending a word document to Bob. The size of the file is 550 KB. a) If the connection bandwidth is 1 Mbps, how much time in seconds will it take to send the entire file? Answer File size is 550 x 2 10 = 563200 bytes Since 1 byte is 8 bits, we have the file size of 563200 x 8 = 4505600 bits The bandwidth is 1000000 bps Thus, it takes 4505600 b/1000000 bps = 4.5056 seconds to send the entire file. b) At what rate should Alice be sending the file if she wanted it to reach two seconds earlier than it does in part (a)? Answer Two seconds earlier means that we want the file to be received in 4.5056-2 = 2.5056 seconds. So, if T x is the desired transmission rate, then from Alice to Bob, we have: 4505600 bits = 2.5056 sec T x in bps => T x in bps = 4505600 bits = 1798212 bps = 1.8 Mbps 2.5056 sec c) Assume that Alice is connected to Bob through satellite. If Alice started sending the file at time t , when will Bob receive the file completely? Assume that satellite propagation delay is 270 ms. Answer It takes t + time to transmit from Alice to Bob + satellite propagation delay = t + 4.5056 s + 270 ms = t + 4.7756 s
Background image of page 1

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

View Full DocumentRight Arrow Icon
Note: Some students have assumed a router in Question 1. Note that if no router is explicitly mentioned in the question, you have to assume that there is no router. The solution with the router is also presented here, although that was not asked in the question. Solution for Question 1 assuming that Alice and Bob are connected via router
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/05/2010 for the course CIS CIS 3360 taught by Professor Guha during the Spring '10 term at University of Central Florida.

Page1 / 5

Homework 2 Solution - CIS 3360 Security in Computing Spring...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online