SAS_Institute
A00-201 · Question #112
The following SAS program is submitted: data work.final; set sasuser.houses; format price dollar.; keep price style; run; Which one of the following statements about the WORK.FINAL data set is true?
The correct answer is C. The price variable will be formatted to a dollar format in the data set. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.final;
set sasuser.houses;
format price dollar.;
keep price style;
run;
Which one of the following statements about the WORK.FINAL data set is true?
Options
- AThe data set will contain three variables.
- BThe data set will contain the style variable as a numeric variable.
- CThe price variable will be formatted to a dollar format in the data set.
- DThe data set will contain the price variable as a character variable.
How the community answered
(39 responses)- A3% (1)
- B5% (2)
- C79% (31)
- D13% (5)
Community Discussion
No community discussion yet for this question.