A00-280 Free PDF Demo

Author: Richard Koons

Version: 7.0

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 obs50)) out=two;

by subjid;

run;

B.

proc sort data=one(if=(age>50.) out=two;

by subjid;

run;

C.

proc sort data=one out=two;

where=(age>50.;

by subjid;

run;

D.

proc sort data=one out=two;

if age>50;

by subjid;

run;

Answer: A

Question: 9

CORRECT TEXT

The following question will ask you to provide a line of missing code.

The following program is submitted to output observations from data set ONE that have more than one record per patient.

In the space below, enter the line of code that will correctly complete the program (Case is ignored. Do not add leading or trailing spaces to your answer.).

Answer: BYSUBJID; BYSUBJID;

Question: 10

Given the data set WORK.BP with the following variable list:

Which output will be created by the program?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: D