QUESTION: 1
Given the following data at WORK DEMO:
Which SAS program prints only the first 5 males in this order from the data set?
A. proc sort data=WORK.DEMO out=out;
by sex;
run;
proc print data= out (obs=5);
run;
B. proc print data=WORK.DEMO(obs=5);
where Sex='M';
run;
C. proc print data=WORK.DEMO(where=(sex='M'));
where obs<=5;
run;
D. proc sort data=WORK.DEMO out=out;
by sex descending;
run;
proc print data= out (obs=5);
run;
Answer(s): B
QUESTION: 2
Which SAS program wil apply the data set label 'Demographics' to the data set named DEMO?
2