A00-211 · Question #8
The data set RALESTATE has the variable LOCALFEE with a format or 9. and a variable COUNTRYFEE with a format or 7.; The following SAS program is submitted: data history; format local fee country fee…
Sign in or unlock A00-211 to reveal the answer and full explanation for question #8. The question stem and answer options stay visible for context.
Question
The data set RALESTATE has the variable LOCALFEE with a format or 9. and a variable COUNTRYFEE with a format or 7.; The following SAS program is submitted:
data history; format local fee country fee percent6.; set realestate; local fee = local fee / 100; country fee = country fee / 100; run; What are the formats of the variables LOCALFEE and COUNTRYFEE in the output dataset?
Options
- ALOCALFEE has format of 9. and COUNTRYFEE has a format of 7.
- BLOCALFEE has format of 9. and COUNTRYFEE has a format of percent6.
- CLOCALFEE has format of percent6. and COUNTRYFEE has a format of percent6.
- DThe data step fails execution; there is no format for LOCALFEE
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.