SAS_Institute
A00-201 · Question #72
A SAS PRINT procedure output of the WORK.LEVELS data set is listed below: Obs name Level 1 Frank 1 2 Sean 2 3 Sue 2 4 Jose 3 5 Juan 4 6 Kelly 1 7 Juan 1 The following SAS program is submitted: data…
The correct answer is B. Low, Medium, and Unknown only. See the full explanation below for the reasoning.
Question
A SAS PRINT procedure output of the WORK.LEVELS data set is listed below:
Obs name Level
1 Frank 1
2 Sean 2
3 Sue 2
4 Jose 3
5 Juan 4
6 Kelly 1
7 Juan 1
The following SAS program is submitted:
data work.expertise;
set work.levels;
if level = 1 then
expertise = 'Unknown';
else if level = 2 or 3 then
expertise = 'Medium';
else
expertise = 'High';
run;
Which one of the following values does the variable EXPERTISE contain?
Options
- ALow, Medium, and High only
- BLow, Medium, and Unknown only
- CLow, Medium, High, and Unknown only
- DLow, Medium, High, Unknown, and '' (missing character value)
How the community answered
(41 responses)- A2% (1)
- B85% (35)
- C7% (3)
- D5% (2)
Community Discussion
No community discussion yet for this question.