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

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: 81 – (Topic 2)

What is the most appropriate declaration for the variable A?

A = #39;10010001#39;B;

  1. DCL A CHAR(2);

  2. DCL A BIT(8);

C. DCL A PIC #39;9999999#39;;

D. DCL A BIN FIXED(15);

Answer: B

Question No: 82 – (Topic 2)

What is the most appropriate declaration for the variable X?

X = 1234567890.123;

  1. DCL X CHAR(14);

  2. DCL X BIN FIXED(15);

  3. DCL X DEC FIXED(15,3);

D. DCL X PIC #39;99999999V.999#39;;

Answer: C

Question No: 83 – (Topic 2)

What would be printed, if anything, to SYSPRINT after executing the following code? DCL A BIN FIXED(15) INIT(1000);

DCL B PIC #39;99999#39; INIT(2000);

B = A B;

PUT SKIP LIST(#39;THE VALUE OF B IS :#39; !! B);

  1. THE VALUE OF B IS :3000

  2. THE VALUE OF B IS :03000

  3. THE VALUE OF B IS : 3000

  4. Nothing will be printed because CONVERSION would be raised.

Answer: B

Question No: 84 – (Topic 2)

What is the value of B after executing the following code?

DCL A CHAR(1) INIT(#39; #39;);

DCL B BIT(8) BASED(ADDR(A));

DCL (HIGH, ADDR) BUILTIN; A = HIGH(1);

A. #39;11111111#39;B

B. #39;00000000#39;B

C. #39;F1#39;X

D. #39;40#39;X

Answer: A

Question No: 85 – (Topic 2)

If the physical dataset referred to by DDOUT has a maximum record length of 200 and RECFM=V, what happens after executing the following code?

DCL DDOUT FILE RECORD OUTPUT; DCL I BIN FIXED(15) INIT(0);

DCL 1 OUTSTR,

2 A CHAR(150),

2 B CHAR(46); OPEN FILE(DDOUT);

DO I = 1 TO 10;

WRITE FILE(DDOUT) FROM(OUTSTR); END;

  1. 10 records will be written to the output file.

  2. At runtime, an error will occur because of mismatch of record length.

  3. At compile time, an error will occur because of mismatch of record length.

  4. Nothing will be written to the output file.

Answer: A

Question No: 86 – (Topic 2)

What is the result of executing the following code?

DCL B PIC #39;99999#39;; B = #39;4500#39;;

  1. CONVERSION would be raised.

  2. B would contain a blank followed by #39;4500#39;.

  3. B would contain #39;04500#39;.

  4. B would contain #39;4500#39; followed by a blank.

Answer: C

Question No: 87 – (Topic 2)

What is the value of XY.A, if any, after executing the following code? DCL 1 XY,

2 A CHAR(4),

2 B BIN FIXED(31);

DCL 1 YZ,

2 C CHAR(2) INIT(#39;CC#39;),

2 D PIC#39;99#39; INIT(10);

XY = YZ;

  1. #39;CC10#39;

  2. #39;CC #39;

  3. #39; CC#39;

  4. CONVERSION would be raised.

Answer: B

Question No: 88 – (Topic 2)

What is the value of B after executing the following code?

DCL A CHAR(10) INIT(#39;123abCDEFG#39;); DCL B BIN FIXED(31) INIT(5);

B = INDEX(A,#39;AB#39;);

  1. 0

  2. 1

  3. 4

  4. 11

Answer: A

Question No: 89 – (Topic 2)

Given the following code, what condition prefixes should be placed before the statement to ensure that the reference is valid?

PUT SKIP LIST( #39;lt;#39; !! SUBSTR(X,1,N) !! #39;gt;#39; );

  1. SIZE

  2. SUBSCRIPTRANGE

  3. STRINGSIZE

  4. STRINGRANGE

Answer: D

Question No: 90 – (Topic 2)

Which of the following options is proper for the PROC statement, but invalid for the ENTRY statement?

  1. OPTIONS(BYADDR)

  2. OPTIONS(COBOL)

  3. RETURNS(lt;attribute-listgt;)

  4. RECURSIVE

Answer: D

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