Which among the following are called the Figurative Constants?
-
Space, Spaces
-
66, 77, 88
-
Zero, Zeroes
-
None of the above
Figurative constants in COBOL are reserved words that represent specific constant values. SPACE/SPACES represent one or more spaces, and ZERO/ZEROES represent one or more zeros. These are standard figurative constants. Numbers like 66, 77, 88 are level numbers used in DATA DIVISION, not figurative constants.
COBOL figurative constants are reserved words that stand in for common literal values without having to spell them out: SPACE/SPACES represents one or more blank characters, and ZERO/ZEROES/ZEROS represents one or more zero values (others include HIGH-VALUE(S), LOW-VALUE(S), QUOTE(S), ALL). 66, 77, and 88 are COBOL level numbers used in data descriptions (66 for RENAMES, 77 for standalone independent items, 88 for condition-names) — they are not figurative constants at all, so that option and 'none of the above' are both wrong.