GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER NETWORKS

Match network layers to their functions

3 questions solved the same way, newest first. Back to Computer Networks

How these are solved

Map routing to network, framing/error handling to data link, and end-to-end communication to transport; check each offered pairing. Protocol-name placement is excluded.

1 mark · MCQ
Report issue

Matching OSI layers to functions

Network Layers & Devices

Question 16, GATE 2025: Match layers (a) network, (b) transport, (c) data link to functions (I) packet routing, (II) framing and error handling, (III) host-to-host communication. A a-I,b-II,c-III; B a-I,b-III,c-II; C a-II,b-I,c-III; D a-III,b-II,c-I.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Approach: Identify the most specific layer functions before assigning the less precise phrase.
The network layer handles packet routing across networks, so a must match I. The data-link layer groups bits into frames for a link and handles link-level error detection or control, so c matches II. Those two matches already identify B among the choices.
The remaining b-III match is the question’s intended description of transport-layer end-to-end communication. More precisely, transport protocols provide process-to-process service using endpoint identifiers such as ports; “host-to-host” is broader wording than the usual precise definition.
A misassigns framing to transport; C assigns framing to network; D assigns routing to data link. Thus B is correct in the supplied matching scheme. Error handling can also exist at other layers, but “framing and error handling” together points to the data-link layer here.

Original paper, page 16 · Answer key

1 mark · MCQ
Report issue

Network Layers & Devices

Question 23, GATE 2014: Which OSI layer/function pair is incorrect? A network/routing; B data link/bit synchronization; C transport/end-to-end process communication; D MAC sublayer/channel sharing.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step 1: Routing is a network-layer responsibility, and transport connects application processes end to end. MAC governs access to a shared communication medium. These match A, C and D. Step 2: Bit synchronization concerns physical timing: identifying bit boundaries in a signal. That belongs to the physical layer rather than the data-link layer. Step 3: Hence B is the incorrect pair. Distinguish bit timing from data-link framing and error detection.

Original paper, page 58 · Answer key

1 mark · MCQ
Report issue

Layer-function matching

Network Layers & Devices

Question 15, GATE 2004: Match layers P=data link, Q=network, R=transport with: (1) reliable transfer over a physical point-to-point link; (2) encode/decode data for physical transmission; (3) end-to-end communication between processes; (4) route data from one network node to the next.
Options:
(A) P-1,Q-4,R-3
(B) P-2,Q-4,R-1
(C) P-2,Q-3,R-1
(D) P-1,Q-3,R-2
Question 15, GATE 2004: Match layers P=data link, Q=network, R=transport with: (1) reliable transfer over a physical point-to-point link; (2) encode/decode data for physical transmission; (3) end-to-end communication between processes; (4) route data from one network node to the next.
Options:
(A) P-1,Q-4,R-3
(B) P-2,Q-4,R-1
(C) P-2,Q-3,R-1
(D) P-1,Q-3,R-2
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. The data-link layer supplies link-local transfer/reliability, P→1; the network layer routes between nodes, Q→4; the transport layer supports end-to-end process communication, R→3. Thus A.

2. Physical encoding/decoding belongs to the physical layer rather than these three.

3. Teaching check: Ask what the communication endpoints are: adjacent link endpoints identify the data-link layer; hosts or network nodes identify routing; application processes identify transport. Encoding bits onto a physical medium is the unused physical-layer description, not a network-layer function.

Original paper, page 2