SAS_Institute
A00-211 · Question #143
The following SAS program is submitted: data test; set sasuser.employees; if 2 le years_service le 10 then amount = 1000; else amount = 0; amount_per_year = years_service / amount run; What is the…
Sign in or unlock A00-211 to reveal the answer and full explanation for question #143. The question stem and answer options stay visible for context.
Question
The following SAS program is submitted:
data test; set sasuser.employees; if 2 le years_service le 10 then amount = 1000; else amount = 0; amount_per_year = years_service / amount run; What is the value of the variable AMOUNT_PER_YEAR if an employee has been with the company for one year?
Options
- A0
- B0.001
- C1
- D. (missing numeric value)
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.