000-042 Exam
Developing with IBM Enterprise PL/I
- Exam Number/Code : 000-042
- Exam Name : Developing with IBM Enterprise PL/I
- Questions and Answers : 140 Q&As
- Update Time: 2013-04-05
-
Price:
$ 119.00$ 69.00 -
000-042 Hard Copy (PDF)
-
000-042 Test Engine
Free 000-042 Demo Download
Test4pass offers free demo for IBM certifications I 000-042 exam (Developing with IBM Enterprise PL/I). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.
Exam Description
It is well known that 000-042 exam test is the hot exam of IBM certification. Test4pass offer you all the Q&A of the 000-042 real test . It is the examination of the perfect combination and it will help you pass 000-042 exam at the first time!
Why choose Test4pass 000-042 braindumps
Quality and Value for the 000-042 Exam
100% Guarantee to Pass Your 000-042 Exam
Downloadable, Interactive 000-042 Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our Practice Test Questions are backed by our 100% MONEY BACK GUARANTEE.
Test4pass 000-042 Exam Features
Quality and Value for the 000-042 Exam
Test4pass Practice Exams for IBM 000-042 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.
100% Guarantee to Pass Your 000-042 Exam
If you prepare for the exam using our Test4pass testing engine, we guarantee your success in the first attempt. If you do not pass the IBM certifications I 000-042 exam (ProCurve Secure WAN) on your first attempt we will give you a FULL REFUND of your purchasing fee AND send you another same value product for free.
IBM 000-042 Downloadable, Printable Exams (in PDF format)
Our Exam 000-042 Preparation Material provides you everything you will need to take your 000-042 Exam. The 000-042 Exam details are researched and produced by Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get questions from different web sites or books, but logic is the key. Our Product will help you not only pass in the first try, but also save your valuable time.
000-042 Downloadable, Interactive Testing engines
We are all well aware that a major problem in the IT industry is that there is a lack of quality study materials. Our Exam Preparation Material provides you everything you will need to take a certification examination. Like actual certification exams, our Practice Tests are in multiple-choice (MCQs) Our IBM 000-042 Exam will provide you with free 000-042 dumps questions with verified answers that reflect the actual exam. These questions and answers provide you with the experience of taking the actual test. High quality and Value for the 000-042 Exam:100% Guarantee to Pass Your IBM certifications I exam and get your IBM certifications I Certification.
Hot KeyWords On 000-042 test
We collect some hot keywords about this exam:
Test4pass , Pass 4 Sure , Test in Side ,Pass Guide ,Test King 000-042 exam | 000-042 pdf exam | 000-042 braindumps | 000-042 study guides | 000-042 trainning materials | 000-042 simulations | 000-042 testing engine | 000-042 vce | 000-042 torrent | 000-042 dumps | free download 000-042 | 000-042 practice exam | 000-042 preparation files | 000-042 questions | 000-042 answers.
How to pass your 000-042 exam
You can search on Search Engine and Find Best IT Certification site: Test4pass.com - Find the Method to succeed 000-042 test,The safer.easier way to get IBM certifications I Certification IBM certifications II Certification .
��
Exam : IBM 000-042
Title : Developing with IBM Enterprise PL/I
1. Requirement:
If the value of the numeric variable I is 1 it needs to be changed to 2 and vice versa. In all other cases it must remain unchanged.
Which of the following solutions meets the requirement and does not require essential structural modifications when the requirement is changed to the following:
If the value of the numeric variable I is 512 it needs to be changed to 731 and if the value is 814 it needs to be changed to 5. In all other cases it must be set to 111.
A. IF I = 1 ! I = 2
THEN I = 3 - I;
B. DCL ONETWO(2) BIN FIXED(15) INIT(2,1);
IF I = 1 ! I = 2
THEN I = ONETWO(I);
C. SELECT (I);
WHEN(1) I = 2;
WHEN(2) I = 1;
OTHER;
END;
D. IF I = 1 THEN I = 2;
IF I = 2 THEN I = 1;
Answer: C
2. Which of the following is a typical deadlock situation?
Situation 1:
Transaction A waiting for resource_2 and Transaction B waiting for resource_1 while resource_1 is held by Transaction C and resource_2 is held by Transaction B
Situation 2:
Transaction A waiting for resource_1 and Transaction B waiting for resource_2 while resource_1 is held by Transaction B and resource_2 is held by Transaction C
Situation 3:
Transaction A Waiting for resource_2, Transaction B waiting for resource_3, Transaction C waiting for resource_1, while resource_1, resource_2 and resource_3 are held by Transactions A, B and C respectively.
Situation 4:
Transaction B waiting for resource_1 and Transaction C waiting for resource_2 while resource_1 is held by Transaction C and resource_2 is held by Transaction A
A. Situation 1
B. Situation 2
C. Situation 3
D. Situation 4
Answer: C
3. 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
Answer: A
4. Which of the following will definitely NOT cause an unresolved external entry?
A. Missing library at link time
B. The main procedure name matching the binder or load module 'name'
C. A mismatch in names between the CALL and the actual procedure
D. An incorrect DECLARE for the external entry
Answer: B
5. In which of the following examples will a dummy argument be passed?
A. DCL A EXT ENTRY;
DCL (X,Y) FIXED BIN;
CALL A(X,Y);
B. DCL A EXT ENTRY (FIXED, BINARY);
DCL (X,Y) FIXED BIN;
CALL A(X,Y);
C. DCL A EXT ENTRY (FIXED BINARY);
DCL (X,Y) FIXED BIN;
CALL A(X,Y);
D. PGM: PROC OPTIONS(MAIN);
DCL (X,Y) FIXED BIN;
CALL C (X,Y);
C: PROC (A,B);
DCL (A,B) BIN FIXED;
END C;
END PGM;
Answer: B
6. Given the following declarations, a list of 100 elements must be created so that the element created last can be accessed as the first element of the list. A new element is always inserted in front of the element created before. The variable NEXT in the last element should contain the value NULL. Which of the following pieces of code implements this?
DCL 1 NODE BASED (ANCHOR),
2 NEXT POINTER,
2 DATA FIXED BIN (31);
DCL ANCHOR POINTER;
DCL P POINTER INIT (NULL());
DCL I FIXED BIN(31);
A. DO I = 1 TO 100;
ALLOCATE NODE;
NODE.DATA = I;
NODE.NEXT = P;
P = ANCHOR;
END;
B. DO I = 1 TO 100;
P = ANCHOR;
ALLOCATE NODE;
NOTE.DATA = I;
NODE.NEXT = P;
END;
C. I = 1 TO 100;
ALLOCATE NODE;
NODE.DATA = I;
NODE.NEXT = P;
ANCHOR = P;
END;
D. DO I = 1 TO 100;
NODE.DATA = I;
NODE.NEXT = P;
ALLOCATE NODE;
P = ANCHOR;
END;
Answer: A
7. Prerequisite:
A sorted input dataset with record length 100 contains at least one record for each of the values '1', '2', '3' in the first byte. The applied sort criteria is 1,100,ch,a.
Requirements:
1.) All records with '1' in the first byte must be ignored.
2.) All records with '2' in the first byte must be written to the output dataset.
3.) If there is a '3' in the first byte, the read iteration must be left.
4.) The program must not abend or loop infinitely.
If the code below does not fulfill the specifications provided above, which of the following is the most likely reason?
DCL DDIN FILE RECORD INPUT;
DCL DDOUT FILE RECORD OUTPUT;
DCL 1 INSTRUC,
3 A CHAR(1),
3 * CHAR(99);
DCL EOF_IN BIT(1) INIT('0'B);
DCL (Z1,Z2,Z3,ZO) BIN FIXED(31) INIT(0);
ON ENDFILE(DDIN) EOF_IN = '1'B;
READ FILE(DDIN) INTO (INSTRUC);
LOOP: DO WHILE(^EOF_IN);
SELECT(INSTRUC.A);
WHEN('1') DO;
Z1 += Z1;
ITERATE LOOP;
END;
WHEN('3') DO;
Z3 = Z3+1;
LEAVE LOOP;
END;
WHEN('2') DO;
Z2 = Z2+1;
WRITE FILE(DDOUT) FROM(INSTRUC);
END;
OTHER DO;
ZO = ZO+1;
PUT SKIP LIST(INSTRUC.A);
END;
END;/*select*/
READ FILE(DDIN) INTO(INSTRUC);
END;/*loop*/
A. The code does not fulfill the requirement because the program will loop infinitely.A.The code does not fulfill the requirement because the program will loop infinitely.
B. The code does not fulfill the requirement because the last record with '2' in the first byte will be written twice to the output dataset.B.The code does not fulfill the requirement because the last record with '2' in the first byte will be written twice to the output dataset.
C. The code does not fulfill the requirement because not all records with '2' in the first byte will be written to the output dataset.C.The code does not fulfill the requirement because not all records with '2' in the first byte will be written to the output dataset.
D. The code fulfills the requirement.D.The code fulfills the requirement.
Answer: A
8. Which of the following PL/I features is NOT new with Enterprise PL/I?
A. VALUE attribute for named constants.
B. UNIONs or CELLs to assign identical storage to different variables.
C. Writing numeric constants with the underscore sign as a separator.
D. Using hexadecimal constants.
Answer: D
9. Given the following declarations, which statement correctly refers to X?
DCL R CHAR(10);
DCL X CHAR(10) BASED;
DCL P PTR;
DCL Z CHAR(10);
P = ADDR(R);
A. Z = P -> X;
B. P = ADDR(X);
C. Z = X;
D. X = 'THIS IS X';
Answer: A
10. Given the following declarations, which code is likely to perform best and correctly initialize structure S?
DCL 1 S UNALIGNED,
2 A CHAR(3),
2 B BIN FIXED(31),
2 C DEC FIXED(5);
DCL 1 T UNALIGNED LIKE S;
T = '';
A. S = '';
B. S = T, BY NAME;
C. CALL PLIFILL(ADDR(S),' ',STG(S));
D. CALL PLIMOVE(ADDR(S),ADDR(T),STG(S));
Answer: D
11. SUBSCRIPTRANGE checks which of the following?
A. The subscripts of an array are checked for conformance with iSUB defining rules.
B. The address generated for accessing an array element is checked to be sure it falls within the storage allocated to the array.
C. The value of each subscript used to refer to an array element is checked for validity after the element is accessed.
D. The value of each subscript used to refer to an array element is checked for validity before the element is accessed.
Answer: D
12. 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
Answer: A
13. The XMLCHAR builtin function provides the ability to do which of the following?
A. Check XML for well-formedness
B. Check XML for validity
C. Create an XML buffer from a structure
D. Read an XML file into a structure
Answer: C
14. The lead developer on a project has just learned that Pat, a highly skilled programmer on the team, has been reassigned. The lead developer is familiar with Pat's work and is concerned because no one on the team has the necessary skills to pick up the work immediately. A new employee with the required skills is joining the team next week, but the timeline for a mission critical milestone has been moved up to the end of this week. Which of the following is the most appropriate action for the lead developer to take to ensure that the critical milestone is met?
A. Direct the team to cover all of Pat's work until the new employee arrives.
B. Explain to the team why this change in schedule is important to the customer.
C. Personally cover the work until the new employee arrives.
D. Explore with the team whether they will be able to meet the new deadline.
Answer: C