Free C9050-041 Exam Braindumps (page: 3)

Page 2 of 52

QUESTION: 4
Given the following code, what can be said about the scope of the variables in procedure P?

P: PROCEDURE;
B: BEGIN;
DCL K FIXED BIN (15);
END B;
D: DO;
DCL S CHAR (10);
END D;
END P;

A. Variable S is known in the entire procedure.
B. Variable K is known in the entire procedure.
C. Variable S is not known in block B.
D. Variable K is known in group D.

Answer(s): A
QUESTION: 5
What would be printed to SYSPRINT after executing the following code?

DCL A DEC FIXED(15, 3) INIT(1000.123);
DCL B PIC 'ZZZZ9V.999' INIT(0);
B = A + 2000.123;
UT SKIP LIST('THE VALUE OF B IS :' !! B);

A. THE VALUE OF B IS : 3000.246
B. THE VALUE OF B IS :03000.246
C. THE VALUE OF B IS :3000.246
D. THE VALUE OF B IS :3000246

Answer(s): A
QUESTION: 6
What does the following code do, if anything?

RELEASE U;

A. Release the memory used by the program U
B. Reloads the program U into the memory
C. Closes the file U
D. Nothing because there is a syntax error.

Answer(s): A
QUESTION: 7



Post your Comments and Discuss IBM C9050-041 exam with other Community members: