SAS_Institute
A00-211 · Question #159
The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted: Which statement is true?
The correct answer is C. The values of the variable Payroll represent the monthly total for each department in the WORK.SALARY. See the full explanation below for the reasoning.
Question
The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted:
Which statement is true?
Options
- AThe by statement in the DATA step causes a syntax error.
- BThe statement Payroll+(MonthlyWageRate*12); in the data step causes a syntax error.
- CThe values of the variable Payroll represent the monthly total for each department in the WORK.SALARY
- DThe values of the variable Payroll represent a monthly total for all values of WAGERATE in the
How the community answered
(29 responses)- A7% (2)
- B10% (3)
- C79% (23)
- D3% (1)
Community Discussion
No community discussion yet for this question.