1.
Paragraph names are coded in Area B.
A.
True
B.
False
2.
All input files must be opened before output files are opened.
A.
True
B.
False
3.
With a PERFORM UNTIL, the named paragraph or in-line instructions may never be executed.
A.
True
B.
False
4.
An open file must be closed with a CLOSE statement.
A.
True
B.
False
5.
The PROCEDURE DIVISION contains all the executable code.
A.
True
B.
False
6.
An IN-LINE PERFORM statement must end with END-PERFORM.
A.
True
B.
False
7.
The AT END clause of the READ statement tells the computer what to do when there are no more records to read.
A.
True
B.
False
8.
Batch programs are called hybrid when they have both input and output files.
A.
True
B.
False
9.
The last statement to be executed in a COBOL program that runs correctly is the CLOSE statement.
A.
True
B.
False
10.
Sentences that end with periods are called statements.
A.
True
B.
False
11.
Older, legacy systems used only two digits for year in order to save space on files.
A.
True
B.
False
12.
Data is actually read and processed in what DIVISION? ______________________.
Answer:
13.
In order for a file to be processed, it must first be ____________________________.
Answer:
14.
What happens when a READ statement is executed? _________________________.
Answer:
15.
The format for the WRITE statement is ____________________________________
Answer:
16.
What statement might perform a routine that checks for length of an input record? _______________________________________________________________________
Answer:
17.
What clause used with a WRITE statement specifies single spacing, double spacing, or paging?______________________________________________________________
Answer:
18.
What is the purpose of an asterisk in column 7? _____________________________
Answer:
19.
What is the purpose of a MOVE statement?_________________________________
Answer:
20.
When a program will work properly for dates beyond the year 2000 as well as those in the 1900's it is called __________________compliant.
Answer:
21.
What Area is 100-MAIN-MODULE coded in? _____________________________
Answer:
22.
In top-down design, which module is coded first?
A.
100-MAIN-MODULE
B.
200-PROCESS-RTN
C.
300-END-RTN
D.
400-DATE-RTN
E.
it doesn't matter which is coded first
23.
A file-name specified in a CLOSE statement also appears in which of the following statements?
A.
OPEN statement
B.
SELECT statement
C.
READ or WRITE statement
D.
FD entry
E.
All of the above
24.
Which of the following is executed last?
A.
STOP RUN
B.
OPEN
C.
READ
D.
CLOSE
E.
WRITE
25.
What statement is NOT found in a fully interactive program?
A.
ACCEPT
B.
CLOSE
C.
STOP RUN
D.
PERFORM
E.
DISPLAY
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.