Question

Match the following:

FieldLength in bits
P. UDP Header’s Port NumberI. 48
Q. Ethernet MAC AddressII. 8
R. IPv6 Next HeaderIII. 32
S. TCP Header’s Sequence NumberIV. 16
Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2018 answer key

Solution

Recall standard networking protocol header specifications for each listed field.

Evaluate the bit length of each field:

  • P. UDP Header's Port Number: Both source and destination port numbers in UDP (and TCP) are 16 bits long   ⟹  \implies IV.
  • Q. Ethernet MAC Address: Standard IEEE 802.3 MAC addresses are 6 bytes = 48 bits long   ⟹  \implies I.
  • R. IPv6 Next Header: Identifies the type of header immediately following the IPv6 header; it is an 8-bit field (equivalent to IPv4's Protocol field)   ⟹  \implies II.
  • S. TCP Header's Sequence Number: Tracks byte sequencing in the byte stream and is 32 bits long   ⟹  \implies III.

This matches P-IV, Q-I, R-II, S-III, which corresponds to option C.

Final answer

C

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2018 Computer Science and Information Technology (CS)
Question
23 of 65, printed as CS Q.13
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.