nerdexam
SAS_Institute

A00-211 · Question #131

Given the SAS data set SASDATA.TWO: SASDATA.TWO XY ---- The following SAS program is submitted: data sasuser.one two sasdata.three; set sasdata two; if x = 5 then output sasuser.one; else output…

The correct answer is A. data set SASUSER.ONE has 5 observations. See the full explanation below for the reasoning.

Question

Given the SAS data set SASDATA.TWO:

SASDATA.TWO XY ---- The following SAS program is submitted:

data sasuser.one two sasdata.three; set sasdata two; if x = 5 then output sasuser.one; else output sasdata two; run; What is the result?

Options

  • Adata set SASUSER.ONE has 5 observations
  • Bdata set SASUSER.ONE has 2 observations
  • Cdata set SASUSER.ONE has 2 observations
  • DNo data sets are output.

How the community answered

(35 responses)
  • A
    77% (27)
  • B
    3% (1)
  • C
    14% (5)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice