Multiple choice technology programming languages

All subscripts should be defined as PIC ____?

  1. NUMERIC

  2. BINARY

  3. ALPHANUMERIC

  4. ANY OF THE ABOVE

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

In COBOL, subscripts should be defined as BINARY (COMP) because binary representation avoids decimal-to-binary conversion overhead during array or table indexing, leading to highly optimized execution speeds compared to using standard alphanumeric or numeric variables which degrade runtime performance.