B. 10 records will be written with first record value undefined. C. 9 records will be written with value 1 to 9. D. 9 records will be written with value 2 to 10. Answer: A 54
QUESTION: 136 If the PROC name is less than 8 characters, what ENTRY point should be specified for a PL/I routine which will be FETCHed? A. PLISTART B. CEESTART L C. The PROC name D. The PROC name followed by a ‘1’ Answer: C QUESTION: 137 Given the lollowing declarations, what statement will raise STRINGSIZE condition if enabled? DCLA_STR CHAR (100) VARYING; DCLB_STR CHAR(10) STATIC; DCL C_STR CHAR (100); A. A_STR = B_STR; B. C_STR = B_STR; C. SUBSTR(C_STR, 92) = B_STR; D. C_STR = A_STR; Answer: C QUESTION: 138 Given the following code, which call will pass a dummy argument? PROG: PROC OPTIONS(MAIN); DCL SUM01 DEC FIXED(5,0) INIT (7); DCL SUM02 DEC FIXED(9,0) INIT (999); CALL SUBA(SUM01, SUM02); CALL SUSB(SUM01, SUM02); CALL SUBC(SUM01, SUM02); CALL SUBD(SUM01, SUM02); SUBA PROC( PRM1, PRM2); DCL PRM1 DEC FIXED (5,0) BYVALUE, PRM2 DEC FIXED (9,0); END SUBA; SUBB: PROC( PRM1, PRM2); DCL PRM1 DEC FIXED (5,0), PRM2 DEC FIXED (9,0); END SUBD; 55
SUBC: PROC( PRM 1, PRM2); DCL PRM1 BIN FIXED (15,0), PRM2 DEC FIXED (9,0); END SUBC; SUBD: PROC( PRM 1, PRM2); DCL PRM1 DEC FIXED(5,0) BYADDR, PRM2 DEC FIXED (9,0) SYADDP; END SUBD; END PROG; A. Call to SUBA B. CaII to SUBB C. CaII to SUBC D. CaII to SUBD Answer: C QUESTION: 139 Given the following code, what will happen? DCL(K, L) FIXED DEC (1); K= 1; L = 2; PUT SKIP LIST (12+K/L); A. The outputis 12.5. B. The program ends abnormally at runtime. C. The resulting value is 6.5. D. The output is 12.4999999999999. Answer: B QUESTION: 140 Given the following declaration for X: DCLX FIXED DEC (3) INIT (123); If Y is declared as CHAR, what should its minimum length be to preserve the value 123 if these statements are executed? Y = X; X =Y; A. 3 B. 4 C. 5 D. 6 Answer: D 56
For More exams visit http s ://killexams.com /vendors-exam-list Kill your exam at First Attempt .... Guaranteed!
You've reached the end of your free preview.
Want to read all 6 pages?
- Fall '20
- Following, Suba