cis4307, Fall 2009 5 Minute Test #6 October 22, 2009 1. (12) We are given a communication channel where the data rate is 1mb/s, the distance is 5km. (a) How long will it take to transmit a 4KB block? (b) How long will it take for the data to go from one end to the other? (c) How much data will be in transit? i.e, it has left the source but it has not yet reached the target. 2. (10) Say as much as you can about the difference between "close" and "shutdown" 3. (20) Implement in C the function void transpose2(int a[], int n) which, given an array a with n*n elements, transposes it on its secondary diagonal. That is, it changes 1 2 3 4 into 16 12 8 4 5 6 7 8 15 11 7 3 9 10 11 12 14 10 6 2 13 14 15 16 13 9 5 1