CS FundamentalsHardGATE CS (PYQ pattern)
An IPv4 packet has header length (IHL) 6, total length 0x0074 bytes, and carries a TCP segment whose data-offset field is 8. The IP header has 4 bytes of options. How many bytes of application data does the TCP segment carry?
- A. 76
- B. 60
- C. 72
- D. 64
Correct answer: B. 60
IP header = 6 x 4 = 24 bytes; TCP header = 8 x 4 = 32 bytes. Data = 116 - 24 - 32 = 60 bytes.
More Computer Networks questions
- A TCP client with initial sequence number 4000 completes the handshake, sends 1000 bytes of data in two segments, and then sends FIN. The…
- A router output port is modelled as an M/M/1 queue with arrival rate 80 packets/s and service rate 100 packets/s. What is the average time…
- A 1 Mbps link is shared by 35 users, each active only 10% of the time (independently) and sending at 100 kbps when active. With packet…
- A 1,000,000-byte message crosses 3 store-and-forward links of 1 Mbps each (ignore propagation and queuing), split into packets with a…
- Requests first check the browser cache (20% hit, 0 ms). Misses go to a campus proxy that hits 40% of the requests it sees and replies in…
- A web page consists of a base HTML file and 10 small objects. Fetching each object with a NEW TCP connection costs 2 RTTs (handshake plus…