IBM Developing with IBM Enterprise PL/I - C9050-042 Free Exam Questions

QUESTION NO: 1
What will be printed to SYSPRINT after the following statements?
DCLZZ9 PlC 'ZZ9' INIT(-1);
DCL A CHAR(10) INIT(LOW(10));
DCL B CHAR(10) INIT('PL/l');
SELECT;
WHEN(A = LOW(12))PUT('CASE 1');
WHEN(SUBSTR(B11.3) = 'PL/I') PUT('CASE 2');
WHEN(ZZ9 < 0)PUT('CASE 3');
OTHERPUT('CASE 4');
END;

Correct Answer: B Vote an answer
QUESTION NO: 2
Given the following code, which statement will produce an E level preprocessor message?
%DCL ABC ENTRY;
%ABC: PROC (X,Y) STATEMENT RETURNS(CHAR); DCL(XY) CHAR;
IF ^PARMSET(X) THEN NOTE('NO X ',0);
IF ^PARMSET(Y) THEN NOTE('NO Y '8');
RETURN('/* '!!X!!YI!'C */');
%END ABC;

Correct Answer: A Vote an answer
QUESTION NO: 3
Which of the following declarations is NOT accepted by the compiler?

Correct Answer: C Vote an answer
QUESTION NO: 4
Requirement:
The function LEAPYEAR evaluates a given 4-digit number and returns '1'B if it is a leap year, '0'B if it is
not. This function is supposed to work for the years 2004 to 2015.
Leap years occur every four years, except for years ending in 00 that are not divisible by 400. Which of
the following solutions meets the requirement and does NOT need to be changed if the requirement
changes to: The function is supposed to work for the years 1900 to 3000.

Correct Answer: C Vote an answer
QUESTION NO: 5
Given the following declaration, which code does NOT initialize C completely?
DCL 1 A,
2 B DIM (0:9),
3 C DIM (5) FIXED BIN (31),
3 D CHAR (100) VAR;

Correct Answer: B Vote an answer
QUESTION NO: 6
Which of the following is generally NOT an area of concern when calling a program written in another
language from PL/I?

Correct Answer: C Vote an answer
QUESTION NO: 7
Which of the following compiler options should be checked first when addressing performance issues in a
PL/I program?

Correct Answer: B Vote an answer
QUESTION NO: 8
Which of the following structures will NOT contain padding btes if the PL/I default for alignment is applied?

Correct Answer: D Vote an answer
QUESTION NO: 9
Which of the following would a non-technical manager be LEAST interested in regarding migration to
Enterprise PL/I?

Correct Answer: C Vote an answer
QUESTION NO: 10
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?

Correct Answer: C Vote an answer

QUALITY AND VALUE

Actual4test Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.

Easy to Pass

If you prepare for the exams using our Actual4test testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.

Try Before Buy

Actual4test offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.