最新的IBM Programming with IBM Enterprise PL/I - C9050-041免費考試真題

CORRECT TEXT
Which of the following is NOT mandatory for an external function procedure and its usage?

正確答案: D
CORRECT TEXT
Given the following declarations, which code would assign 1234561.23 to A?
DCL A DEC FIXED (15,3) NIT (123456.123);
DCL B BIN FIXED (15) INIT (10);

正確答案: B
CORRECT TEXT
What would be printed to SYSPRINT after executing the following code?
DCL A DEC FIXED(15,3) INIT(1000.123);
DCL B PlC 'ZZZZ9V.999' INIT(0);
B = A + 2000.123;
UT SKIP LIST('THE VALUE OF B IS:'!! B);

正確答案: B
CORRECT TEXT
If the physical dataset referred to by DDOUT has a maximum record length of 4096 and a
RECFM=V, what happens after executing the following code?
DCL DDOUT FILE RECORD OUTPUT;
DCL OUT_CHAR CHAR(500) VARYING INIT('This is a varchar test'); OPEN FILE(DDOUT);
WRITE FILE(DDOUT) FROM(OUT_CHAR);

正確答案: B
CORRECT TEXT
Given the following program, what will be output?
TEST: PROC OPTIONS(MAIN);
DCL
1 B,
2 B1 FIXED BIN(31) INIT(1),
2 B2 FIXED BIN(31) INIT(2),
2 B3 FIXED BIN(31) INIT(4),
2 B4( 4 ) FIXED BIN(31),
2 B5 FIXED BIN(31) INIT(5),
2 B6( 5 ) FIXED BIN(31);
CALL SUB( ADDR(B) );
SUB: PROC( P);
DCL
P POINTER,
N1 FIXED BIN(31),
N2 FIXED BIN(31),
1 A BASED(P),
2 A1 FIXEDBIN(31),
2 A2 FIXEDBIN(31),
2 A3 FIXED BIN(31),
2 A4( N1 REFER(A3) ) CHAR(4),
2 A5 FIXED BIN(31),
2 A6( N2 REFER(A5) ) CHAR(4);
PUT SKIP LIST ( STG(A));
END; END;

正確答案: D
Given the following piece of code, what will be output?

正確答案: D,G
CORRECT TEXT
Given the following declarations, which code is always a valid way to test if the value of B is 7?
DCL P POINTER NIT (NULL());
DCL B FIXED BIN (31) BASED (P);

正確答案: C
CORRECT TEXT
Which is the most appropriate code to turn all of the bits in A ON?
DCL A BIT(8);

正確答案: B
CORRECT TEXT
Which of the following pieces of code will result in a compiler error message?

正確答案: A
CORRECT TEXT
What is the value of B after executing the following code?
DCL A CHAR(10) VAR;
DCL B BIN FIXED(31) INIT(0);
DCL C CHAR(5) INIT('ABCD');
A = C;
B = LENGTH(A);

正確答案: D

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어