



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Semester 1 Examinations 2009/
Module Code: CTEC
School: Mathematics and Computing
Programme Title: B.Sc. in Software Development and Computer Networking
Programme Code: CR_KDNET_8_Y
External Examiner(s): Dr. Kevin Curran Internal Examiner(s): Dr. Oliver Gough
Instructions: Answer four questions
Duration: 2 Hours
Sitting: Winter 2009
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
(a) Consider a LAN with a large number of PCs each running a FTP client application and a single FTP server. The server receives 15 GET requests per second during normal operation according to a Poisson process. The file size is exponentially distributed with a mean of 30 kB. The LAN operates at 10 Mb/s and you may assume that MAC delays and other server processing delays are negligible (i) Calculate the total time each user has to wait until she receives a reply to her request using a suitable queuing model. (ii) By what percentage does the average LAN speed need to be increased in order to maintain the delay calculated in part (i) of the question when queries are received at a rate of 200 per second? [10 marks]
(b) N = 4 PCs are connected via a switch to a wireless broadband subscriber module connecting an office LAN to a wireless internet service provider. Each computer generates fixed size IP packets of 8192bits according to a Poisson process with rate λ = 25/sec. Due to transmission impairments the data rate on the wireless link varies over time, which results in effectively 3 data rates Ri , i = 1, …, 3, depending on the error rate on the link. The rates are R 1 = 512kbit/s for 30% of the time, R 2 = 1024kbit/s, 15% of the time, and R 4 = 2048kbit/s for the remainder of the time NOTE: You can neglect the delay on the office LAN
(i) Calculate the average delay data packets experience in the wireless subscriber module before transmission. (ii) Estimate the memory size of the transmission buffer that the subscriber modules requires based on average demand so that few packets are lost. (iii) What single data rate would be required for the wireless link in order to maintain the same average delay if the packet size was exponentially distributed with mean 8192bits? [15 marks] [Total: 25 marks]
(a) A queuing network is shown in Figure Q3. Calculate the average queue length and average queuing delay for each of the four queues in the network. The parameter values shown are as follows: r 1 = 20/sec, all other r (^) i = 0. μ 1 = 35/sec, μ 2 = 22/sec, μ 3 = 12/sec, μ 4 = 18/sec p12 = 0.7, p 14 = 0.3, p 23 = 0.3, p 32 = 0.5, p 34 = 0.5, p 43 = 0.4, all other pij = 0.
μ 1 μ (^2)
μ 3 μ (^4)
r 1 p^12
p 34
p 14
p^32 p (^43)
p 23
[Total: 25 marks] Q4.
(a) Using the Bellman-Ford algorithm, develop the least-cost routing table for source node s = 8 for the network of 8 nodes shown in Figure Q4(a). The link costs are assumed bidirectional with equal costs in both directions. In your answer tabulate the least cost associated with each route. [10 marks]
2
2
2
6
3 3
1 1
3 3 3 2
1
1
(b) Using the Ford-Fulkerson algorithm, calculate the maximum flow f between source node s = 3, and destination node d = 6 for the network of 6 nodes shown in Figure Q4(b). Link capacities and flow direction are shown with each link.
1
3 5
6
2 4
[15 marks] [Total: 25 marks]
Q5.
(a) Describe a method for computer generated pseudo random numbers that are uniformly distributed over the interval [0, 1] and show with the help of mathematical expressions how exponentially distributed random variates can be generated based on those pseudo random numbers. [10 marks]
(b) Briefly describe the structure of a stochastic discrete-event computer simulation program for an M/G/1 queuing system. You may use the functionality of a particular simulation system or programming language to help you in your description. [15 marks] [Total: 25 marks]