Skip to content

GATE CS 2018 Q13 — Concept of Layering: OSI and TCP/IP Protocol Stacks

Explain with AI

Match the following:
FieldLength in bitsP. UDP Header’s Port NumberI. 48Q. Ethernet MAC AddressII. 8R. IPv6 Next HeaderIII. 32S. TCP Header’s Sequence NumberIV. 16\begin{array}{|l|l|}\hline \textbf{Field} & \textbf{Length in bits} \\ \hline \text{P. UDP Header's Port Number} & \text{I. 48} \\ \text{Q. Ethernet MAC Address} & \text{II. 8} \\ \text{R. IPv6 Next Header} & \text{III. 32} \\ \text{S. TCP Header's Sequence Number} & \text{IV. 16} \\ \hline \end{array}

Choose one option
View worked solution

Answer: C

We can determine the correct match by analyzing the standard header field lengths for each protocol:

  • P. UDP Header's Port Number: Both source and destination port numbers in the UDP header are 16 bits (2 bytes) long.
      ⟹  P→IV\implies \text{P} \to \text{IV}
  • Q. Ethernet MAC Address: A physical MAC address consists of 6 bytes, which is 6×8=48 bits6 \times 8 = \mathbf{48\text{ bits}}.
      ⟹  Q→I\implies \text{Q} \to \text{I}
  • R. IPv6 Next Header: The "Next Header" field in the IPv6 header specifies the type of the next header (similar to the Protocol field in IPv4) and is 8 bits (1 byte) long.
      ⟹  R→II\implies \text{R} \to \text{II}
  • S. TCP Header's Sequence Number: The sequence number field in the TCP header is 32 bits (4 bytes) long to allow a large range of sequence numbers.
      ⟹  S→III\implies \text{S} \to \text{III}

Combining these matches, we get:

P-IV, Q-I, R-II, S-III\text{P-IV, Q-I, R-II, S-III}

Hence, the correct option is C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Concept of Layering: OSI and TCP/IP Protocol Stacks questions