0% (0 out of 17 correct) |
|
![]() | 1. |
The library-name is an external name.
![]() Level: easy |
![]() | 2. |
A called program is compiled separately from the calling program.
![]() Level: medium |
![]() | 3. |
Copied entries are compiled separately from the main program.
![]() Level: medium |
![]() | 4. |
A called program must be written in COBOL.
![]() Level: medium |
![]() | 5. |
A called program cannot pass parameters back to the calling program.
![]() Level: medium |
![]() | 6. |
A LINKAGE SECTION is coded in the calling program.
![]() Level: medium |
![]() | 7. |
A PROCEDURE DIVISION USING statement is coded in the called program.
![]() Level: medium |
![]() | 8. |
To bring into a program pre-written COBOL code that is stored in a library, use the statement CALL.
![]() Level: easy |
![]() | 9. |
The STRING statement requires a DELIMITED BY clause.
![]() Level: medium |
![]() | 10. |
The receiving field of a STRING statement may be a group item.
![]() Level: medium |
![]() | 11. |
The last executed statement in the called program is STOP PROGRAM.
![]() Level: medium |
![]() | 12. |
Items passed between calling and subprogram are described in the subprogram in the LINKAGE SECTION.
![]() Level: easy |
![]() | 13. |
Both copied segments and called subprograms promote standardization of coding.
![]() Level: medium |
![]() | 14. |
The INITIAL PROGRAM clause is coded in the main program.
![]() Level: hard |
![]() | 15. | What is the purpose of the INITIAL PROGRAM clause? ________________________________________________________________________ YOUR ANSWER: ![]() See page 717 Level: hard |
![]() | 16. | What is the purpose of a seed in a random number generator? ________________________________________________________________________ YOUR ANSWER: ![]() See page 716 Level: easy |
![]() | 17. |
A CALL statement bring compiled code to the source program while a COPY
statement brings
__________________________________________________________ YOUR ANSWER: ![]() See page 711 Level: hard |
![]() | 18. |
If a library entry is named PRINTFOOTER and it consists of PROCEDURE
DIVISION code, the statement that will copy the code into the PROCEDURE
DIVISION is
______________________________________________________________________ YOUR ANSWER: ![]() See page 708 Level: easy |
![]() | 19. | The called program has this entry: PROGRAM-ID. PRINTFOOTER. The call statement in the calling program is ____________________________________ YOUR ANSWER: ![]() See page 713 Level: easy |
![]() | 20. | What is the purpose of the UNSTRING statement? ________________________________________________________________________ YOUR ANSWER: ![]() See page 722 Level: easy |
![]() | 21. | What is the purpose of the WITH POINTER clause in a STRING statement? _______________________________________________________________________ YOUR ANSWER: ![]() See page 721 Level: medium |
![]() | 22. |
A library, HR02, contains the code for EMPLOYEE-FILE. Write the COPY
statement to copy this entire file description from the library into
HR-FILE in the main program. YOUR ANSWER: ![]() See page 708 Level: easy |
![]() | 23. |
A STRING statement may use any of the following EXCEPT:
![]() Level: medium |
![]() | 24. |
Each of the following is true about the STRING statement EXCEPT:
![]() Level: medium |
![]() | 25. |
When parameters are passed between the calling and subprogram, the subprogram must contain each of the following EXCEPT:
![]() Level: medium |