How many observations are written to output data set when the following code is submitted?

The sashelp. class data set has 19 observations.

Given the frequency information about the Age, shown below:

How many observations are written to output data set when the following code is submitted?
A . preteen will have 7 observations and teen will have 19 observations
B. preteen will have 7 observations and teen will have 12 observations
C. preteen will have 26 observations and teen will have 31 observations
D. preteen will have 10 observations and teen will have 9 observations

Answer: C

Which statement is true about the DROP statement during the compilation phase of the DATA step?

Which statement is true about the DROP statement during the compilation phase of the DATA step?
A . The DROP statement flags the variables in the Program Data Vector to be dropped at output.
B. The DROP statement determines the order of the variables in the Program Data Vector
C. Variables on the DROP statement are removed from the input data set.
D. Variables on the DROP statement are not created in the Program Data Vector

Answer: C

Which program creates the PROC PRINT report below?

Given the display of the CITIES data set:

Which program creates the PROC PRINT report below?

A . proc print data=cities showlabelse; label Name= ‘ Employee Name City =Birth City
B. proc print data-cities label noobs; label Name=’Employee Name’ City=’ Birth City’; run;
C. proc print data=cities; Name=’ Employee Name’; City=’Birth City’; run;
D. options noobs labels; proc print data=cities; display Name=’ Employee Name* city=’Birth City’, run;

Answer: B