Which of the following is LEAST likely to be performed by an online application?
A. Checkpoint/restart logic
B. Transaction processing
C. End user interaction
D. Sorting
Which of the following best describes an atomic transaction?
A. The database modifications must follow an `all or nothing' rule
B. Only valid data will be written to database
C. If one part of the transaction fails, the remainder may still be processed
D. Referential Integrity is maintained in the database
What is a program specification document?
A. A description of what the program does and how it can be used
B. A description of how the program does its work
C. The pseudocode of the program
D. The history of changes of the program and how it was used
Which of the following steps is NOT required to use the IBM Debug Tool on a PL/I program?
A. Compile with TEST option
B. Write an Language Environment user condition handler
C. Plan points where the program should stop during testing
D. Have the source code available
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
What does it mean that an interface is asynchronous?
A. Requests are processed in FIFO order.
B. Requests are always processed immediately.
C. Requesting program does not have to wait for a reply.
D. Requests are processed in parallel.
A program reads an input file into a structure with 20 fields. Fifteen of these are required as parameters in an external procedure. Which of the following is the most efficient way of passing these parameters?
A. Pass 15 variables in a parameter list.
B. Pass the address of the input structure as one argument.
C. Create a structure, assign the 15 variables to it and pass it as one argument.
D. Create a structure, assign the 15 variables to it and pass the address of it in one argument.
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*/
What is a program internal specification document?
A. A description of how the program can be used
B. A description of how the program does its work
C. The history of changes of the program and how it worked
D. A summary of the program's performance data
Which of the following is generally NOT an area of concern when calling a program written in another language from PL/I?
A. Storage management
B. Acceptable calling conventions
C. Data mapping
D. Condition handling
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.
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.
Which of the following is the most likely reason to use a debugger in a production environment?
A. Enhance performance
B. Ensure data integrity
C. Investigate error situations
D. Test a program
A mainframe project is behind schedule and a project leader has only one copy of a PC-based PL/I compiler available for distribution to team members who are all eager to use it. Optimally, to whom should it be provided first?
A. The person in the critical path
B. The person who does the most PL/I development
C. The person who makes the greatest demand
D. The project leader and her manager
It becomes apparent that the deadline to implement and test all the functions required for an application is at risk. Which of the following is the best course of action?
A. Inform management that more people are required.
B. Inform management that some functions will not have been tested when the system isimplemented.
C. Inform management thatthe deadline has to be changed.
D. Inform the team and the sponsor aboutthe problem and discuss possible solutions.