Which of the following is NOT a builtin subroutine which supports Logical Unit of Work?
A. PLIREST
B. PLICANC
C. PLILUW
D. PLICKPT
正解:C
質問 2:
The XMLCHAR builtin function provides the ability to do which of the following?
A. Read an XML file into a structure
B. Create an XML buffer from a structure
C. Check XML for well-formedness
D. Check XML for validity
正解:B
質問 3:
In the following example what value will be printed to SYSPRINT, if any, from the PUT LIST in PGM_A?
PGM_A PROC;
DCL INPARM CHAR (10) INIT('FIRST CALL);
DCL P_OUT PTR;
DCL OUTPARM CHAR(10) BASED (P_OUT);
DCL PGM_B ENTRY(CHAR(10),PTR) EXTERNAL:
CALL P0MB (INPARM,P OUT);
IF OUTPARM = 'RESULT 'THEN
DO;
INPARM = ";
CALL PGM_B (INPARM,P_OUT);
END;
PUT LIST(OUTPARM);
END;
PGM_B: PROC(INPARMP_OUT);
DCL INPARM CHAR (10);
DCL P_OUT PTR;
DCL OUTPARM CHAR (10) INIT(");
P_OUT = ADDR(OUTPARM);
IF INPARM ='FIRST CALL THEN
OUTPARM = 'RESULT ';
ELSE
OUTPARM = 'NO RESULT';
END;
A. Blanks
B. 'NO RESULT'
C. Unpredictable
D. 'RESULT'
正解:C
質問 4:
In which of the following groups of compiler options could all the options specified cause the compiler to
generate code which requires more time at execution?
A. OPTIMIZE(0),NOREDUCE,PIREFIX(SIZE,SUBSCRIPTRANGE)
B. APCH(5),BIFPREC(31),NOTESTMTUNE(5),NOSERVICE
C. ATTRIBUTES(FULL),XREF(FULL),DEFAULT(EVENDEC,DUMMY(UNALIGNED)),OFFSET
D. OPTIMIZE(2),DEFAULT(REORDER,NOLAXDCL,NOLAXCTL),STORAGE,MMTEMP(1000)
正解:A
質問 5:
A given PL/I program has a big nesting depth. Which of the following measures will help to reduce the
nesting depth in most cases?
A. Using DO-WHILE as the only loop technique
B. Using SELECT constructs instead of If-THEN-ELSE
C. Avoiding OTHER clauses
D. Avoiding ELSE clauses
正解:B
質問 6:
PL/I programs which have been written under Intel architecture are now to be recompiled and run on the
mainframe. What will happen to the programs during compilation and execution?
A. They will not compile correctly on mainframe because ASCII has no NOT sign.
B. They may have to be changed before they run correctly on the mainframe.
C. They can be recompiled unchanged and will run correctly.
D. They will not run correctly because the byte order on mainframe is bigendian.
正解:B
質問 7:
WIDECHAR can be converted to CHAR. Which rule has to be observed?
A. All WIDECHAR values can be converted to CHAP using the appropriate builtin function.
B. By conversion of WIDECHAR to CHAR the left byte is omitted.
C. Each WIDECHAR value has to be less than or equal to '00FF'WX, otherwise CONVERSIONis raised.
D. Each WIDECHAR value has to be less than '0080'WX, otherwise CONVERSION is raised.
正解:D
質問 8:
Given the following statements, where will the variables A, B and C be allocated?
DCL A FIXED;
DCL B CHAR(80) BASED(P);
DCL C CHAR(1000) CONTROLLED;
DCL D AREA(1000);
DCL P PTR STATIC;
ALLOC C;
ALLOC B IN(D);
A. A and B are in STACK, C in HEAP
B. A in STACK, B in STATIC, C in HEAP
C. A in STACK, B and C are in HEAP
D. A in HEAP, Band C are in STACK
正解:A
村田** -
いやー本当にすげーわ。この問題集を購入したんだけど、三日前にC9050-042の試験に受けて、試験にある内容はほぼ問題集に出てて凄かった。