WIDECHAR can be converted to CHAR. Which rule has to be observed?
A. Each WIDECHAR value has to be less than `0080'WX, otherwise CONVERSION is raised.
B. All WIDECHAR values can be converted to CHAP using the appropriate builtin function.
C. Each WIDECHAR value has to be less than or equal to `00FF'WX, otherwise CONVERSIONis raised.
D. By conversion of WIDECHAR to CHAR the left byte is omitted.
The lead developer has reviewed the team's progress and determined that the deadline of one week cannot be met since all of the modules have not been thoroughly tested. Which of the following is the best action for the lead developer to take?
A. Ask management for more staff to ensure the testing is completed by the deadline.
B. Suggest that management lower the price of the productsince it does not have all therequired functionality.
C. Tell managementthatthe quality of the software maybe lowerthan expected but itwill be delivered on time.
D. Tell management that not all functionality can be provided but those modules provided will be of high quality.
Which of the following is the most appropriate way of avoiding a recursive deadlock?
A. Aborting the Transaction
B. Setting a time limit on the runtime of the Transaction
C. Partitioning the relevant Database
D. Changing the program
What will be printed after the following statements?
DCL B BIT(5); B = 1; PUT(B);
A. `00001'B
B. `00010'B
C. `11111'B
D. `10000'B
Given the following code, what measure will improve stability?
S1: PROC (I) RETURNS(CHAR(10));
DCL I BIN FIXED (15);
DCL T (-1:1) CHAR(10) INIT('NOTFOUND' ,`OK'.'ENDFILE'); RETURN(T(l));
END S1;
A. Check the length of the RETURN value.
B. Check I for valid numeric data.
C. Check, if the value of I is within T's bounds.
D. Check, if the value of I is nositive.
Given the following code, what statement will produce an E level diagnostic? %DCL ABC ENTRY;
%ABC: PROC (X,Y) STATEMENT;
DCL(X,Y) CHAR;
IF ^PARMSET(X) THEN NOTE('NO X `,0);
IF ^PARMSET(Y) THEN NOTE('NO Y `,8);
ANSWER('/* `!lX!!Yl!'C */'); %
END ABC;
A. ABC(A,);
B. ABC Y(B)X(A);
C. ABC(,B);
D. ABC (A,B);
What will be printed after the following statements?
DCL S CHAR(10);
S = `0';
S = S + 1;
PUT(S);
A. `1' followed by 9 blanks
B. 8 blanks followed by `1 `followed by a blank
C. 9 blanks followed by `1'
D. 10 blanks
What characterizes the hierarchical data model with respect to data access?
A. Data access supports parent-child relationships.
B. Data access supports tables.
C. Data access can only be sequential.
D. Data access can only be via an index.
A module which is serially reusable has which of the following characteristics?
A. Is intended for single use only and must be refreshed from disk before it can be invoked again
B. Must contain the necessary logic to reset control variables and data areas at entry or exit and a second task may not enter the module until the first task has finished
C. Is designed for concurrent execution by multiple tasks
D. All or part of it may be replaced at any time by the operating system
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;
A. CASE 1
B. CASE 2
C. CASE 3
D. CASE 4