Free C9050-041 Exam Braindumps (page: 5)

Page 4 of 52

Answer(s): A
QUESTION: 10
What is the most appropriate way to assign a value to variable A?

DCL A BIN FIXED(15);

A. A = '17';
B. A = 17.29;
C. A = '1729'X;
D. A = 17;

Answer(s): D
QUESTION: 11
What is the value of B, if any, after executing the following code?

DCL A CHAR(5) INIT('ABCDE');
DCL B CHAR(5) DEF A;

A. NULL
B. Blank
C. 'ABCDE'
D. It cannot be defined.

Answer(s): C
QUESTION: 12
Given the following code, what SELECT code is NOT equivalent?

DCL (C, W, V) CHAR (1);
...
SELECT (C);
WHEN ('A', 'B') PUT ('1');
WHEN ('C') PUT ('2');
WHEN (W) PUT ('3');
WHEN (V) PUT ('4');
OTHER PUT ('0ther');
END;

A. SELECT (C); WHEN ('C') PUT ('2'); WHEN ('A', 'B') PUT ('1'); WHEN (W) PUT ('3'); WHEN
(V) PUT ('4'); OTHER PUT ('0ther');END;
B. SELECT (C); WHEN ('A', 'B') PUT ('1'); WHEN ('C') PUT ('2'); WHEN (V) PUT ('4'); WHEN
(W) PUT ('3'); OTHER PUT ('0ther');END;
C. SELECT (C); WHEN ('B', 'A') PUT ('1'); WHEN ('C') PUT ('2'); WHEN (W) PUT ('3'); WHEN
(V) PUT ('4'); OTHER PUT ('0ther');END;
D. SELECT (C); WHEN ('A') PUT ('1'); WHEN ('B') PUT ('1'); WHEN ('C') PUT ('2'); WHEN (W)



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