1. A record contains one or more files.
A. True
B. False


2. With batch processing, all changes to a master file are processed collectively, at periodic intervals.
A. True
B. False


3. The RECORD CONTAINS clause in the FILE SECTION is always required.
A. True
B. False


4. VALUE clauses used to initialize fields may be found in the WORKING-STORAGE SECTION.
A. True
B. False


5. Within a record description, when one field is subordinate to another field, the subordinate field is coded on a higher level.
A. True
B. False


6. A record layout form provides layouts for printed output.
A. True
B. False


7. The FILE SECTION of the DATA DIVISION defines all input and output files.
A. True
B. False


8. Keyboard input is stored in the FILE SECTION of the DATA DIVISION.
A. True
B. False


9. ZEROS is an example of a numeric constant.
A. True
B. False


10. An alphabetic field may include special characters.
A. True
B. False


11. Intermediate results of arithmetic calculations are stored within the FILE SECTION of the DATA DIVISION.
A. True
B. False


12. Field names within a record are coded on levels 02 - 49.
A. True
B. False


13. “1234” is a valid non-numeric literal.
A. True
B. False


14. In the DATA DIVISION, what is coded on level 01? _________________________

Answer:


15. A field that is further subdivided is called a(n) _______________ item.

Answer:


16. A 20 character ADDRESS-IN would best be coded with a PIC ________________

Answer:


17. What clauses indicate the size and type of a field? ____________________________

Answer:


18. A SALARY field with values such as 4500.00 would best be coded with PIC ______

Answer:


19. Which clause in the FILE SECTION specifies the number of characters in a record?
________________________________________________________________________

Answer:


20. There are two types of processing performed by computers, batch processing and ______________________________________________________________________

Answer:


21. Which of the following is NOT an example of a figurative constant?
A. ZEROS
B. BLANKS
C. HIGH-VALUES
D. LOW-VALUES
E. QUOTES


22. Which of the following is NOT a legal user-defined COBOL data-name?
A. DEPARTMENT-CODE
B. 123-RTN
C. NAME-OUT
D. SALARY.IN
E. DATA-IN


23. Which of the following clauses is legal?
A. PICTURE XXX.
B. PICT AXAX.
C. PICTURE IS 9V9V9.
D. PIC 5(A).
E. PIC X8.


24. Which of the following would NOT be coded in the FILE SECTION?
A. 01 INVOICE-RES-IN.
B. FD INVOICE-FILE.
C. 05 PART-ID-IN PIC X(4).
D. 05 PART-DESCRIPTION-IN PIC X(6) VALUE 'WIDGET”.
E. RECORD CONTAINS 40 CHARACTERS.


25. Which of the following is a valid numeric literal?
A. 45.56.09
B. 123456789012345678
C. 7,1423-
D. -90.
E. 35,000



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.