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 49 discussion

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

The following SAS program is submitted:
data work.test;
Author = 'Agatha Christie';
First = substr(scan(author,1,' ,'),1,1);
run;
Which one of the following is the length of the variable FIRST in the output data set?

  • A. 1
  • B. 6
  • C. 15
  • D. 200
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
DEAWS
9 months, 1 week ago
o/p is : 15 data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,' ,'),1,1); length = lengthc(first); run;
upvoted 1 times
...
Mandar77
2 years, 5 months ago
Answer is C which is 15. Executed program and checked
upvoted 1 times
...
mhminkov
3 years, 5 months ago
correct answer is C, length is 15
upvoted 1 times
...
piycc09
3 years, 10 months ago
Why answer is D?
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 ...