Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
Location Chicago IL, USA

Exam A00-211 topic 1 question 96 discussion

Actual exam question from SAS Institute's A00-211
Question #: 96
Topic #: 1
[All A00-211 Questions]

Given the SAS data set WORK.TEMPS:

The following program is submitted:

Which output is correct?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer

Suggested Answer: C


1 week, 2 days ago
given answer C is correct, .. sort is descending on a character variable, so it goes backwards in the alphabet from May to JUNe to JULy and ascending on day (so not D). data temps; infile datalines; input day month $ temp; datalines; 1 May 75 15 May 70 15 June 80 3 June 76 2 July 85 14 July 89 ; proc sort data=work.temps; by descending month day; run; proc print data=work.temps; run;
upvoted 1 times
5 months, 1 week ago
month is a string variable, so july < june <may. the answer is A.
upvoted 1 times