Massive Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

SAS Institute A00-280 Clinical Trials Programming Using SAS 9 Exam Practice Test

Demo: 14 questions
Total 99 questions

Clinical Trials Programming Using SAS 9 Questions and Answers

Question 1

Given the following partial output data set:

Which code was used to create AGECAT?

Options:

A.

if age <18 then AGECAT=1;

if 18<=AGE<=40 then AGECAT=2;

else AGECAT=3;

B.

if age <=18 then do AGECAT=1;

else if 18

else do AGECAT=3;

C.

if age <18 then AGECAT=1;

else if 18<=AGE<=40 then AGECAT=2;

else AGECAT=3;

D.

if age <=18 then AGECAT=1;

else if 18

else AGECAT=3;

Question 2

Given the following two data sets EX and AE:

Which output data set is produced by the submitted SAS program?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 3

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

Given the following data set LABS(only first 10 lines shown):

In the space below, enter the statement that completes the program to produce the desired output (Case is ignored. Do not add leading or trailing spaces to your answer.).

Options:

Question 4

Given the following data set DEMOG:

Which selection below would be considered hard-coding?

Options:

A.

if sexcd eq 1 then sex = "Male" ;

else if sexcd eq 2 then sex = "Female" ;

B.

if site eq 1 then sexcd = 2 ;

else if site eq 2 then sexcd = 1 ;

C.

if site eq 1 and sexcd ne 2 then check = 1 ;

else if site eq 2 and sexcd ne 1 then check = 2 ;

D.

birthdt = input(dob, mmddyy10.) ;

Question 5

The following SAS program is submitted:

Which alternative program creates an equivalent BASE_BP data set?

Options:

A.

proc sort data=VS (keep=usubjid vsstresn vstestcd)

out=BASE_BP (drop=vstestcd);

where vstestcd in('DIABP','SYSBP');

by usubjid;

run;

B.

data BASE_BP;

set VS (keep=usubjid vsstresn);

if vstestcd in('DIABP','SYSBP');

run;

C.

proc sort data=VS (keep=usubjid vsstresn vstestcd)

out=BASE_BP (drop=vstestcd);

by usubjid;

if vstestcd in('DIABP','SYSBP');

run;

D.

data BASE_BP (keep=usubjid vsstresn vstestcd);

set VS (drop=vstestcd);

if vstestcd in('DIABP','SYSBP');

run;

Question 6

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

The following SAS program is submitted:

In the space below, enter the statement that completes the program correctly (Case is ignored. Do not add leading or trailing spaces to your answer.).

Options:

Question 7

Given the following data set WORK.DM:

Which subjects will appear in the LOG file?

Options:

A.

001 and 004

B.

001 and 006

C.

003 and 004

D.

004 and 006

Question 8

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

The following SAS program is submitted:

Which macro call prints all records from each dataset in library DB?

Options:

A.

%printlib(lib=DB, rec=all)

B.

%printlib(lib=DB, rec= )

C.

%printlib(DB, all)

D.

%printlib(DB, )

Question 9

The following SAS program is submitted:

What is the value of the second variable in the data set WORK.DIGESTL?

Options:

A.

diverticulosis

B.

divertic

C.

a missing value

D.

No variables are created.

Question 10

Which validation technique involves two programmers writing separate programs to produce the same output, then comparing the result?

Options:

A.

Independent Programming

B.

Peer Matching

C.

Identical Programming

D.

Peer Review

Question 11

Given the following entry in the SAS log:

Which alternate method could you use to?

• Transpose all data

• Not produce a warning message in the log

Options:

A.

Use PROC TRANSPOSE with a WHERE clause to omit records with missing VISIT values

B.

Use PROC COPY with SELECT statements

C.

Use PROC DATASETS with SELECT and MODIFY statements

D.

Use a DATA step with conditional OUTPUT statements

Question 12

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.).

Options:

Question 13

Given the following data set:

Which SAS program produced this output?

Options:

A.

proc sort data=one(where=(age>50)) 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;

Question 14

The following output is displayed:

Which SAS program created this output?

Options:

A.

proc freq data=WORK.TESTDATA;

tables gender * answer / nocol norow nopercent;

run;

B.

proc freq data=WORK.TESTDATA;

tables answer * gender / nocol norow nopercent;

run;

C.

proc freq data=WORK.TESTDATA;

tables gender * answer / nocol norow nopercent missing;

run;

D.

proc freq data=WORK.TESTDATA;

tables answer * gender / nocol norow nopercent missing;

run;

Demo: 14 questions
Total 99 questions