



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 2011/
Module Code: CTEC
School: Science & Informatics
Programme Title: BSc (Hons) in Software Development and Computer Networking
Programme Code: KDNET_8_Y
External Examiner(s): Dr. Kevin Curran Internal Examiner(s): Dr. Oliver Gough
Instructions: Answer four questions
Duration: 2 Hours
Sitting: Winter 2011
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 chat client application together with a single server maintaining and distributing status information for the clients. The server receives 100 status update requests per second during normal operation with a Poisson process. The server requires a mean of 3 .6 ms (exponentially distributed) to compute a suitable response to each packet. In addition the transmission delay is a further 25 us (constant) (i) Calculate the total time each client has to wait until it receives response from the server using a suitable queuing model. (ii) If the capacity of the system is determined by a mean delay better that 2 seconds, what is the corresponding level of demand (requests per second)? [10 marks]
(b) 20 Domestic and mobile users are served by WiMAX base station. Each modem generates fixed size packets of 1500 octets according to a Poisson process with rate = 10/sec. Due to transmission impairments the data rate on the wireless link varies with each PC’s location, which results in effectively 4 data rates Ri, i = 1, …, 4, depending on the error rate on the link. The rates are R 1 = 2 Mbit/s for 30% of the traffic, R 2 = 5Mbit/s, for 30% of the traffic, R 3 =20 Mbit/s for 20% of the traffic and R 4 = 50 Mbit/s for the remainder of the traffic
(i) What is the throughput achieved in this system.
(ii) Calculate the average delay data packets experience in transmission?
(iii) What is the mean no of packets waiting to transmit at any one time? [15 marks] [Total: 25 marks]
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 = 10/sec, all other ri = 0. 1 = 12.5/sec, 2 = 22/sec, 3 = 20/sec, 4 = 12/sec p 12 = 1.0, p 23 = 0.2, p 24 = 0.2, p 32 = 0.6, p 34 = 0.4, p 43 = 1.0, all other pij = 0.
1 2
3 4
r 1 p^12
p 34
p^32 p 43
p 23 p 24
[Total: 25 marks] Q4.
(a) Using Kruskal’s’ algorithm construct a Minimum Spanning Tree for the following network with the link weights as shown. In your answer be explicit about the sequence of edges that are considered and included in the final tree. [10 marks]
3
2
2
6
3 3
1 2
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 = 7 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 7
[15 marks] [Total: 25 marks]
Q5.
(a) Discuss the use of the Inversion method of generating random numbers with a prescribed pdf. (Use e.g. an exponential distribution to illustrate the method) [10 marks]
(b) Briefly describe the structure of a stochastic discrete-event computer simulation program for an M/M/m/m 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]