0% (0 out of 18 correct)
The questions marked with symbol have not been graded.
Responses to questions are indicated by the symbol.


WRONG1. A record contains one or more files.
O A. True
C B. False

See page 64
Level: easy



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

See page 64
Level: medium



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

See page 69
Level: easy



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

See page 86
Level: medium



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

See page 72
Level: easy



WRONG6. A record layout form provides layouts for printed output.
O A. True
C B. False

See page 64
Level: medium



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

See page 66
Level: easy



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

See page 64
Level: easy



WRONG9. ZEROS is an example of a numeric constant.
O A. True
C B. False

See page 85
Level: medium



WRONG10. An alphabetic field may include special characters.
O A. True
C B. False

See page 77
Level: easy



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

See page 86
Level: medium



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

See page 72
Level: easy



WRONG13. “1234” is a valid non-numeric literal.
C A. True
O B. False

See page 84
Level: medium



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

YOUR ANSWER:

The suggested answer is record names

See page 63
Level: easy



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

YOUR ANSWER:

The suggested answer is group


See page 75
Level: easy



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

YOUR ANSWER:

The suggested answer is X(20)


See page 78
Level: easy



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

YOUR ANSWER:

The suggested answer is PICTURE clauses


See page 77
Level: easy



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

YOUR ANSWER:

The suggested answer is 9(4)V99


See page 80
Level: easy



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

YOUR ANSWER:

The suggested answer is RECORD CONTAINS ... CHARACTERS


See page 68
Level: medium



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

YOUR ANSWER:

The suggested answer is interactive processing


See page 63
Level: easy



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

See page 85
Level: medium



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

See pages 65,85
Level: medium



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

See page 78
Level: medium



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

See page 86
Level: medium



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

See page 83
Level: medium



Retake Test