Free C9050-041 Exam Braindumps
Programming with IBM Enterprise PL/I (C6030-041) (page: 15)

Answer(s): B
QUESTION: 37
What is the result, if any, of executing the following code?

DCL A BIT(1) INIT('0'B);
DCL B BIT(1) INIT('0'B);
DCL C BIT(1) INIT('1'B);
A = B ! C;

A. The value of A is '0'B
B. The value of A is '1'B.
C. The value of A is unpredictable.
D. There is no result, because the syntax is wrong.

Answer(s): B
QUESTION: 38
What is the result, if any, of executing the following code?

DCL A CHAR(2) INIT(' ');
DCL B BIT(2) INIT('11'B);
A = ^B;

A. The value of A is '00'.
B. The value of A is '11'.
C. The value of A is unpredictable.
D. There is no result, because the syntax is wrong.

Answer(s): A
QUESTION: 39
In which of the following cases is it possible to change the value of a variable in a routine when
it is passed to the routine as an argument?

A. The argument is declared as FIXED BIN(15), and the corresponding parameter is declared
as FIXED BIN(15) BYVALUE.
B. The argument is declared as FIXED BIN(15), and the corresponding parameter is declared
as FIXED DEC(7) BYADDR.
C. The argument is declared as FIXED DEC(7), and the corresponding parameter is declared
as FIXED DEC(7) BYADDR.
D. The argument is declared as CHAR(10) VAR, and the corresponding parameter is declared
as CHAR(10).

Answer(s): C
QUESTION: 40
Viewing page 15 of 52
Viewing questions 57 - 60 out of 146 questions


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

AI Tutor AI Tutor 👋 I’m here to help!