BlackFriday 2024! 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-280 Topic 12 Question 63 Discussion

Actual exam question for SAS's A00-280 exam
Question #: 63
Topic #: 12
[All A00-280 Questions]

Given the following SAS program:

Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', B', 'C are valid?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Anna
3 months ago
Option D with INDEXW? Really? Who even uses that obscure function anymore? Give me a break!
upvoted 0 times
...
Alishia
3 months ago
Haha, Option C with the FIND function? That's so last century, man. We're living in the future of SAS programming!
upvoted 0 times
Stephaine
2 months ago
Yeah, Option A is definitely the modern approach to handling invalid values in SAS.
upvoted 0 times
...
Tamie
2 months ago
I think Option A is the way to go, using the INDEXC function.
upvoted 0 times
...
Margurite
2 months ago
I agree, Option A seems like the most efficient choice for this scenario.
upvoted 0 times
...
...
An
3 months ago
I think Option B is the way to go. The INDEX function is a standard way to check for the presence of a substring.
upvoted 0 times
...
Lindsey
3 months ago
Option A looks good to me. It checks if the value of TRT is not in the list of valid values 'ABC'.
upvoted 0 times
Desirae
2 months ago
I see your point, but I still think Option B is the correct answer.
upvoted 0 times
...
Kenda
2 months ago
I agree with User1, Option A seems to be the right choice.
upvoted 0 times
...
Rosendo
2 months ago
I think Option B is the correct one.
upvoted 0 times
...
Ethan
3 months ago
Option A looks good to me.
upvoted 0 times
...
...
Kami
3 months ago
I'm leaning towards D because indexw function searches for whole words.
upvoted 0 times
...
Beatriz
4 months ago
But index function also searches for a substring, so it could be A as well.
upvoted 0 times
...
Reita
4 months ago
I believe it's C because find function is used to search for a substring.
upvoted 0 times
...
Beatriz
4 months ago
I think the correct answer is B.
upvoted 0 times
...

Save Cancel