SAS_Institute
A00-280 · Question #98
A00-280 Question #98: Real Exam Question with Answer & Explanation
Sign in or unlock A00-280 to reveal the answer and full explanation for question #98. The question stem and answer options stay visible for context.
Question
Given the following partial output data set:
SUBJID VISIT AGE AGECAT
101 1 20 2
103 1 42 3
105 1 19 2
106 1 56 3
107 1 55 3
Which code was used to create AGECAT?
Options
- AIf age <18 then AGECAT=1; if 18<=AGE<=40 then AGECAT=2;
- Belse AGECAT=3; if age <=18 then do AGECAT=1; else if 18<AGE<=40 then do AGECAT=2; else do AGECAT=3;
- CIf age <18 then AGECAT=1; else if 18<=AGE<40 then AGECAT=2; else AGECAT=3;
- DIf age <=18 then AGECAT=1; else if 18<AGE<=40 then AGECAT=2; else AGECAT=3;
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.