[Free] 2018(Jan) EnsurePass Examcollection IBM C9050-041 Dumps with VCE and PDF 11-20

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan IBM Official New Released C9050-041
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/C9050-041.html

Programming with IBM Enterprise PL/I

Question No: 11 – (Topic 1)

Which of the following loops will run infinitely?

  1. DCL I FIXED BIN (31);DO I = 1 BY 2 UNTIL (I = 20);PUT (I);END;

  2. DCL I FIXED BIN (31);DO I = 1 BY 2 UNTIL (I gt; 20);PUT (I);END;

  3. DCL I FIXED BIN (31);DO I = 1 BY 2 WHILE (I lt; 20);PUT (I);END;

  4. DCL I FIXED BIN (31);DO I = 1 BY 2 WHILE (I = 20);PUT (I);END;

Answer: A

Question No: 12 – (Topic 1)

Given the following code, how many elements of A will contain a value of 0 after execution of the loops?

DCL A DIM (8, 10) FIXED BIN (31); DCL (I, K) FIXED BIN (31) INIT (0);

A = 0;

DO I = 2 TO 8;

DO K = 1 TO 10; A(I, K) = I*K; END;

END;

  1. 0

  2. 1

  3. 8

  4. 10

Answer: D

Question No: 13 – (Topic 1)

What code will print the value of A to SYSPRINT?

DCL A DEC FIXED(5,3) INIT(12.0);

  1. PUT SKIP LIST(#39;Value of A is:#39; !! A);

  2. PUT SKIP LIST(#39;Value of A is:#39;), (A);

  3. PUT SKIP LIST(#39;Value of A is:#39;)(A);

  4. PUT SKIP LIST A;

Answer: A

Question No: 14 – (Topic 1)

Which of the following is a BIN FIXED constant?

A. #39;1000#39; B. 1E 03 C. 1000 D. 1000B

Answer: D

Question No: 15 – (Topic 1)

What does BX.WOK.LOAD refer to in the following job control statement?

//ACCOUNT DD DSN=BX.WOK.LOAD,DISP=SHR

  1. It is the connection between program and dataset.

  2. It is the physical dataset name.

  3. It is the logical dataset name.

  4. It is the name which must be referred to in the program.

Answer: B

Question No: 16 – (Topic 1)

Which of the following is NOT a valid method to activate a BEGIN block?

  1. A condition is signaled and the BEGIN block is a component of the corresponding ON unit.

  2. Sequential program flow approaches the BEGIN block.

  3. The BEGIN block is labeled and a GOTO addresses this label.

  4. The BEGIN block is labeled and a CALL addresses this label.

Answer: D

Question No: 17 – (Topic 1)

Given the following DECLARE statement, how many bytes will be allocated to A?

DCL

  1. A UNION,

  2. C8 CHAR(8),

2 XB FIXED BIN(31),

2 BX BIT(16);

  1. 2

  2. 4

  3. 8

  4. 14

Answer: C

Question No: 18 – (Topic 1)

What code would result in the BIT string B having all ones?

DCL A CHAR(8) INIT(HIGH(8)); DCL (HIGH,ADDR) BUILTIN;

A. DCL B BIT(64) BASED(ADDR(A));

B. DCL B BIT(64) INIT(#39;1111111#39;x);

  1. DCL B BIT(64) INIT(#39;1#39;B);

  2. DCL B BIT(64) INIT(HIGH(1));

Answer: A

Question No: 19 – (Topic 1)

Given the following program, what is shown by the dump?

  1. PROC;

    DCL X FIXED BIN(31) INIT(17); DCL F FILE RECORD OUTPUT; ON ERROR

    BEGIN;

    CALL PLIDUMP(#39;TFB#39;); END;

    CALL B;

  2. PROC;

    DCL Y FIXED BIN(31) INIT(29); X = Y;

    OPEN FILE(F); SIGNAL ERROR; END;

    END;

  3. F is open and the storage for Y is still on the stack

  4. F is closed and the storage for Y is still on the stack

  5. F is open and the storage for Y is no longer on the stack

  6. F is closed and the storage for Y is no longer on the stack

Answer: A

Question No: 20 – (Topic 1)

What does the following code do, if anything?

RELEASE U;

  1. Release the memory used by the program U

  2. Reloads the program U into the memory

  3. Closes the file U

  4. Nothing because there is a syntax error.

Answer: A

100% Ensurepass Free Download!
Download Free Demo:C9050-041 Demo PDF
100% Ensurepass Free Guaranteed!
Download 2018 EnsurePass C9050-041 Full Exam PDF and VCE

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No