nerdexam
SAS_Institute

A00-211 · Question #196

The SASDATA.BANKS data set has five observations when the following SAS program is submitted: libname sasdata 'SAS-data-library'; data allobs; set sasdata.banks; capital=0; do year = 2000 to 2020 by…

The correct answer is D. 25. See the full explanation below for the reasoning.

Question

The SASDATA.BANKS data set has five observations when the following SAS program is submitted:

libname sasdata 'SAS-data-library'; data allobs; set sasdata.banks; capital=0; do year = 2000 to 2020 by 5; capital + ((capital+2000) * rate); output; end; run; How many observations will the ALLOBS data set contain?

Options

  • A5
  • B15
  • C20
  • D25

How the community answered

(53 responses)
  • A
    19% (10)
  • B
    6% (3)
  • C
    4% (2)
  • D
    72% (38)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice