Switching
Question 1 |
Consider a source computer (S) transmitting a file of size 106 bits to a destination computer (D) over a network of two routers (R1 and R2) and three links (L1, L2 and L3). L1 connects S to R1; L2 connects R1 to R2; and L3 connects R2 to D. Let each link be of length 100 km. Assume signals travel over each link at a speed of 108 meters per second. Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?
1005 ms | |
1010 ms | |
3000 ms | |
3003 ms |
Question 1 Explanation:
Propagation delay = (Distance) / (Velocity) = 3*105/108 = 3ms
Total transmission delay for 1 packet = 3 * L / B = 3*(1000/106) = 3ms. Because at source and 2 routers, we need to transmit the bits.
The first packet will reach destination = Tt + Tp = 6ms.
While the first packet was reaching to D, other packets must have been processing in parallel. So D will receive remaining packets 1 packet per 1 ms from R2. So remaining 999 packets will take 999 ms.
And total time will be 999 + 6 = 1005 ms
Question 2 |
Assuming that for a given network layer implementation, connection establishment overhead is 100 bytes and disconnection overhead is 28 bytes. What would be the minimum size of the packet the transport layer needs to keep up if it wishes to implement a datagram service above the network needs to keep its overhead to a minimum of 12.5%. (Ignore transport layer overhead)
512 bytes | |
768 bytes | |
1152 bytes | |
1024 bytes |
Question 2 Explanation:
→ Given a question is based on circuit-switching.
→ In circuit-switching, the total time required to send data = Setup connection time + Transfer time + Teardown the connection time
→ In datagram-service, the total time required to send data = N*Setup connection time + Transfer time
→ In circuit-switching, the total time required to send data = Setup connection time + Transfer time + Teardown the connection time
→ In datagram-service, the total time required to send data = N*Setup connection time + Transfer time
Question 3 |
A packet switching network
is free | |
can reduce the cost of using an information utility | |
allows communications channel to be shared among more than one user | |
boh (B) and (C) |
Question 3 Explanation:
Packet switching is a method of grouping data that is transmitted over a digital network into packets. Packets are made of a header and a payload. Data in the header are used by networking hardware to direct the packet to its destination where the payload is extracted and used by application software.
There are 3 questions to complete.
