Multiple choice technology programming languages

What is COMP-1?

  1. Single precision floating point. Uses 4 bytes.

  2. Double precision floating point. Uses 8 bytes.

  3. Double precision floating point. Uses 4 bytes.

  4. None of the above

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

In COBOL, COMP-1 represents a single-precision floating-point data item, which occupies exactly 4 bytes of storage. COMP-2 represents a double-precision floating-point item, which occupies 8 bytes of storage.