A00 281
A00 281
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: B
BrainDumps.com
QUESTION NO: 2
Which SAS program will apply the data set label 'Demographics' to the data set named DEMO?
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;
Answer: A
Explanation:
QUESTION NO: 3
The following SAS program is submitted:
proc sort data=SASUSER.VISIT out=PSORT;
by code descending date cost;
run;
Which statement is true regarding the submitted program?
A. The descending option applies to the variable CODE.
BrainDumps.com
QUESTION NO: 4
What information can be found in the SAS Dictionary tables? (Choose two.)
A. datasets contained within a specified library
B. values contained within a specified format
C. variables contained within a specified dataset
D. values contained within a specified variable
Answer: A,C
Explanation:
QUESTION NO: 5
Given the following data set:
BrainDumps.com
QUESTION NO: 6
This question will ask you to provide a line of missing code.
The following SAS program is submitted:
BrainDumps.com
QUESTION NO: 7
Which statement correctly adds a label to the data set?
A.
DATA two Label="Subjects having duplicate observations";
set one;
run;
BrainDumps.com
QUESTION NO: 8
Given the following data set:
BrainDumps.com
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.).
BrainDumps.com
QUESTION NO: 10
Given the data set WORK.BP with the following variable list:
BrainDumps.com
A. Option A
B. Option B
C. Option C
D. Option D
BrainDumps.com
10
QUESTION NO: 11
The following SAS program is submitted:
You want to store all calculated means and standard deviations in one SAS data set.
Which statement must be added to the program?
A. output mean std;
B. ods output mean=m1 m2 std=s1 s2;
C. output out=WORK.RESULTS mean=m1 m2 std=s1 s2;
D. ods output out=WORK.RESULTS mean=m1 m2 std=s1 s2;
Answer: C
Explanation:
QUESTION NO: 12
Which program will report all created output objects in the log?
A.
proc ttest data=WORK.DATA1 ods=trace;
class TREAT;
var RESULTS;
run;
B.
ods trace on;
proc ttest data=WORK.DATA1;
class TREAT;
var RESULTS;
BrainDumps.com
11
QUESTION NO: 13
Review the following procedure format:
What is the required type of data for the variable in this procedure?
A. Character
B. Continuous
C. Categorical
D. Treatment
Answer: B
Explanation:
QUESTION NO: 14
The following output is displayed:
BrainDumps.com
12
QUESTION NO: 15
You want 90% confidence limits for a binomial proportion from a one-way table with PROC FREQ.
Which option must you add to the TABLES statement?
A. BINOMIAL
B. BINOMIAL ALPHA=0.9
BrainDumps.com
13
QUESTION NO: 16
The following SAS program is submitted.
14
QUESTION NO: 17
Given the following output from the TTEST Procedure: Variable:
QUESTION NO: 18
You want to calculate the p-value of Fisher's exact test for a 3x3 table. Which option must you add
to the TABLES statement of PROC FREQ?
A. CHISQ
B. CMH
C. EXACT
D. EXPECTED
BrainDumps.com
15
QUESTION NO: 19
The following SAS program is submitted:
How many data sets are created and how many observations are in the data set(s)?
A. 1 data set named PVALUES with 1 observation.
B. 1 data set named PVALUES with 2 observations.
C. 2 data sets named PVALUES and PVALUES1 each with 1 observation.
D. 2 data sets named PVALUES1 and PVALUES2 each with 2 observations
Answer: C
Explanation:
QUESTION NO: 20
This question will ask you to provide a line of missing code.
BrainDumps.com
16
Which line of code would produce the blue notes in the log?
A. if indm ne indisp then output 'MERGE ISSUE: ' subjid indm indisp ;
B. if indm ne indisp then put 'MERGE ISSUE: ' subjid= indm= indisp=;
C. %if indm ne indisp %then %put 'MERGE ISSUE: ' subjid= indm= indisp=;
D. if indm ne indisp then put 'MERGE ISSUE: ' _all_ ;
Answer: B
Explanation:
QUESTION NO: 21
Which option for PROC COMPARE will list all observations and variables found in only one of the
two data sets being compared?
A. LISTALL
B. OUTALL
C. ALLOBS
D. OUTDIFF
Answer: A
Explanation:
QUESTION NO: 22
Given the following log entry:
BrainDumps.com
17
Which SAS system option adds the blue highlighted lines to the log?
A. INFO
B. MSGLEVEL=I
C. INVALIDDATA='I'
D. NOTES
Answer: B
Explanation:
QUESTION NO: 23
A SAS report procedure results in the log below.
What should you add to the PROC REPORT to address the blue note in this log?
A. Use DEFINE statements with the WIDTH= option set large enough to print all values for each
variable
B. Specify COLWIDTH= option with a value large enough to print all values in the data
C. Use DEFINE statements where FLOW is specified for each numeric variable
D. Use a FORMAT statement with formats large enough to print all values for each numeric
BrainDumps.com
18
QUESTION NO: 24
Which validation technique involves two programmers writing separate programs to produce the
same output, then comparing the result?
A. Independent Programming
B. Peer Matching
C. Identical Programming
D. Peer Review
Answer: A
Explanation:
QUESTION NO: 25
A SAS program is submitted and the following log is written.
BrainDumps.com
19
QUESTION NO: 26
The following SAS program is submitted:
If the value for the variable Subjcode is "WGT2", what is the value of the variable Description?
A. missing character value
B. Unknown
C. Over
D. Wgt2
Answer: B
Explanation:
QUESTION NO: 27
Given two data sets with the following variables:
BrainDumps.com
20
QUESTION NO: 28
The following SAS program is submitted, but fails due to syntax errors.
QUESTION NO: 29
Given the following data set DEMOG:
BrainDumps.com
21
QUESTION NO: 30
Given the file sites.csv:
BrainDumps.com
22
Which option would you need to add to the INFILE statement to clear the notes from this log?
A. firstobs=2
B. missover
C. lrecl=2
D. start=2
Answer: A
Explanation:
QUESTION NO: 31
Given the following entry in the SAS log:
BrainDumps.com
23
QUESTION NO: 32
Given the following partial output data set:
BrainDumps.com
24
QUESTION NO: 33
The following SAS program is submitted:
QUESTION NO: 34
Given the following data set (AE):
Data will be reported by onset week. Day 1 ?7 is Week 1, Day 8 ?14 is Week 2. Events beyond
BrainDumps.com
25
QUESTION NO: 35
Study day is defined as DCMDATE minus RFSTDTC +1
Which statement will compute the study day correctly without producing notes for missing values
in the log?
BrainDumps.com
26
QUESTION NO: 36
A Treatment-Emergent Adverse Event (TEAE) is commonly defined as any event that occurs on or
after the date and time of:
A. informed consent
B. baseline assessment
C. study enrollment
D. first dose of study drug
Answer: D
Explanation:
The following SAS program is submitted to create a new data set that carries forward the previous
value of sbp when the value is missing.
BrainDumps.com
27
In the space below, enter the line of code that completes the program (Case is ignored. Do not
add leading or trailing spaces to your answer.).
Answer: RETAINOLD_SBP;,RETAINOLD_SBP;
QUESTION NO: 38
This question will ask you to provide a section of missing code.
Given the input SAS data set LABRAW:
BrainDumps.com
28
QUESTION NO: 39
Given the following SCORE data set:
BrainDumps.com
29
Based on the concept of Last Observation Carried Forward, what will be the value for SCORE for
the Week 12
A. 157
B. 152
C. missing
D. 151
Answer: A
Explanation:
QUESTION NO: 40
The following SAS program is submitted:
What is the value of the variable day when the data step completes?
A. 1
B. 6
C. 7
D. 8
Answer: D
Explanation:
BrainDumps.com
30
QUESTION NO: 41
Given the SAS data set containing subject's phone numbers
QUESTION NO: 42
Given the following vital signs data:
BrainDumps.com
31
BrainDumps.com
32
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.).
Answer: IDLABTEST;,IDLABTEST;,IDLABTEST
QUESTION NO: 44
Given the following data set WORK.DM:
33
QUESTION NO: 45
This question will ask you to provide lines of missing code.
Given the following SCORE data set:
Variable LOCF contains the imputed score that would replace the missing SCORE value (based
BrainDumps.com
34
QUESTION NO: 46
Which function would be used to determine the number of elements in an existing array?
A. dim ()
B. n ()
C. sum ()
D. count ()
Answer: A
Explanation:
BrainDumps.com
35
In the space below, enter the numeric value of x for "Severe" events under HEADACHE.
Answer: 2
QUESTION NO: 48
The following SAS program is submitted:
BrainDumps.com
36
QUESTION NO: 49
This question will ask you to provide a line of missing code.
Given the dataset RAWBP that is sorted by SUBJECT TEST WEEK:
Which statement must be added to the program to calculate relative change in percent (percent
change) from baseline?
A. pct_chg = ((baseline - value) /baseline)*100;
B. pct_chg = ((value - baseline) /baseline)*100;
C. pct_chg = ((baseline - value) /value)*100;
D. pct_chg = ((value - baseline) /value)*100;
Answer: B
Explanation:
BrainDumps.com
37
QUESTION NO: 50
Which statement correctly creates a SAS date variable from a character variable?
A. sasdate = input(chardate,date9.);
B. sasdate = 'chardate'd;
C. sasdate = put(chardate,date9.);
D. sasdate = date(chardate,date9.);
Answer: A
Explanation:
QUESTION NO: 51
The following SAS program is submitted:
What is the value of the second variable in the data set WORK.DIGESTL?
A. diverticulosis
B. divertic
C. a missing value
D. No variables are created.
Answer: B
Explanation:
QUESTION NO: 52
The following SAS program is submitted:
BrainDumps.com
38
QUESTION NO: 53
Given the SAS data set WORK.VS1:
BrainDumps.com
39
QUESTION NO: 54
Given the data set HE:
What will the values be of variable HOSPDURD for the two subjects?
A. 5, missing
B. missing, missing
C. 65, 9
D. 50, 9
Answer: B
Explanation:
QUESTION NO: 55
Given the VITALS data set:
BrainDumps.com
40
A.
proc transpose data=vitals ;
var pulse sysbp diabp ;
run ;
B.
proc transpose data=vitals ;
by patid visit ;
run ;
C.
proc transpose data=vitals ;
var patid visit ;
run ;
D.
proc transpose data=vitals ;
id patid visit ;
run ;
Answer: B
Explanation:
QUESTION NO: 56
BrainDumps.com
41
QUESTION NO: 57
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?
A. %printlib(lib=DB, rec=all)
BrainDumps.com
42
QUESTION NO: 58
A Statistical Analysis Plan defines study day as the number of days between the visit date and the
date of randomization plus one day.
The following SAS program is submitted using a macro from the project's library:
BrainDumps.com
43
QUESTION NO: 59
Which clause allows macro variable creation on a select statement in PROC SQL?
A. INTO
B. SYMPUT
C. AS
D. %MACRO
Answer: D
Explanation:
QUESTION NO: 60
This question will ask you to provide a missing option.
Given an existing work data set (DM), the following code is submitted:
A. MPRINT
B. SYMBOLGEN
BrainDumps.com
44
QUESTION NO: 61
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?
A. Av is weight
B. Av is gend
C. Av is height
D. Av is age
Answer: D
Explanation:
QUESTION NO: 62
Which statement assigns the current date to the character variable CURRDT?
A. currdt="&sysdate.";
B. currdt="%sysdate.";
C. currdt="sysdate.";
D. currdt="#sysdate.";
Answer: A
Explanation:
BrainDumps.com
45
In the space below, enter the option that completes the program (Case is ignored. Do not add
leading or trailing spaces to your answer).
Answer:
SPLIT='*';,SPLIT="*";,SPLIT='*',SPLIT="*",SPLIT='*';,SPLIT="*";,SPLIT='*',SPLIT="*",SPLIT='*';,S
PLIT="*";,SPLIT='*',SPLIT="*",SPLIT='*';,SPLIT="*";,SPLIT='*',SPLIT="*"
QUESTION NO: 64
A report that you are working on will require the following header lines:
Which code adds the second line of the header "Adverse Events"?
BrainDumps.com
46
QUESTION NO: 65
This question will ask you to provide lines of missing code.
Which ODS statements, inserted respectively in the two locations indicated above, create a report
stored in a PDF file?
A.
ods pdf open='AE.pdf';
ods pdf close;
B.
ods file open='AE.pdf' type=pdf;
ods file close;
C.
ods pdf file='AE.pdf';
ods pdf close;
D.
ods file pdf='AE.pdf';
ods file close;
Answer: C
Explanation:
QUESTION NO: 66
Given the following demographic dataset:
BrainDumps.com
47
Which program will generate a report where observations will appear in order by SITE SUBJECT
and display column headers for each variable defined in the column statement?
A.
Proc Report ;
column site subject trt age gender race ;
define site/'Site', subject/'Subject',
trt/'Treatment', age/'Age', gender/'Gender',
race/'Race' ;
run;
B.
Proc Report ;
column site subject trt age gender race ;
define site, subject, trt, age, gender, race ;
by site subject ;
title 'Site Subject Treatment Age Gender Race' ;
run;
C.
Proc Report ;
column site subject trt age gender race ;
define site/order 'Site' ;
define subject/order 'Subject' ;
define trt/'Treatment' ;
define age/'Age' ;
define gender/'Gender' ;
define race/'Race' ;
run;
D.
Proc Report ;
column site subject trt age gender race ;
define site/order style(header)={'Site'} ;
define subject/order style(header)={'Subject'} ;
define trt/style(header)={'Treatment'} ;
define age/style(header)={'Age'} ;
define gender/style(header)={'Gender'} ;
define race/style(header)={'Race'} ;
BrainDumps.com
48
QUESTION NO: 67
Which statement will produce report output that can be opened in Microsoft Word?
A. ods rtf file='report.rtf';
B. ods doc file='report.doc';
C. ods type='word' file='report.doc';
D. ods rtf='report.rtf';
Answer: A
Explanation:
QUESTION NO: 68
Which statement will create a report footnote that identifies the date and time that the SAS
program was executed?
A. footnote1 "Created on &sysdate9 &systime";
B. footnote1 = "Created on &sysdate9 &systime";
C. footnote1 'Created on &sysdate9 &systime';
D. footnote1 = 'Created on &sysdate9 &systime';
Answer: A
Explanation:
BrainDumps.com
49
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.).
Answer:
DEFINESITE/ORDERNOPRINT;,DEFINESITE/NOPRINTORDER;,DEFINESITE/ORDERNOPRIN
T;,DEFINESITE/NOPRINTORDER;,DEFINESITE/ORDERNOPRINT;,DEFINESITE/NOPRINTOR
DER;,DEFINESITE/ORDERNOPRINT;,DEFINESITE/NOPRINTORDER;,DEFINE
QUESTION NO: 70
This question will ask you to provide a line of missing code.
Which statement must be added to the following program to create a page break in the report after
each RACE grouping?
BrainDumps.com
50
QUESTION NO: 71
The VISIT data set is multiple records per subject, sorted by usubjid vistdtc vistm and contains the
following variables:
The DEATH data set is one record per subject, sorted by usubjid vistdtc vistm and contains the
following variables:
Which program will combine the DEATH and VISIT data sets by matching records?
BrainDumps.com
51
QUESTION NO: 72
Which LIBNAME statement is valid?
A. libname "c:\sas\labdata\";
B. libname mysasdata "c:\sas\labdata\";
C. libname work "c:\sas\labdata\";
D. libname sasdata "c:\sas\labdata\";
Answer: D
Explanation:
QUESTION NO: 73
Which name is a valid SAS V5 variable name?
A. _AESTDTC
B. AESTARTDTC
C. AE-STDTC
BrainDumps.com
52
QUESTION NO: 74
You have been asked to import an Excel spreadsheet. What will lead to substantial differences
between the original Excel spreadsheet and the resulting SAS data set?
A. the number of rows to be read from the Excel file
B. the number of columns to be read from the Excel file
C. multiple value types within a single column
D. multiple value types within a single row
Answer: C
Explanation:
QUESTION NO: 75
The following SAS program is submitted: data WORK.ALL;
BrainDumps.com
53
BrainDumps.com
54
BrainDumps.com
55
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Explanation:
QUESTION NO: 78
Given the SAS data set WORK.BP
BrainDumps.com
56
QUESTION NO: 79
BrainDumps.com
57
QUESTION NO: 80
This question will ask you to provide a missing option.
The following program is submitted to create a transport file for multiple data sets:
BrainDumps.com
58
Which option will limit the files that are copied to type data?
A. intype=data
B. memtype=data
C. entrytype=data
D. include=data
Answer: B
Explanation:
QUESTION NO: 81
Given the following data set:
QUESTION NO: 82
Identify the data structure with the following characteristics:
BrainDumps.com
59
QUESTION NO: 83
Define.xml is an XML-based submission of a clinical study's:
A. results
B. metadata
C. data
D. protocol
Answer: B
Explanation:
QUESTION NO: 84
A subject reports a medication started in March of 2007 but cannot recall the day number. What is
the value stored in the SDTM domain CM.CMSTDTC variable?
A. 00MAR2007
B. 2007 03
C. MAR2007
D. 2007-03
Answer: D
Explanation:
BrainDumps.com
60
QUESTION NO: 86
Which CDISC standard is concerned with the development of simplified case report forms?
A. Clinical Data Acquisition Standards Harmonization (CDASH)
B. Operational Data Model (ODM)
C. Study Data Tabulation Model (SDTM)
D. Trial Design Model (TDM)
Answer: A
Explanation:
QUESTION NO: 87
Given the following data set:
BrainDumps.com
61
QUESTION NO: 88
The purpose of the ADaM model is to provide a framework that:
A. enables the tabulation of the raw source data
B. enables the creation of study patient profiles
C. enables the statistical analysis of the data
D. can be used to generate the CDISC ODM
Answer: C
Explanation:
QUESTION NO: 89
Where would you store a value collected on a case report form but not defined in an SDTM
domain?
A. RELREC
B. DM
C. SUPPQUAL
D. SC
Answer: C
Explanation:
62
Answer: DEFINE.XML,DEFINE.PDF,DEFINE
QUESTION NO: 91
Which statement correctly describes an aspect of a Phase II clinical trial?
A. randomized controlled multicenter trials on large patient groups
B. designed to assess the pharmacovigilance, pharmacokinetics, and pharmacodynamics of a
drug
C. in vitro and in vivo experiments using wide-ranging doses of the drug
D. designed to assess how well the drug works
Answer: D
Explanation:
QUESTION NO: 92
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:
BrainDumps.com
63
What will be the resulting baseline values, as selected per the SAP instructions?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation:
QUESTION NO: 93
From the Statistical Analysis Plan, patients age is calculated as an integer relative to date
randomized divided by 365.25. Given the following annotated CRF:
BrainDumps.com
64
QUESTION NO: 94
An action plan that describes what will be done in a drug study, how it will be conducted, and why
each part of the study is necessary is called:
A. a clinical trial plan
B. a protocol
C. a data management plan
D. a statistical analysis plan
Answer: B
Explanation:
BrainDumps.com
65
QUESTION NO: 96
What is an international ethical and scientific quality standard for designing, conducting, recording
and reporting trials that involve the participation of human subjects?
A. 21 CFR Part 11
B. Good Clinical Practices
C. MedDRA
D. WHODrug
Answer: B
Explanation:
QUESTION NO: 97
A patient received at least one dose of study medication prior to withdrawing from a study. Which
analysis population would always include this patient?
A. efficacy
B. intent to treat
C. per protocol
D. safety
Answer: D
Explanation:
BrainDumps.com
66
QUESTION NO: 99
Given the following SAS program:
Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', B', 'C
are valid?
A. if indexc(TRT, 'ABC') eq 0 then output;
B. if index(TRT, 'ABC') eq 0 then output;
C. if find(TRT, 'ABC') eq 0 then output;
D. if indexw(TRT, 'ABC') eq 0 then output;
Answer: A
BrainDumps.com
67