SAS_Institute
A00-201 · Question #3
The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments. Which one of the following represents how many observations the WORK.TOTAL data…
The correct answer is A. 5. See the full explanation below for the reasoning.
Question
The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments.
Which one of the following represents how many observations the WORK.TOTAL data set contains?
data work.total;
set work.salary(keep = department wagerate);
by department;
if first.department then payroll = 0;
payroll + wagerate;
if last.department;
run;
Options
- A5
- B20
- C100
- D500
How the community answered
(24 responses)- A79% (19)
- B4% (1)
- C13% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.