Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mhminkov
2 years, 10 months 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
...
Kleinstone
3 years, 3 months ago
month is a string variable, so july < june <may. the answer is A.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...