GATE / CS ARCHIVE

SUBJECT COLLECTION

Computer Networks · Other / Mixed Topics

1 questions, newest first

Browse topics
1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Other / Mixed Topics

Question 16, GATE 2025: Assess two statements: (i) ARP maps an IP address to the corresponding hardware/link-layer address; (ii) a TCP segment from S to R cannot simultaneously contain S-to-R data and an acknowledgment for R-to-S traffic.
Options: A. both true; B. (i) true and (ii) false; C. (i) false and (ii) true; D. both false.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

For the IPv4 local-link setting, ARP resolves a next-hop IPv4 address to a link-layer address, such as an Ethernet MAC address. A host broadcasts an ARP request for the local next hop, and the reply supplies the hardware address used in the frame. This makes (i) true; ARP is not a mechanism for finding an arbitrary remote host's MAC through multiple routers.

TCP is full duplex. A segment has separate sequence-number and acknowledgment-number fields as well as a payload. The payload can carry bytes from S to R while the acknowledgment field, with ACK set, reports bytes already received by S from R. Combining them is called acknowledgment piggybacking and saves a separate ACK-only packet. Therefore (ii), which says they cannot be combined, is false. Answer: B.

Original paper, page 14 · Answer key