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;
Topics:
SAS Base Questions |
5 Comments »
B
Why not D ?
Isnt it A or C?
The options a, c and d will create variables “sales1, sales2, sales3”, which are already existing in data set work.staff.
The options a, c and d will create variables “salary1, salary2, salary3″, which are already existing in data set work.staff.