nerdexam
SAS_Institute

A00-212 · Question #145

The following are values of the variable STYLE from the SAS data set SASUSER.HOUSES: SASUSERS.HOUSES OBS STYLE 1 RANCH 2 SPLIT 3 CONDO 4 TWOSTORY 5 RANCH 6 SPLIT 7 SPLIT The following SAS program is…

The correct answer is A. CONDO RANCH SPLIT TWOSTORY. See the full explanation below for the reasoning.

Question

The following are values of the variable STYLE from the SAS data set SASUSER.HOUSES:

SASUSERS.HOUSES OBS STYLE 1 RANCH 2 SPLIT 3 CONDO 4 TWOSTORY 5 RANCH 6 SPLIT 7 SPLIT The following SAS program is submitted:

proc sql noprint; select distinct style into :styles separated by ' ' from sasuser.houses order by style; quit; Which one of the following is the value of the resulting macro variable?

Options

  • ACONDO RANCH SPLIT TWOSTORY
  • BRANCH SPLIT CONDO TWOSTORY
  • CCONDO RANCH RANCH SPLIT SPLIT SPLIT TWOSTORY
  • DRANCH SPLIT CONDO TWOSTORY RANCH SPLIT SPLIT

How the community answered

(30 responses)
  • A
    77% (23)
  • B
    13% (4)
  • C
    7% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice