ISRO Computer Science (CSE) 2014 - Question 31

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2014

A IP packet has arrived in which the fragmentation offset value is 100, the value of HLEN is 5 and the value of total length field is 200. What is the number of the last byte?

  • A. 194
  • B. 394
  • C. 979
  • D. 1179

Answer: C. 979

Explanation: Offset = 100. Unit is 8 bytes. Start byte = $100 \times 8 = 800$.\nHLEN = 5. Header length = $5 \times 4 = 20$ bytes.\nTotal Length = 200 bytes. Data Length = $200 - 20 = 180$ bytes.\nLast byte = Start byte + Data Length - 1 = $800 + 180 - 1 = 979$.

| | All questions of ISRO Computer Science (CSE) 2014