Front | Back |
The function of the IDENTIFICATION DIVISION is to:
|
Identify the program.
|
The function of the ENVIRONMENT DIVISION is to:
|
Assign a file-name to each file in a batch program and specify the device that each file will use.
|
The function of the DATA DIVISION is to:
|
Describe the input, output and work areas used in the program.
|
The function of the PROCEDURE DIVISION is to:
|
Define the instructions and operations necessary to convert input data into output.
|
(T or F) Fully interactive programs, which have keyed input and displayed output, do not us a FILE SECTION in the DATA DIVISION while batch programs do use a FILE SECTION.
|
True
|
Two techniques for simplifying the design of a COBOL program and facilitating debugging are called:
|
Structured programing and top-down programing
|
In batch programs, what kind of statement indicates which files are input and which are output?
|
OPEN
|
(T or F) A PERFORM... UNTIL instruction executes a series of steps repeatedly until some condition is met. It is also called a:
|
True; Loop
|
What is the purpose of the SELECT statement?
|
Used to assign an input or output file to a specific device.
|
What is the purpose of the PICTURE clause?
|
Indicates the size & type of data to be entered in to a field.
|
What is the purpose of the WORKING-STORAGE-SECTION?
|
Contains data required for processing that is not part of input or output.
|
What is the purpose of the PROCEDURE DIVISION?
|
It contains the instructions to be executed.
|
If an entry must begin in Area A, it may begin in position;
|
8,9,10 or 11
|
If an entry must begin in Area B, it may begin in position:
|
12,13,14 and so on
|
The four divisions of a COBOL program must appear in order as:
|
IDENTIFICATION DIVISION
ENVIRONMENT DIVISION
DATA DIVISION
PROCEDURE DIVISION
|