By admin | September 25, 2009

SAS Certified Base Programmer 123 Questions (83)

A raw data record is listed below:

----|----10---|----20---|----30
1999/10/25

The following SAS program is submitted:

data projectduration;
    infile' file-specification';
    input date $ 1 - 10;
    <insert statement here>
run;

Which one of the following statements completes the program above and computes the duration of the project in days as of today’s date?

A. duration = today( ) – put(date,ddmmyy 10.);
B. duration = today( ) – put(date,yymmdd 10.);
C. duration = today( ) – input(date,ddmmyy 10.);
D. duration = today( ) – input(date,yymmdd 10.);

One comment | Add One

  1. admin - 09/25/2009 at 3:25 pm

    D

Leave a Comment

Leave a Reply

Your email address will not be published.