Lab1 Program (part B) TRUE/FALSE Questions

 

NAME:      _________________________________________________

 

T       F       The FD data name always matches the physical location name of the input or output files.

T       F       Area A includes columns 7-11.

T       F       A record is made up of fields.

T       F       COBOL reserve words are case sensitive.

T       F       The output file is created only when no logic errors occur.

T       F       There must always be four divisions in a COBOL program.

T       F       The INPUT-OUTPUT SECTION appears in the Environment Division.

T       F       All paragraph names start in Area A.

T       F       ASSIGN-TO is a valid data name (i.e. variable name).

T       F       The program-id does not have to match the program file name.

T       F       A picture clause always defines the type, length and initial value of a data name.

T       F       White space is not an important part of writing a COBOL program.

T       F       The SELECT statement occurs in the Data Division.

T       F       Periods are required after every statement.

T       F       Level numbers only occur in the DATA DIVISION.

T       F       The ccbl command always creates a .acu file when executed.

T       F       The output buffer must always be coded as a group item.

T       F       The / in column 7 on a write statement advances the page in the output file.

T       F       The CLOSE statement, if missing, will cause a compiler error.

T       F       The FILE-CONTROL paragraph is in the DATA DIVISION.