nerdexam
SAS_Institute

A00-211 · Question #2

Given the SAS data set PRICES: PRICES prodid price K12S5.10producttype NETWORKsales 15returns B132S 2.34HARDWARE30010 R18KY21.29SOFTWARE255 3KL8BY 6.37HARDWARE12515 DY65DW 5.60HARDWARE455 DGTY23…

The correct answer is B. 2. See the full explanation below for the reasoning.

Question

Given the SAS data set PRICES:

PRICES prodid price K12S5.10producttype NETWORKsales 15returns B132S 2.34HARDWARE30010 R18KY21.29SOFTWARE255 3KL8BY 6.37HARDWARE12515 DY65DW 5.60HARDWARE455 DGTY23 4.55HARDWARE672 The following SAS program is submitted:

data hware inter soft; set prices (keep = producttype price); if price le 5.00; if producttype = HARDWARE' then output HWARE; else if producttype = NETWORK' then output INTER; else if producttype = `SOFTWARE' then output SOFT; run; How many observations does the HWARE data set contain?

Options

  • A0
  • B2
  • C3
  • D4

How the community answered

(51 responses)
  • A
    12% (6)
  • B
    76% (39)
  • C
    4% (2)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice