# SAS Institute A00-281 Clinical Trials Programming Using SAS 9 – Accelerated Version Exam Practice Test

Demo: 14 questions
Total 99 questions

## Clinical Trials Programming Using SAS 9 – Accelerated Version Questions and Answers

Question 1

The following SAS program is submitted: data WORK.ALL;

How will the data sets ONE and TWO be combined?

#### Options:

A.

updated

B.

one-one merged

C.

match merged

D.

concatenated

Question 2

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;

Question 3

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 4

A Statistical Analysis Plan (SAP) defines the selection process for baseline records. This instructs the programmer to choose the last non-missing analyte value prior to first study drug administration (date/time).

The DEMO data set contains the date/time of first study drug administration for subject:

What will be the resulting baseline values, as selected per the SAP instructions?

#### Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 5

The following SAS program is submitted:

%let Av=age;

%macro LABD(Av=weight);

%let Av=gend; %mend;

%LABD(Av=height)

%put Av is &Av;

What will be written to the SAS log?

#### Options:

A.

Av is weight

B.

Av is gend

C.

Av is height

D.

Av is age

Question 6

Given the following vital signs data:

Baseline is defined as the last non-missing value prior to Day 1.

What is the value for the change from baseline for Week 1 for Subject 2?

#### Options:

A.

-23

B.

11

C.

-11

D.

23

Question 7

Which name is a valid SAS V5 variable name?

#### Options:

A.

_AESTDTC

B.

AESTARTDTC

C.

AE-STDTC

D.

AE_START_DTC

Question 8

Given the file sites.csv:

Which option would you need to add to the INFILE statement to clear the notes from this log?

#### Options:

A.

firstobs=2

B.

missover

C.

lrecl=2

D.

start=2

Question 9

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 10

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

The following SAS program is submitted:

Which statement is required to produce this output?

#### Options:

A.

TABLES site*group /nocol;

B.

TABLES site*group /norow;

C.

TABLES site*group;

D.

TABLES site*group /nocol norow;D. TABLES site*group /nocol norow;

Question 11

Which SAS program will apply the data set label 'Demographics' to the data set named DEMO?

#### Options:

A.

data demo (label='Demographics');

set demo;

run;

B.

data demo;

set demo (label='Demographics');

run;

C.

data demo (label 'Demographics');

set demo;

run;

D.

data demo;

set demo;

label demo= 'Demographics';

run;

Question 12

A Treatment-Emergent Adverse Event (TEAE) is commonly defined as any event that occurs on or after the date and time of:

#### Options:

A.

informed consent

B.

baseline assessment

C.

study enrollment

D.

first dose of study drug

Question 13

Given the SAS data set containing subject's phone numbers

What is the value of PHONE2 for subject 005?

#### Options:

A.

(215) 631-9494

B.

2156319494

C.

(215) 6319494

D.

631-9494

Question 14

The following SAS program is submitted:

If the value for the variable Subjcode is "WGT2", what is the value of the variable Description?

#### Options:

A.

missing character value

B.

Unknown

C.

Over

D.

Wgt2

Demo: 14 questions
Total 99 questions