- 论坛徽章:
- 0
|
1. In order to create a program from an RPGLE type source member,
Which of the following answers is correct?
A. CRTRPGPGM
B. CRTBNDRPG *
C. CRTRPGMOD and CRTPGM
D. CRTRPGMOD
2. The H-spec is used to specify which of the following?
A. Debug options
B. Editing symbols
C. Date and time formats *
D. All of the above
3. Which of the following are functions of the F-spec in RPG IV?
A. To designate the file as input or output
B. To specify a file described externally or in the program *
C. To reflect the status of the last input operation
4. The preferred RPG numeric data type for calculations is :
A. Hexadecimal
B. Binary
C. Zoned decimal
D. Packed decimal *
5. When you want to initialize a numeric field, you can:
A. Create a constant with a value of zero and move it to the field
B. Move the literal ‘0’ to the numeric field.
C. Use the figurative constant *ZERO *
6. Which of the following are DDS facilities available when defining printer files?
A. continuation lines *
B. edit codes and words
C. field definition referencing
D. all of the above
7. Which of the following op-codes does not have a corresponding ENDxx statement to terminate the group?
A. DO
B. IF
C. PLIST *
D. SELECT
8. Which of the following are logical file characteristics?
A. Has no data member *
B. Allows record testing outside a program
C. A physical file is a prerequisite *
D. Must utilize all the fields from the physical file on which it is based.
9. Database files can be specified (position 17 of the F-specification) as which of the following file types?
A. Input *
B. Output
C. Combined
D. Update *
10. Which of the following are used to validate data entry fields?
A. CHECK *
B. DSPATR
C. RANGE
D. All of the above
11. Which of the following are required subfile control record format keywords?
A. SFLDSP
B. SFLSIZ
C. SFLDSPCTL *
D. SFLPAG
12. Which of the following are used to access predefined subfields in a file-information data structure?
A. IBM file name
B. From/To positions *
C. Reserved words or keywords
D. All of the above
T F 13. The index of an array must be a positive number.
F
T F 14.For interactive inquiry, display record formats must use the same field names as the database file being processed.
F
T F 15.The keyword leveis for logical files are file, record, field and key.
T
T F 16.The parameter list must be described in both the calling and called program.
T
T F 17.The parameter list in both the calling and called programs must match field name bye field name.
F
T F 18.An RPG subroutine may be called from another program outside of where it is written by coding an EXSR
F
T F 19.The value of a named constant defined in the D-specification can be changed in calculations.
T
T F 20.The D-spec is NOT needed to define fields from an externally Described file.
F
注明: 每一道试题后面' * ' 的是我作的,' T ' OR ' F' 也是我做的。不是标准答案 !没有答案。
请教有兴趣的一起来作一作 ! |
|