A00-211 · Question #208
Given the SAS data set PRICES: PRICES Prodid priceproducttypesalesreturns K1255.10NETWORK152 B132S 2.34HARDWARE30010 R18KY2 1.29SOFTWARE255 3KL8BY 6.37HARDWARE12515 DY65DW 5.60HARDWARE455 DGTY23…
Sign in or unlock A00-211 to reveal the answer and full explanation for question #208. The question stem and answer options stay visible for context.
Question
Given the SAS data set PRICES:
PRICES Prodid priceproducttypesalesreturns K1255.10NETWORK152 B132S 2.34HARDWARE30010 R18KY2 1.29SOFTWARE255 3KL8BY 6.37HARDWARE12515 DY65DW 5.60HARDWARE455 DGTY23 4.55HARDWARE672 The following SAS program is submitted:
data hware inter cheap; set prices(keep = productype price); if producttype = HARDWARE' then output hware; else if producttype = NETWORK' then output inter; if price le 5.00; run; if producttype = HARDWARE' then output hware; else if producttype = NETWORK' then output inter; if price le 5.00; run; How many observations does the HWARE data set contain?
Options
- A0
- B2
- C3
- D4
Unlock A00-211 to see the answer
You've previewed enough free A00-211 questions. Unlock A00-211 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.