nerdexam
SAS_Institute

A00-280 · Question #97

A00-280 Question #97: Real Exam Question with Answer & Explanation

Sign in or unlock A00-280 to reveal the answer and full explanation for question #97. The question stem and answer options stay visible for context.

Question

A SAS program is submitted and the following log is written. 893 data WORK.CHECKVISITS; 894 array VISDT VISDT1-VISDT4 (keep=PATID VISDTO VISDT1 VISDT2 VISDT3 VISDT4); 895 array VISDT{1:4}; 896 do i=1 to 4; 897 if VISDT(i) ?VISDT(i-1) gt 10 then output; 898 end; 899 run; ERROR: Array subscript out of range at line 897 column 21. What is the cause of this error message?

Options

  • AThe ARRAY declaration is syntactically incorrect.
  • BThe IF statement is syntactically incorrect.
  • CThe DO loop tries to get a value from a variable which does not exist.
  • DThe IF statement tries to get ARRAY elements which are not declared.

Unlock A00-280 to see the answer

You've previewed enough free A00-280 questions. Unlock A00-280 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full A00-280 Practice