免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3129 | 回复: 2
打印 上一主题 下一主题

RPG TEST (RPG 程序员认证考试试题)求解 ! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-25 10:16 |只看该作者 |倒序浏览
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' 也是我做的。不是标准答案 !没有答案。
请教有兴趣的一起来作一作 !

论坛徽章:
0
2 [报告]
发表于 2006-12-27 19:42 |只看该作者
是多选还是单选哦?

论坛徽章:
0
3 [报告]
发表于 2007-01-08 11:23 |只看该作者

有考过的么?

有考过的么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP