000 041

Page 32

A. The value of B is ‘ABCD’ B. The value of B is ‘BCDE’ C. The value of B is NULL. D. There is a syntax error. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-041&qno=106 -------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 107 What is the value of XY.A, if any, after executing the following code? DCL 1 XY, 2 A CHAR(4), 2 B BIN FIXED(31); DCL 1 YZ, 2 C CHAR(2) INIT(’CC’), 2 D PIC’99’ INIT(10); XY = YZ; A. ‘CC10’ B. ‘CC ‘ C. CC’ D. CONVERSION would be raised. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-041&qno=107 -------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 108 Given the following declaration, the compiler will issue a warning message that says “INITIAL list for the array A contains only one item.”. Which INIT statement would correctly eliminate this message? DCL A(10) CHAR(5) INIT( ‘‘); A. INIT( COPY(’ ‘.10)) B. INIT((10)’ ’) C. INIT( (10)(’ ’)) D. INIT(LOW(10)) Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-041&qno=108 -------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 109 Which of the following options is proper for the PROC statement, but invalid for the ENTRY statement?

A. OPTIONS(BYADDR) B. OPTIONS(COBOL) C. RETURNS(<attribute-list>) D. RECURSIVE Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-041&qno=109 -------------------------------------------------------------------------------------------------------------------------------------


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.