SAS_Institute
A00-201 · Question #54
The SAS data set WORK.AWARDS is listed below: fname points Amy 2 Amy 1 Gerard 3 Wang 1 Wang 1 Wang 2 The following SAS program is submitted: proc sort data = work.awards; by descending fname points…
The correct answer is D. Wang 2 Wang 1 Wang 1 Gerard 3 Amy 2 Amy 1. See the full explanation below for the reasoning.
Question
The SAS data set WORK.AWARDS is listed below:
fname points
Amy 2
Amy 1
Gerard 3
Wang 1
Wang 1
Wang 2
The following SAS program is submitted:
proc sort data = work.awards;
by descending fname points;
run;
Which one of the following represents how the observations are sorted?
Options
- AWang 3 Gerard 3 Wang 2 Amy 2 Wang 1 Amy 1
- BWang 3 Wang 2 Wang 1 Gerard 3 Amy 2 Amy 1
- CWang 3 Wang 1 Wang 2 Gerard 3 Amy 2 Amy 1
- DWang 2 Wang 1 Wang 1 Gerard 3 Amy 2 Amy 1
How the community answered
(27 responses)- A7% (2)
- B4% (1)
- C4% (1)
- D85% (23)
Community Discussion
No community discussion yet for this question.