1.
In a standard COBOL program, an asterisk (*) in column 7 indicates a comment.
A.
True
B.
False
2.
Division names must begin in Area B.
A.
True
B.
False
3.
Section names must begin in Area A.
A.
True
B.
False
4.
The IDENTIFICATION DIVISION is not required in all COBOL programs.
A.
True
B.
False
5.
SECURITY is an entry in the ENVIRONMENT DIVISION.
A.
True
B.
False
6.
An ASSIGN clause will always designate a printer as SYS$PRINT.
A.
True
B.
False
7.
The continuation of non-numeric literals is indicated in column 7.
A.
True
B.
False
8.
To cause the source listing to print on a new page, place an asterisk in column 7.
A.
True
B.
False
9.
In a standard COBOL program, Area A covers columns 1 – 7.
A.
True
B.
False
10.
In a standard COBOL program, Area B covers columns 12 – 72.
A.
True
B.
False
11.
Paragraph names must begin in Area B.
A.
True
B.
False
12.
The ENVIRONMENT DIVISION is required when you have input files from tape or disk.
A.
True
B.
False
13.
Which type of book is generally complete and presents all the rules of a language, with all the options available? _______________________________________________
Answer:
14.
What type of sheet designates where specific items of a program are to be placed?
________________________________________________________________________
Answer:
15.
AUTHOR is an optional paragraph in what DIVISION? _______________________
Answer:
16.
PROGRAM-ID is a required paragraph in what DIVISION? ___________________
Answer:
17.
The FILE-CONTROL paragraph is found in what section of the ENVIRONMENT DIVISION? _____________________________________________________________
Answer:
18.
What is the purpose of the clause ORGANIZATION is line sequential?
_____________________________________________________________________
Answer:
19.
Disk and tape devices are described in what section of the ENVIRONMENT DIVISION? __________________________________________________________.
Answer:
20.
Why do we use comments? ____________________________________________.
Answer:
21.
DIVISION names must begin in what Area? ________________________________
Answer:
22.
All of the following is true about the IDENTIFICATION DIVISION except:
A.
A required paragraph is PROGRAM-ID.
B.
It is the first division in a COBOL program.
C.
It contains no executable code.
D.
It is machine dependent.
E.
Every COBOL program must have this division.
23.
All of the following are true about the INPUT-OUTPUT SECTION except:
A.
It is a section in the ENVIRONMENT DIVISION.
B.
It is required in all COBOL programs.
C.
It supplies information concerning the input and output devices.
D.
It is coded in Area A.
E.
It contains the paragraph FILE-CONTROL.
24.
Which of the following is NOT a reserved word?
A.
CONFIGURATION
B.
SELECT
C.
LINE
D.
DEPARTMENT
E.
ORGANIZATION
25.
Which of the following does NOT begin in Area A?
A.
PROGRAM-ID
B.
ENVIRONMENT DIVISION
C.
ORGANIZATION IS LINE SEQUENTIAL
D.
AUTHOR
E.
FILE-CONTROL
This is the end of the test. When you have completed all the questions and reviewed your answers, press the button below to grade the test.