By admin | August 6, 2009

SAS Certified Base Programmer 50 Questions (23)

The following program is submitted:

data work.test;
    set work.staff (keep=salary1 salary2 salary3);
    <insert ARRAY statement here>
run;

Which ARRAY statement completes the program and creates new variables?

a. array salary{3};
b. array new_salary{3};
c. array salary{3} salary1-salary3;
d. array new_salary{3} salary1-salary3;

5 comments | Add One

  1. admin - 08/9/2009 at 8:33 pm

    B

  2. Deepak - 07/25/2011 at 11:52 am

    Why not D ?

  3. sachin - 07/21/2012 at 10:33 pm

    Isnt it A or C?

  4. NISSANTH - 02/22/2013 at 11:36 am

    The options a, c and d will create variables “sales1, sales2, sales3”, which are already existing in data set work.staff.

  5. NISSANTH - 02/22/2013 at 11:37 am

    The options a, c and d will create variables “salary1, salary2, salary3″, which are already existing in data set work.staff.

Leave a Comment

Leave a Reply

Your email address will not be published.