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

Exam A00-211 All Questions

View all questions & answers for the A00-211 exam

Exam A00-211 topic 2 question 44 discussion

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

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;
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,ddmmyy10.);
  • B. duration = today( ) - put(date,yymmdd10.);
  • C. duration = today( ) - input(date,ddmmyy10.);
  • D. duration = today( ) - input(date,yymmdd10.);
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Kleinstone
3 years, 10 months ago
Yes, it is D!
upvoted 2 times
...
piycc09
3 years, 10 months ago
D Because For calculations we need Num variable => So INPUT function, also year is the first mentioned value so answer is D.
upvoted 1 times
...
Kleinstone
3 years, 10 months ago
D or C? yymmdd10?
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 ...