exam questions

Exam A00-211 All Questions

View all questions & answers for the A00-211 exam

Exam A00-211 topic 2 question 79 discussion

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

The following SAS program is submitted:
libname temp 'SAS-data-library';
data work.new;
set temp.jobs;
format newdate mmddyy10.;
qdate = qtr(newdate);
ddate = weekday(newdate);
run;
proc print data = work.new;
run;
The variable NEWDATE contains the SAS date value for April 15, 2000.
What output is produced if April 15, 2000 falls on a Saturday?

  • A. Obs newdate qdate ddate 1 APR152000 2 6
  • B. Obs newdate qdate ddate 1 04/15/2000 2 6
  • C. Obs newdate qdate ddate 1 APR152000 2 7
  • D. Obs newdate qdate ddate
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Kleinstone
4 months, 3 weeks ago
should be D. 1 04/15/2000 2 7
upvoted 2 times
...
Kleinstone
5 months ago
answer is C
upvoted 1 times
...
JKo
2 years ago
D. Obs newdate qdate ddate 1 04/15/2000 2 7
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago