Professional Documents
Culture Documents
Q1. Briefly define the following terms (write formula where applies): [20 marks]
i. Computer Network :-
A collection of independent computers connected to each other so that they can communicate to each other and
share resources.
ii. Store-and-forward:-
Entire packet must arrive at router/switch before it can be transmitted on the next link.
iii. Packet-switching :-
Hosts break application-layer messages into packets. These packets are forwarded from one router to the next,
across links on path from source to destination. Each packet is transmitted at full link capacity.
v. Protocol :-
Protocols define format and order of messages sent and received among network entities, and actions taken on
message transmission and receipt.
vi. Throughput:-
Rate (bits/time unit) at which bits are transferred between sender/receiver.
Page 1 of 6
ix. IP spoofing:-
The ability of a sender to inject packets with false source address into the network.
Page 2 of 6
10 Mbps, 100Mbps, 1Gbps, 10Gbps
2) Access Network :-
Wired and wireless communication links connecting you to the 1st router
3) Network Edge :-
Hosts (i.e., clients and servers)
ix. Which layers are implemented by a host/PC, a router, a switch and a hub? (tick only)
Node Application Transport Network Data Link Physical
Hub √
Switch √ √
Router √ √ √
PC/Host √ √ √ √ √
Page 3 of 6
Q3. Internet protocol stack: [20 marks]
i. What are the advantages of using layers (as in OSI model and Internet protocol stack)?
Explicit structure allows identification and relationship of complex system’s pieces.
Modularization eases the maintenance and updating of system, i.e., any change of implementation of layer’s
service remains transparent to the rest of system.
iii. Write names, functions and protocols of each layer in the Internet protocol stack.
supporting network
1 application FTP, SMTP, HTTP
applications
process-process data
2 transport TCP, UDP
transfer
routing of datagrams
3 network from source to IP, routing protocols
destination
iv. Why presentation and session layers are missing from Internet protocol stack?
The services provided by presentation and session layers, if needed, can be implemented in the application itself.
Page 4 of 6
Q4. Traceroute: [10 marks]
tracert www.google.com
command was run on my
computer with Windows 7
and results are shown in the
given figure.
ii. An asterisk is shown for some of the results; what does this * mean?
No reply is received from these routers.
iii. What is average end-to-end delay between my computer and the Google server? … (one way delay)
average end-to-end delay = ( 1614/2 + 1388/2 + 1489/2 ) / 3 = 748.5 milliseconds
Page 5 of 6
i. No. of users or circuits supported:
No. of users = Bandwidth of the link / Bandwidth of each circuit = 4 Mbps / 0.5 Mbps = 8
before the link. (However, there will be queuing delay when 5 or more users will be transmitting simultaneously) This isexplained indetails inpart-ix.
vii. Probability that K out of N users are transmitting at the same time: (Hint: Use the binomial distribution)
Pp (K | N) = =
where p is the probability that a user is transmitting.
x. End-to-end delay: (hint: delay at one node is dnodal = dproc + dqueue + dtrans + dprop)
Delays b/w Server_1 & Router_1 = 100 msec + 0 + (1 Mbits /2 Mbps) + (2000/3x108 ) = 0.6000067 seconds
Delays b/w Router_1 & Router_2 = 100 msec + 200 msec + (1 Mbits /4 Mbps) + (4000/3x108 ) = 0.5500133 seconds
Delays b/w Router_2 & Client_1 = 100 msec + 200 msec + (1 Mbits /1 Mbps) + (1000/3x108 ) = 1.300003 seconds
Explanation
d proc d queue d trans d prop Total
Page 6 of 6