최신IBM Programming with IBM Enterprise PL/I - C6030-041무료샘플문제
문제1
CORRECT TEXT
What must be done, if anything, before calling the program U if it is declared as follows?
DCL U ENTRY OPTIONS (FETCHASLE);
CORRECT TEXT
What must be done, if anything, before calling the program U if it is declared as follows?
DCL U ENTRY OPTIONS (FETCHASLE);
정답: C
문제2
CORRECT TEXT
Which is the most appropriate code to turn all of the bits in A ON?
DCL A BIT(8);
CORRECT TEXT
Which is the most appropriate code to turn all of the bits in A ON?
DCL A BIT(8);
정답: D
문제3
CORRECT TEXT
Given the following external subroutine, what ENTRY declaration must NOT be used in a program that calls the subroutine?
SR1: PROC (STR);
DCL SUBSTR BUILTIN;
DCL
1 STR,
3 V1 DEC FIXED (3),
3 V2 BIN FIXED (31),
3 VS CHARACTER (3);
STR.V1 =STR.V1 +1;
STRV2 = STR.V2 + 1;
STR.V3 = SUBSTR(STR.V3,1.1)!!' ';
END SR1;
CORRECT TEXT
Given the following external subroutine, what ENTRY declaration must NOT be used in a program that calls the subroutine?
SR1: PROC (STR);
DCL SUBSTR BUILTIN;
DCL
1 STR,
3 V1 DEC FIXED (3),
3 V2 BIN FIXED (31),
3 VS CHARACTER (3);
STR.V1 =STR.V1 +1;
STRV2 = STR.V2 + 1;
STR.V3 = SUBSTR(STR.V3,1.1)!!' ';
END SR1;
정답: C
문제4
CORRECT TEXT
What is the value of X after executing the following code?
DCLX SIT(1 6) INIT('l U'S);
CORRECT TEXT
What is the value of X after executing the following code?
DCLX SIT(1 6) INIT('l U'S);
정답: D
문제5
CORRECT TEXT
What is the value of A after executing the following code?
DCL A CHAR(8) NIT ('EfGhIjKI'); DCL TRANSLATE BUILTIN;
A = TRANSLATE(A,'ABCDEFGH','abcdefgh');
CORRECT TEXT
What is the value of A after executing the following code?
DCL A CHAR(8) NIT ('EfGhIjKI'); DCL TRANSLATE BUILTIN;
A = TRANSLATE(A,'ABCDEFGH','abcdefgh');
정답: C
문제6
CORRECT TEXT
When different data types are used in an expression, which other following conversions is NOT done by subroutine call?
CORRECT TEXT
When different data types are used in an expression, which other following conversions is NOT done by subroutine call?
정답: D
문제7
CORRECT TEXT
What is the key difference between logical file name and physical dataset name?
CORRECT TEXT
What is the key difference between logical file name and physical dataset name?
정답: D
문제8
CORRECT TEXT
If the following syntax is incorrect, how should the syntax be changed?
READ FILE(DDIN) IN STRUC1;
CORRECT TEXT
If the following syntax is incorrect, how should the syntax be changed?
READ FILE(DDIN) IN STRUC1;
정답: A