SAS_Institute
A00-280 · Question #86
A00-280 Question #86: Real Exam Question with Answer & Explanation
Sign in or unlock A00-280 to reveal the answer and full explanation for question #86. The question stem and answer options stay visible for context.
Question
Given the following SAS program:
data one;
input subjid 1-2 trt $ 4-5 result $ 6-7 dtime 9-10 age 11-12;
datalines;
O1 A PR 1 56
O3 A PB 2 47
O4 B CR 2 29
O4 1 BL 1 39
O6 C SD 3 12
O7 C PD 2 90
O1 A SD 0 43
O3 B PD 1 25
;
run;
Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', 'B', 'C' are valid?
Options
- Aif indexc(TRT, 'ABC') eq 0 then output;
- Bif index(TRT, 'ABC') eq 0 then output;
- Cif find(TRT, 'ABC') eq 0 then output;
- Dif indexw(TRT, 'ABC') eq 0 then output;
Unlock A00-280 to see the answer
You've previewed enough free A00-280 questions. Unlock A00-280 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.