Multiple choice technology mainframe

How the data +89 is stored internally if u use the data type COMP

  1. Ox4EF5 F9

  2. OxF8F9

  3. OxC5F9

  4. Ox0059

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The correct answer is D (0x0059). In COMP (binary) format, the decimal value +89 is stored as its hexadecimal representation. Converting 89 to hexadecimal gives 0x0059. The other options represent different values - 0x4EF5 would be a much larger number, 0xF8F9 would be negative in two's complement, and 0xC5F9 doesn't correspond to 89. COMP stores the pure binary value without any special encoding.