nerdexam
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…

The correct answer is D. . (missing numeric value). See the full explanation below for the reasoning.

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)

How the community answered

(32 responses)
  • A
    9% (3)
  • B
    6% (2)
  • C
    3% (1)
  • D
    81% (26)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice