Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAS Exam A00-231 Topic 4 Question 10 Discussion

Actual exam question for SAS's A00-231 exam
Question #: 10
Topic #: 4
[All A00-231 Questions]

The following SAS program is submitted:

data work.test;

type='SQL';

if type='SAS' then description='SAS Program';

else description='other'; length description 8;

run;

What occurs when the program is submitted?

Select one:

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Jenelle
1 days ago
I'm just here for the SAS puns. How about 'SAS-ily' for the description? Or maybe 'SAS-quatch'?
upvoted 0 times
...
Bronwyn
4 days ago
Ah, the age-old SAS length debate. I'd go with C just to keep things interesting. 'SAS Prog' has a nice ring to it.
upvoted 0 times
...
Mozell
12 days ago
I'm going with B. 'SAS P' sounds about right for a 5-byte variable. Who needs the full program name anyway?
upvoted 0 times
...
Mose
13 days ago
I think the correct answer is D because the length of the variable is not specified correctly.
upvoted 0 times
...
Celeste
15 days ago
D seems like the most logical choice here. The DATA step should fail due to the length mismatch.
upvoted 0 times
...
Shaniqua
18 days ago
I'm not sure, but I think the correct answer is B.
upvoted 0 times
...
Joanna
19 days ago
I disagree, I believe the correct answer is C.
upvoted 0 times
...
Helaine
27 days ago
Hmm, I think it's C. The length statement explicitly sets the variable to 8 bytes, so that's the answer.
upvoted 0 times
Van
4 days ago
I agree, C seems like the correct answer.
upvoted 0 times
...
...
Onita
28 days ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel