SAS_Institute
A00-211 · Question #15
The following SAS program is submitted: data work.test; set work.staff (keep = jansales febsales marsales); array diff_sales{3} difsales1 - difsales3; array monthly{3} jansales febsales marsales…
The correct answer is C. DIFSALES1, DIFSALES2 and DIFSALES3. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.test; set work.staff (keep = jansales febsales marsales); array diff_sales{3} difsales1 - difsales3; array monthly{3} jansales febsales marsales; run; What new variables are created?
Options
- AJANSALES, FEBSALES and MARSALES
- BMONTHLY1, MONTHLY2 and MONTHLY3
- CDIFSALES1, DIFSALES2 and DIFSALES3
- DDIFF_SALES1, DIFF_SALES2 and DIFF_SALES3
How the community answered
(26 responses)- A4% (1)
- B4% (1)
- C81% (21)
- D12% (3)
Community Discussion
No community discussion yet for this question.