Académique Documents
Professionnel Documents
Culture Documents
Item 1
The following program is submitted.
data WORK.TEST;
input Name $ Age;
datalines;
John +35
;
run;
Which values are stored in the output data set?
Name
Age
--------------------John
Name
35
Age
--------------------John
Name
(missing value)
Age
190 N
250 O
720 P
and the SAS data set WORK.TWO:
Id Char2
--- ----182 Q
623 R
720 S
The following program is submitted:
data WORK.BOTH;
merge WORK.ONE WORK.TWO;
by Id;
run;
What is the first observation in the SAS data set WORK.BOTH?
Id Char1 Char2
--- ----- ----182 M
Id Char1 Char2
--- ----- ----182
Id Char1 Char2
--- ----- ----182 M
Id Char1 Char2
--- ----- ----720 P
correct_answer = "C"
Item 3
Given the text file COLOR.TXT:
----+----1----+----2----+---RED
MAGENTA
Var2
Var3
Var4
ORANGE RED
BLUE
INDIGO BLUE
INDIGO
CYAN
WHITE
WHITE
GRAY
BROWN
CYAN
GRAY
ORANGE
BROWN
Var1
Var2
Var3
Var4
ORANGE BLUE
CYAN
WHITE
Var1
Var2
GRAY
Var3
INDIGO
BROWN
Var4
BLUE
Var1
Var2
Var3
Var4
BLUE
CYAN
WHITE
GRAY
BROWN
FUCSIA BLACK
PINK
MAGENTA
correct_answer = "A"
Item 4
Given the SAS data set WORK.INPUT:
Var1
Var2
------ ------A
one
two
three
four
five
Top of Form
Bottom of Form
correct_answer = "8"
Item 5
The following SAS program is submitted:
data WORK.LOOP;
X = 0;
do Index = 1 to 5 by 2;
X = Index;
end;
run;
Upon completion of execution, what are the values of the variables X and Index in
the SAS data set named WORK.LOOP?
X = 3, Index = 5
X = 5, Index = 5
X = 5, Index = 6
X = 5, Index = 7
correct_answer = "D"
Item 6
The following SAS program is submitted:
proc format;
value score 1 - 50 = 'Fail'
51 - 100 = 'Pass';
run;
Which one of the following PRINT procedure steps correctly applies the format?
proc print data = SASUSER.CLASS;
var test;
format test score;
run;
correct_answer = "B"
Item 7
This item will ask you to provide a line of missing code;
The SAS data set WORK.INPUT contains 10 observations, and includes the numeric
variable Cost.
The following SAS program is submitted to accumulate the total value of Cost for
the 10 observations:
data WORK.TOTAL;
set WORK.INPUT;
<insert code here>
Total=Total+Cost;
run;
Which statement correctly completes the program?
keep Total;
retain Total 0;
Total = 0;
If _N_= 1 then Total = 0;
correct_answer = "B"
Item 8
This question will ask you to provide a line of missing code.
Given the following data set WORK.SALES:
50
400
350
W7693
25
100
125
W1387
300
250
50
400
350 800
W7693
25
100
125 250
W1387
300
250 550
set SASHELP.CLASS;
46
BMI=(Weight*703)/Height**2;
47
correct_answer = "D"
Item 2
The following SAS program is submitted creating the output table THREE:
data three;
merge one (in = in1) two (in = in2);
by num;
run;
Which one of the following SQL programs creates an equivalent SAS data set
THREE?
proc sql;
create table three as
select *
from one full join two
where one.num = two.num;
quit;
proc sql;
create table three as
select coalesce(one.num, two.num)
as NUM, char1, char2
run;
data march;
set sasdata.sales;
where date < '31mar2002'd or revenue > 50000;
run;
correct_answer = "A"
REPLACE
KEEP
correct_answer = "C"
Item 4
Given the following data set WORK.DEMO:
PTID
Sex
Age
Height
Weight
689574
15
80.0
115.5
423698
14
65.5
90.0
758964
12
60.3
87.0
653347
14
62.8
98.5
493847
14
63.5
102.5
500029
12
57.3
83.0
513842
12
59.8
84.5
515151
15
62.5
112.5
522396
13
62.5
84.0
534787
12
59.0
99.5
875642
11
51.3
50.5
879653
15
75.3
105.0
542369
12
56.3
77.0
698754
11
50.5
70.0
656423
16
72.0
150.0
785412
12
67.8
121.0
785698
16
72.0
110.0
763284
11
57.5
85.0
968743
14
60.5
85.0
457826
18
74.0
165.0
103
106
107
data test;
Variable
DAY
DIABP
TRT
Type
Char
Len
8
Num
Char
Study Day
8
Label
Open the diagram labeled Practice A within the project labeled Practice A. Perform
the following in SAS Enterprise Miner:
Set the Clustering method to Average.
Run the Cluster node.
Use this project to answer the next two questions:
What is the Importance statistic for MTGBal (Mortgage Balance)?
0.32959
0.42541
0.42667
1.000000
correct_answer = "C" You must change the clustering method to average and run
the cluster node first. Select view results and look in the output window and view
the Variable Importance results.
What is the Cubic Clustering Criterion statistic for this clustering?
5.00
14.69
5862.76
67409.93
correct_answer = "B" Run the diagram flow and view the results. From the results
window, select View -> Summary Statistics -> CCC Plot and mouse over where the
data point and the line intersect. This will display the CCC statistic.
Item 2
Create a project named Insurance, with a diagram named Explore.
Create the data source, DEVELOP, in SAS Enterprise Miner. DEVELOP is in the
directory c:\workshop\Practice.
Set the role of all variables to Input, with the exception of the Target variable, Ins
(1= has insurance, 0= does not have insurance).
Set the measurement level for the Target variable, Ins, to Binary.
Ensure that Branch and Res are the only variables with the measurement level of
Nominal.
All other variables should be set to Interval or Binary.
Make sure that the default sampling method is random and that the seed is 12345.
Use this project to answer the next <B.SEVEN< b>questions. (Note: only 2 of 7
questions are displayed for this example)
The variable Branch has how many levels?
8
12
19
47
correct_answer = "C" This information can be obtained by viewing the PROC FREQ
output.
What is the mean credit card balance (CCBal) of the customers with a variable
annuity?
$0.00
$8,711.65
$9,586.55
$11,142.45
correct_answer = "D" You can use a Stat Explore Node and view the output for the
Descriptive Statistics for CCBal by level of the target variable.
correct_answer = "A"
Item 3
Which procedure allows a platform administrator to update table metadata?
METAUPDATE_RULE
METASELECT
METATABLE
METALIB
correct_answer = "D"
Item 4
Which statement regarding pre-assigned libraries is true?
Pre-assigned libraries reduce the initialization time for a workspace server.
Pre-assigned libraries always connect to an RDBMS at server initialization.
Pre-assigned libraries always connect to a base SAS library at server initialization.
Pre-assigned libraries do not have to be identical across all SAS client applications.
correct_answer = "C"
Item 5
A platform administrator needs to retrieve from the metadata a complete LIBNAME
statement including the user ID and password.
To complete this task, the platform administrator must be connected to SAS
Management Console with what type of user access in the metadata?
Access to the credentials associated with libraries created with the METALIB
procedure.
Access to credentials established by the LIBNAME engine.
Access to credentials associated with users in the outbound login.
Access to credentials for the authentication domain associated with the database
server.
correct_answer = "D"
Item 6
environment.
What will be the result of this promotion attempt?
The promotion will not be allowed because objects from SAS 9.1.3 cannot be
promoted to SAS 9.2.
The promotion will not be allowed because objects in a development environment
cannot be promoted to a production environment.
The promotion will be allowed assuming the object type is allowed for promotion.
The promotion will not be allowed because objects exported from a previous
environment cannot be promoted.
correct_answer = "C"
Item 3
Which statement is true regarding external files?
External file objects are accessed with SAS INFILE and FILE statements.
External files contain only one record per line.
External files can be used as input but not as outputs in SAS Data Integration Studio
jobs.
SAS can only work with Blank, Comma, Semicolon and Tab as delimiters in external
files.
correct_answer = "A"
Item 4
Within SAS Data Integration Studio's SQL Join transformation, the option to turn on
debug is located in which Properties pane?
Select Properties
Create Properties
SQL Join Properties
Job Properties
correct_answer = "C"
Item 5
Which SAS Data Integration Studio reports, generated as external files, can be
stored as document objects within metadata?
only job reports
only table reports
both job reports and table reports
No reports can be stored as document objects.
correct_answer = "C"
Item 6
You want to create a job to extract only the rows that contain information about
female employees from a table that contains information about both male and
female employees. The new table should have observations in ascending order of
age. Refer to the job flow diagram in the exhibit. Where would you set the options to
filter and sort the data?
Item 1
When opening a registered SAS data file into a Microsoft Excel Worksheet, a user
has the option to sort the data.
Which application performs the sort and where does the sort occur?
SAS performs the sort on the server.
SAS performs the sort on the local machine.
Excel performs the sort on the server.
Excel performs the sort on the local machine.
correct_answer = "A"
Item 2
When can you add a stored process as a data source to an information map?
anytime
when at least one table is selected as a data source
when at least one OLAP cube is selected as a data source
once an application server has been selected
correct_answer = "B"
Item 3
Refer to the exhibit.
A SAS.IdentityGroups filter has been created in SAS Information Map Studio. There is
a data item called "Group" that contains different metadata groups.
If the "Group" filter is applied to the map, how will it affect the data?
All rows will be returned for any group that the user is a member of.
Only rows that belong to the first group are returned.
All rows will be returned for PUBLIC group only.
All rows matching the group identity login are returned.
correct_answer = "A"
Item 4
A SAS data set is used as a data source for a SAS BI Dashboard data model.
Which type of code do you write to query the data?
DATA Step
PROC SQL
a SQL/JDBC query
MDX
correct_answer = "C"
Item 5
Refer to the exhibit.
correct_answer = "D"
Item 10
Which statement is true regarding connection profiles used with the SAS platform
applications?
Each SAS platform application must have its own connection profile.
Connection profiles are stored on the server machine.
Connection profiles are stored on the machine where the SAS application is
installed.
All SAS platform applications share one connection profile.
correct_answer = "C"
How many total records will be used by PROC LOGISTIC for the regression analysis?
Enter your numeric answer in the space below. Do not add leading or trailing spaces
to your answer.
Click the calculator button to display a calculator if needed.
correct_answer = "7000"
Item 8
An analyst is screening for irrelevant variables by estimating strength of association
between each input and the target variable. The analyst is using Spearman
correlation and Hoeffding's D statistics in the CORR procedure.
What would likely cause some inputs to have a large Hoeffding and a near zero
Spearman statistic?
For the ROC curve shown, what is the meaning of the area under the curve?
percent concordant plus percent tied
percent concordant plus (.5 * percent tied)
percent concordant plus (.5 * percent discordant)
percent discordant plus percent tied
correct_answer = "B"
Contact Us | Sitemap | RSS Feeds | www.sas.com | Terms of Use & Legal Information
| Privacy Statement
Copyright 2012 SAS Institute Inc. All Rights Reserved