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 2 Question 5 Discussion

Actual exam question for SAS's A00-231 exam
Question #: 5
Topic #: 2
[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:

Emogene
6 days ago
But the length of description is specified as 8, so it should be C.
upvoted 0 times
...
Caprice
19 days ago
I disagree, I believe the correct answer is C.
upvoted 0 times
...
Veda
21 days ago
I think Option A is the way to go. The variable should be created as an 11-byte character variable and assigned the value 'SAS program'.
upvoted 0 times
Sage
6 days ago
I agree, Option A seems correct. The variable should be 11 bytes and assigned 'SAS program'.
upvoted 0 times
...
...
Emogene
23 days ago
I think the answer is A.
upvoted 0 times
...
Tabetha
25 days ago
Option C is the correct answer. The variable Description is created as an 8-byte character variable and is assigned the value 'SAS Prog' in the DATA step.
upvoted 0 times
Nathan
5 days ago
I think the correct answer is A.
upvoted 0 times
...
...

Save Cancel