Question 68 :

 The following SAS program is submitted:

 data test;

 set sasuser.employees;

 if 2 le years_service le 10 then amount = 1000;

 else if years_service gt 10 then amount = 2000;

 else amount = 0;

 amount_per_year = years_service / amount;

 run;

 Which one of the following values does the variable AMOUNT_PER_YEAR contain if an employee has been with the company for one year?

 

  1. 0
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 4

 Exp : Amount is set to 0 and therefore amount_per_year is set to missing..

 Try this

 data test;

 years_service=1;

You can access to full explanation to question and answer from this page.