Exam4Training

What output is produced if April 15, 2005 falls on a Friday?

The following SAS program is submitted:

libname temp ‘SAS data library’;

data work.new;

set temp.jobs;

format newdate mmddw10.;

mdate = month(newdate);

ddate = weekday(newdate);

run;

proc print data = work.new; run;

The variable NEWDATE contains the SAS date value for April 15. 2005.

What output is produced if April 15, 2005 falls on a Friday?
A . Obsnewdate mdate ddate104/15/2005 APR 6
B . Obs newdate mdate ddate104/15/2005 4 6
C . Obs newdate mdate ddate104/15/2005 APR 7
D . Obs newdate mdate ddate104/15/2005 4 7

Answer: B

Latest A00-231 Dumps Valid Version with 262 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version