All mock tests are FREE till 31 December — register to save your progress

CB84000D001C001C is the content of a UDP header in hexadecimal format. The source port number is

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 52100

Explanation

The first 2 bytes of the UDP header are the source port: CB84 (hex) = 12×4096 + 11×256 + 8×16 + 4 = 49152 + 2816 + 128 + 4 = 52100. (Destination port 000D = 13, length 001C = 28.)

More Data Communication and Computer Networks questions