nerdexam
SAS_Institute

A00-211 · Question #111

A00-211 Question #111: Real Exam Question with Answer & Explanation

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

Question

The following SAS program is submitted: data work.totalsales; set work.monthlysales(keep = year product sales); retain monthsales {12} ; array monthsales {12} ; do i = 1 to 12; monthsales{i} = sales; end; cnt + 1; monthsales{cnt} = sales; run; The data set named WORK.MONTHLYSALES has one observation per month for each of five years for a total of 60 observations. Which one of the following is the result of the above program?

Options

  • AThe program fails execution due to data errors.
  • BThe program fails execution due to syntax errors.
  • CThe program runs with warnings and creates the WORK.TOTALSALES data set with 60 observations.
  • DThe program runs without errors or warnings and creates the WORK.TOTALSALES data set with

Unlock A00-211 to see the answer

You've previewed enough free A00-211 questions. Unlock A00-211 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-211 Practice