Size occupied by a data item having COMP-1 usage

  1. 1 word

  2. 2 word

  3. depends on value passed

  4. Usage can't be COMP-1


Correct Option: A

AI Explanation

To answer this question, we need to understand the usage of COMP-1 in COBOL.

In COBOL, the COMP-1 data type is used to represent single-precision floating-point numbers. It occupies 4 bytes or 1 word of storage.

Therefore, the correct answer is option A) 1 word. The size occupied by a data item having COMP-1 usage is 1 word.

Find more quizzes: