Multiple choice technology programming languages

User defined names must follow which one of the following rules?

  1. Multiple word names must be separated with an underscore

  2. Names must be 10 or less characters

  3. Names must contain at least 1 alpha character in any position.

  4. Names must be lower case

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

COBOL requires user-defined names to contain at least one alphabetic character (A-Z). Names can include letters, digits, and hyphens, but cannot be all digits. They must start with a letter, can be up to 30 characters (not 10), and hyphens (not underscores) separate multi-word names. Case is not significant.