nerdexam
SAS_Institute

A00-211 · Question #191

The following SAS program is submitted: data work.test; array agents{4} $ 12 sales1 - sales4; run; Which one of the following represents the variables that are contained in the output data set?

The correct answer is A. SALES1, SALES2, SALES3, SALES4. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data work.test; array agents{4} $ 12 sales1 - sales4; run; Which one of the following represents the variables that are contained in the output data set?

Options

  • ASALES1, SALES2, SALES3, SALES4
  • BAGENTS1, AGENTS2, AGENTS3, AGENTS4
  • CNone, the DATA step fails because the ARRAY statement can reference only numeric data.
  • DNone, the DATA step fails because the ARRAY statement can reference only pre-existing variables.

How the community answered

(21 responses)
  • A
    71% (15)
  • B
    5% (1)
  • C
    14% (3)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice