최신 IBM certifications II 000-041 무료샘플문제:
1. CORRECT TEXT
Which of the following is a BIT string constant?
A) '1000'
B) '1000'B
C) 1000
D) 1000B
2. Given the following piece of code, what will be output?
A) PROCEDURE;
DCL K CHAR (1) NIT ('B');
CALL C;
B) PROCEDURE OPTIONS (MAIN);
DCL K CHAR (1) INIT ('A');
CALL B;
C) PROCEDURE;
DCL K CHAR (1) INIT ('C');
PUT (K);
CALL D;
END C;
D) PROCEDURE;
PUT (K);
END D;
END B;
PUT (K);
END A;
E) C C A
F) C A A
G) C A B
H) C B A
3. CORRECT TEXT
Which of the following statements, if any, needs to be executed before the variable A can be used?
DCL A CHAR(5) CONTROLLED;
A) FETCH A;
B) ALLOCATE A;
C) Nothing needs to be done.
D) FREE A;
4. CORRECT TEXT
What would be printed, if anything, to SYSPRINT after executing the following code?
DCL A BIN FIXED(15) INIT(1000);
DCL B PlC '99999' INIT(2000);
B = A + B;
PUT SKIP LIST('THE VALUE OF B IS:' !! B);
A) Nothing will be printed because CONVERSION would be raised.
B) THE VALUE OF B IS:3000
C) THE VALUE OF B IS :3000
D) THE VALUE OF B IS :03000
5. CORRECT TEXT
If the physical dataset referred to by DDOUT has a record length of 200 and RECFM=F, what happens after executing the following code?
DCL DDOUT FILE RECORD OUTPUT;
DCL OUT_CHAR CHAR(200) INIT('HeIlo World'); WRITE FILE(DDOUT) FROM(OUT_CHAR);
A) One record with a length of 200 will be written to the output file.
B) Compiler error because there is no OPEN statement.
C) Runtime error because there is no OPEN statement.
D) One record with a length of 11 will be written to the output file.
질문과 대답:
질문 # 1 정답: B | 질문 # 2 정답: C,H | 질문 # 3 정답: B | 질문 # 4 정답: D | 질문 # 5 정답: A |