Given the following code, which is the only valid way to convert Q to P?
DCL Q OFFSET;
DCL P POINTER;
DCLX CHAR(100)BASED;
DCL A AREA(6000);
ALLOC X SET(Q) IN(A);
A. P = Q;
B. P = POINTER(Q,A);
C. P = POINTERVALUE(Q);
D. P = ADDR(A) + Q;
In which of the following cases is a performance analyzer tool NOT useful?
A. To time and tune programs
B. To locate program hangs and deadlocks
C. To show the frequency and duration of function calls
D. To identify the code causing a storage overlay
A compiler listing annotated with execution counts per statement helps identify all of the following EXCEPT
A. Potentially miscoded conditions in IFs, WHEREs, WHILEs, and UNTILs
B. Unexecuted statements and procedures
C. Calls to library routines
D. Opportunities for code optimization
The Senior Vice President of the organization is onsite for a one day visit. She has asked for a meeting with the team lead to understand the status of the project. Which of the following is the most appropriate action for the team lead to take?
A. Walk her through the functional specification for the application
B. Show her the most important APIs that have been defined
C. Show the requirements specification as a way for her to understand the project
D. Take her through the project plan
A dummy argument is NOT created when a routine is called in which of the following situations?
A. With a constant as parameter
B. With the attributes(s) of the arguments and parameters are not the same
C. Where the attributes(s) of the arguments and parameters are the same
D. Using SUBSTR as one of the arguments
The following coding standards are enforced at a programming shop:
*
All procedures must include a comment describing its function
*
All automatic variables must be explicitly initialized when declared * No nested IF statements (implement
as SELECT)
Considering the following code, how many coding standard violations exist? CALL P1(1); /* ------- proc
p1------- */
P1: PROC(l);
DCL I BIN FIXED(31);
DCL (J,K) BIN FIXED(31) INIT(0);
IF I = 1
THEN IF J = 2 THEN K = 3; ELSE K = 4; ELSE K = 5; END;
A. 1
B. 2
C. 3
D. 4
Which of the following declarations uses the LEAST memory? DCL 1 S1 ALIGNED,
2 A CHAR(3),
2 B BIN FIXED(31),
2 C DEC FIXED(5), 2 D BIN FIXED(15); DCL 1 S2 UNALIGNED, 2 A CHAR(3), 2 B BIN FIXED(31), 2 C DEC FIXED(5), 2 D BIN FIXED(15); DCL 1 S3 ALIGNED, 2 B BIN FIXED(31), 2 A CHAR(3), 2 D BIN FIXED(15), 2 C DEC FIXED(5);
DCL 1 S4 ALIGNED, 2 D BIN FIXED(15), 2 A CHAR(3), 2 B BIN FIXED(31), 2 C DEC FIXED(5);
A. S1
B. S2
C. S3
D. S4
Which of the following techniques, if any, can be used to parallelize a PL/I program?
A. Attach threads to pieces or work that are independent from others
B. Attach a thread to every subroutine in the program.
C. Attach a thread to every external entry in the program.
D. Parallelization is not possible in PL/I 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
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
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.