nerdexam
SAS_Institute

A00-201 · Question #109

68: 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…

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

Question

68: 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

(23 responses)
  • A
    9% (2)
  • B
    17% (4)
  • C
    4% (1)
  • D
    70% (16)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice