By admin | September 16, 2009

SAS Certified Base Programmer 123 Questions (49)

The SAS data set WORK.AWARDS is listed below:

fname  points
Amy    2
Amy    1
Gerard 3
Wang   3
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?

A.
Wang 3
Gerard 3
Wang 2
Amy 2
Wang 1
Amy 1

B.
Wang 3
Wang 2
Wang 1
Gerard 3
Amy 2
Amy 1

C.
Wang 3
Wang 1
Wang 2
Gerard 3
Amy 2
Amy 1

D.
Wang 1
Wang 2
Wang 3
Gerard 3
Amy 1
Amy 2

One comment | Add One

  1. admin - 09/16/2009 at 12:25 pm

    D

Leave a Comment

Leave a Reply

Your email address will not be published.