Question 57

 The following SAS program is submitted:

 data names;

 title='EDU';

 if title='EDU' then

 Division='Education';

 else if title='HR' then

 Division='Human Resources';

 else Division='Unknown';

 run;

 Which one of the following represents the value of the variable Division in the output data set?

  1. Educatio
  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

 Ans : 2

 Exp : The length of the variable Division is set to 9 when the DATA step compiles. Since the value of the variable Title is EDU, the first IF condition is true; therefore, the value

 of the variable Division is Education.

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