Pass4itsure > IBM > IBM Certified Application Developer > C6030-042 > C6030-042 Online Practice Questions and Answers

C6030-042 Online Practice Questions and Answers

Questions 4

The lead developer on a project has just learned that Pat, a highly skilled programmer on the team, has been reassigned. The lead developer is familiar with Pat's work and is concerned because no one on the team has the necessary skills to pick up the work immediately. A new employee with the required skills is joining the team next week, but the timeline for a mission critical milestone has been moved up to the end of this week. Which of the following is the most appropriate action for the lead developer to take to ensure that the critical milestone is met?

A. Direct the team to cover all of Pat's work until the new employee arrives.

B. Explain to the team why this change in schedule is important to the customer.

C. Personally cover the work until the new employee arrives.

D. Explore with the team whether they will be able to meet the new deadline.

Buy Now
Questions 5

Given the following code, what are the default attributes of DSET1 after the READ statement?

DCL DATA CHAR (80);

DCL DSET1 FILE;

READ FILE(DSET1) INTO(DATA);

A. SEQUENTIAL RECORD INPUT

B. STREAM INPUT

C. DIRECT INPUT

D. KEYED RECORD INPUT

Buy Now
Questions 6

What does it mean that an interface is synchronous?

A. Requesting program must wait for a reply

B. Requesting program always receives immediate response

C. Requests are processed randomly

D. Requests are processed in parallel

Buy Now
Questions 7

Assuming there is no information about the duration or each table update and the programs are running in a multitasking environment, which of the following options will best minimize the chance for deadlocks?

A. Program A updates Table A, Table B and Table C in the specified order, and Program B updates Table B, Table C and Table A in the specified order.

B. Program A updates Table A, Table B and Table C in the specified order, and Program B updates Table C, Table B and Table A in the specified order.

C. All programs update Table A, Table B and Table C in the same order.

D. Programs update table A, Table B and Table C in random order.

Buy Now
Questions 8

What would the attribute table in a compile list be used for when looking at the variable in a dump?

A. Find where variable is used

B. Find name of variable

C. Find hex offset of variable

D. Find variable attributes

Buy Now
Questions 9

Given the following code example, what is the value of A after the last CALL to ADD_RUT? PGM2: PROC

OPTIONS(MAIN,REENTRANT) REORDER;

DCL A BIN FIXED (15);

A =1

CALL ADD_RUT (A);

CALL ADD_RUT (A);

CALL ADD_RUT (A);

ADD_RUT: PROC (VAL);

DCL VAL DEC FIXED (15);

VAL = VAL + 1;

END ADD_RUT;

END PGM2;

A. 4

B. 3

C. 2

D. 1

Buy Now
Questions 10

Requirement:

All the characters of the CHAR(3) variable X must be tested to be numeric. Which of the following solutions meets the requirement and does not require essential structural modifications when the requirement is changed to the following: The first character of the CHAR(3) variable X must be tested to be uppercase alphabetic, while the two other characters must be tested to be numeric.

A. IFX >= `000' and X <= `999'THEN ... /*NUMERIC*/

B. DCL NUM CHAR(10) VALUE('0l 23456789');IF VERIFY(X,NUM) = 0THEN ... /*NUMERIC*/

C. DCL Y PIC'999';DCL SWITCH BIT(1) INIT('1'B);ON CONVERSION BEGIN;SWITCH =ONSOURCE = `000';END;Y = X;IF SWITCHTHEN ... ; /*NUMERIC*/

D. DCL ALPHA CHAR(26) VALUE('ABCDEFGHIJKLMNOPQRSTUVWXYZ');DCL NUM CHAR(10) VALUE('0123456789');IF TRANSLATE(X,(26)'A'!I(10)'9'ALPHA!!NUM) = `999'THEN ... ; /*NUMERIC*/

Buy Now
Questions 11

Which code should NOT be split out into separate subroutines?

A. Redundant code in a program.

B. Redundant code in a group otprograms.

C. Dead code in a program.

D. Code which must be available on different platforms.

Buy Now
Questions 12

Given the following declarations, which is the WORST way of setting D from 5? DCL 1 S,

2 A(100) CHAR(1),

2 B(100) CHAR(2),

2 C(100) CHAR(3);

S = ";

DCL D CHAR(600);

DCLI BIN FIXED(31);

A. D = STRING(S);

B. CALL PLIOVER(ADDR(D)ADDR(S),600);

C. DO I = 1 TO 100;SUBSTR(D,I,1) = S.A(l);SUBSTR(D,1 01 + ((I-1) *2),2) =

D. B(I);SUBSTR(D,301 + ((I-1) *3),3) = S.C(I);END;

E. D = STRING(A) !! STRING(S) !! STRING(C);

Buy Now
Questions 13

A member of the team points out to the lead developer that there appears to be an error in the program the lead developer has created. Which of the following is the most appropriate response from the lead developer?

A. Thank the programmer, indicating the code will be revised and provided to the team for review.

B. Thank the programmer, asking for details about the error and discussing the solution with him.

C. Thank the programmer, saying the program will be checked but asking him to check that the error is not in his program.

D. Thank the programmer, indicating there is not time to correct the code and requesting that he do so.

Buy Now
Exam Code: C6030-042
Exam Name: Developing with IBM Enterprise PL/I
Last Update: Apr 20, 2024
Questions: 145
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99