What happens to STATIC variables declared in a procedure when the procedure is called recursively?
A. STATIC variables are allocated only once and can, therefore, be used for communication between invocations.
B. The values of STATIC variables from the previous invocation are saved and are available when the current invocation ends.
C. The values of STATIC variables from the previous invocation are lost.
D. STATIC variables are allocated and initialized at each new invocation.
Which of the following is NOT useful to translate business logic into the appropriate technical design?
A. GANTT charts
B. Pseudo code
C. Nassi-Shneiderman diagrams (structograms)
D. Jackson Structured Programming method
Given the following (incomplete) code, how is Q to be declared in order to allocate X in A?
DCL A AREA;
DCL Q ...
DCL X FIXED BIN (31) BASED (Q);
ALLOCATE X;
A. ... OFFSET(A);
B. ... POINTER;
C. ... OFFSET;
D. ... BASED(A);
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
Given the following code, what measure will NOT improve stability?
S1: PROC (X,Y,Z);
DCL X DEC FIXED (5);
DCL Y PlC `99999';
DCL Z DEC FIXED (5);
Z = X + Y;
END;
A. Check X for valid packed data.
B. Check Y for valid numeric data.
C. Check Z for valid packed data.
D. Check result overflow.
In a multithreading environment, when can a race condition occur between two threads?
A. When they cause a deadlock
B. When they periorm an operation on same memory area
C. When they operate synchronously
D. When the threads have the same priority
What characterizes the relational model with respect to data storage?
A. Data is stored in variable length and format.
B. Data is stored in tables.
C. Data is stored in segments.
D. Data is stored in hierarchies.
Which of the following actions will NOT help increase the maintainability of a program?
A. Proper commenting for each piece of functionality
B. Consolidating redundant code
C. Deleting dead code
D. Replacing subroutines with functions
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.
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.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C6030-042 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.