Question 4: Given the SAS data set WORK.INPUT:
Var1 Var2 ------ ------- A one A two B three C four A five
The following SAS program is submitted:
1 2 3 4 5
data WORK.ONE WORK.TWO; set WORK.INPUT; if Var1='A' then output WORK.ONE; output; run;
How many observations will be in data set WORK.ONE?
A. 1 B. 2 C. 4 D. 8
*The SAS certification sample problem and answer above are sourced from the official SAS sample questions page. All answer logs, data sets, output, and commentary are provided by this blog.