nerdexam
SAS_Institute

A00-211 · Question #46

The following SAS program is submitted: data WORK.OUTDS; do until(Prod GT 6); Prod + 1; end; run; What is the value of the variable Prod in the output data set?

The correct answer is C. 7. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data WORK.OUTDS; do until(Prod GT 6); Prod + 1; end; run; What is the value of the variable Prod in the output data set?

Options

  • A. (missing)
  • B6
  • C7
  • DUndetermined, infinite loop.

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    74% (28)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice