Multiple choice technology mainframe

A Table can have how many dimensions?

  1. 3

  2. 9

  3. 5

  4. 7

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

In COBOL, tables (arrays) can have up to 7 dimensions. This is a standard COBOL limitation - the OCCURS clause can be nested up to 7 levels deep to create multi-dimensional tables. Each dimension is defined using nested OCCURS clauses in the data division.