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:

Donte
1 months ago
This SAS program is about as clear as mud! Maybe they should've used a SQL statement instead. Just sayin'.
upvoted 0 times
Aimee
3 days ago
Yeah, SQL would've been much clearer.
upvoted 0 times
...
Lavina
13 days ago
I think they should've used a SQL statement instead.
upvoted 0 times
...
Reuben
18 days ago
I agree, this SAS program is confusing.
upvoted 0 times
...
...
Lorriane
1 months ago
Haha, this question is a real brain-teaser! I'm going to have to go with Option B and say the variable is a 5-byte character with the value 'SAS P'.
upvoted 0 times
...
Gwen
1 months ago
Hmm, this is a tricky one. I'm going to go with Option D. The DATA step should fail due to errors.
upvoted 0 times
Shonda
5 days ago
I think Option D is correct. The DATA step will fail due to errors.
upvoted 0 times
...
...
Emogene
2 months ago
But the length of description is specified as 8, so it should be C.
upvoted 0 times
...
Caprice
2 months ago
I disagree, I believe the correct answer is C.
upvoted 0 times
...
Veda
2 months 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
Vicente
1 months ago
I think Option A is the correct choice too. It matches the expected outcome.
upvoted 0 times
...
Sage
2 months ago
I agree, Option A seems correct. The variable should be 11 bytes and assigned 'SAS program'.
upvoted 0 times
...
...
Emogene
2 months ago
I think the answer is A.
upvoted 0 times
...
Tabetha
2 months 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
Dean
14 days ago
I think you're right, 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
...
Stevie
15 days ago
Hmm, I'm not sure. Maybe it's B) The variable Description is created as a 5-byte character variable and is assigned the value 'SAS P' in the DATA step.
upvoted 0 times
...
Flo
19 days ago
No, I believe it's actually C) 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
...
Jerry
24 days ago
I think the correct answer is A) The variable Description is created as an 11-byte character variable and is assigned the value 'SAS program' in the DATA step.
upvoted 0 times
...
Omega
28 days ago
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
...
Onita
1 months ago
Oh, really? I thought it was B.
upvoted 0 times
...
Tamra
1 months ago
No, I believe it's actually C.
upvoted 0 times
...
Nathan
2 months ago
I think the correct answer is A.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77