Question
Official answer and solution
- Official answer
- C
- From
- Official GATE 2013 answer key
Solution
Trace the protocol stack traversal at the source host, each intermediate router, and the destination host.
The transmission path connects across 3 physical links.
-
At Source Host :
- The packet is constructed and passes down through the Network Layer (1 visit).
- It passes through the Data Link Layer to be framed and transmitted on link 1 (1 visit).
-
At Intermediate Router (a Layer-3 device):
- Frame arrives from link 1 and is processed by the Data Link Layer (1 visit).
- Packet moves up to the Network Layer for routing lookup (1 visit).
- Packet moves down to the Data Link Layer for transmission on link 2 (1 visit).
Total at : Network Layer = 1, Data Link Layer = 2.
-
At Intermediate Router :
- Frame arrives from link 2 into Data Link Layer (1 visit).
- Packet moves up to Network Layer for routing lookup (1 visit).
- Packet moves down to Data Link Layer for transmission on link 3 (1 visit).
Total at : Network Layer = 1, Data Link Layer = 2.
-
At Destination Host :
- Frame arrives from link 3 into Data Link Layer (1 visit).
- Packet moves up to Network Layer for delivery to transport layer (1 visit).
Total at : Network Layer = 1, Data Link Layer = 1.
Summing across all entities:
- Network Layer visits: times.
- Data Link Layer visits: times.
This matches option C.
Option (C)
Counting data link layer visits as 1 per intermediate router rather than 2 (one inbound and one outbound).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2013 Computer Science and Information Technology (CS)
- Question
- 14 of 65, printed as CS Q.14
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.