Question
Match the following:
| Field | Length in bits |
|---|---|
| P. UDP Header’s Port Number | I. 48 |
| Q. Ethernet MAC Address | II. 8 |
| R. IPv6 Next Header | III. 32 |
| S. TCP Header’s Sequence Number | IV. 16 |
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 IV.
- Q. Ethernet MAC Address: Standard IEEE 802.3 MAC addresses are 6 bytes = 48 bits long 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) II.
- S. TCP Header's Sequence Number: Tracks byte sequencing in the byte stream and is 32 bits long 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.