GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 13

Network field widths

Computer Networks · Network Layers & Devices · Full GATE CSE 2018 paper

GATE 2018, Q13 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Network Layers & Devices

Question 13, GATE 2018: Match P UDP port, Q Ethernet MAC address, R IPv6 Next Header, S TCP sequence number to I 48, II 8, III 32, IV 16 bits. Options: A P-III,Q-IV,R-II,S-I; B P-II,Q-I,R-IV,S-III; C P-IV,Q-I,R-II,S-III; D P-IV,Q-I,R-III,S-II.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Method

A UDP source or destination port is a 16-bit field, allowing 65536 numeric values. A conventional Ethernet address is six octets, hence 48 bits. IPv6 Next Header is a one-octet protocol identifier, not a pointer-sized field. TCP’s sequence space has 232 byte positions. These independent facts yield the complete matching; confusing byte lengths with bit lengths is the main arithmetic trap.

Solution

UDP port numbers have 16 bits; Ethernet MAC addresses 48; IPv6 Next Header8; TCP sequence numbers 32. Therefore P-IV, Q-I, R-II, S-III, C.

Original paper, page 7 · Answer key