Match the following:
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2018 · Q13
Time

Select one answerSingle correct
Solution
Official answer: C) P-IV, Q-I, R-II, S-III
Principles of LayeringLet us check the lengths of the given network protocol fields:
P. UDP Header's Port Number: Both Source and Destination port numbers in the UDP header are (2 bytes) each IV.
Q. Ethernet MAC Address: An Ethernet MAC address is a 48-bit (6-byte) physical address I.
R. IPv6 Next Header: The Next Header field in the base IPv6 header specifies the type of the next header/protocol and is (1 byte) II.
S. TCP Header's Sequence Number: The Sequence Number field in the TCP header is (4 bytes) long III.
Matching pairs:
Hence, Option C is the correct answer.
Try the question first, then check your work.
Examiner trap
Identify the standard field sizes: port numbers are 16 bits, MAC addresses are 6 bytes (48 bits), and TCP sequence numbers are 32 bits.
This Principles of Layering previous year question is Q13 of the GATE CSE 2018 paper. Find more GATE CSE PYQs on Principles of Layering in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Principles of Layering PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Principles of Layering has 12 GATE CSE PYQs across 10 papers from 2011 to 2025. 9 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2018.
How GATE tests Principles of LayeringIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.