A00-231試験無料問題集「SASInstitute SAS 9.4 Base Programming - Performance-based 認定」
The contents of the raw data file CALENDAR are listed below:
--------10-------20-------30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date = '01012000'd then event = 'January 1st';
run;
Which one of the following is the value of the EVENT variable?
--------10-------20-------30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date = '01012000'd then event = 'January 1st';
run;
Which one of the following is the value of the EVENT variable?
正解:B
解答を投票する
The contents of the raw data file AMOUNT are listed below:
--------10-------20-------30
$1,234
The following SAS program is submitted:
data test;
infile 'amount';
input @1 salary 6.;
if _error_ then description = 'Problems';
else description = 'No Problems';
run;
Which one of the following is the value of the DESCRIPTION variable?
--------10-------20-------30
$1,234
The following SAS program is submitted:
data test;
infile 'amount';
input @1 salary 6.;
if _error_ then description = 'Problems';
else description = 'No Problems';
run;
Which one of the following is the value of the DESCRIPTION variable?
正解:C
解答を投票する
A realtor has two customers. One customer wants to view a list of homes selling for less than $60,000. The other customer wants to view a list of homes selling for greater than $100,000.
Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?
Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?
正解:D
解答を投票する
A raw data file is listed below:
RANCH,1250,2,1, Sheppard Avenue,"$64,000"
SPLIT,1190,1,1, Rand Street,"$65,850"
CONDO,1400,2,1.5, Market Street,"80,050"
TWOSTORY,1810,4,3, Garris Street,"$107,250"
RANCH,1500,3,3, Kemble Avenue,"$86,650"
SPLIT,1615,4,3, West Drive,"94,450"
SPLIT,1305,3,1.5, Graham Avenue,"$73,650"
The following SAS program is submitted using the raw data file as input:
data work.condo_ranch;
infile 'file-specification' dsd;
input style $ @;
if style = 'CONDO' or style = 'RANCH';
input sqfeet bedrooms baths street $
price: dollar10.;
run;
How many observations will the output data set contain?
RANCH,1250,2,1, Sheppard Avenue,"$64,000"
SPLIT,1190,1,1, Rand Street,"$65,850"
CONDO,1400,2,1.5, Market Street,"80,050"
TWOSTORY,1810,4,3, Garris Street,"$107,250"
RANCH,1500,3,3, Kemble Avenue,"$86,650"
SPLIT,1615,4,3, West Drive,"94,450"
SPLIT,1305,3,1.5, Graham Avenue,"$73,650"
The following SAS program is submitted using the raw data file as input:
data work.condo_ranch;
infile 'file-specification' dsd;
input style $ @;
if style = 'CONDO' or style = 'RANCH';
input sqfeet bedrooms baths street $
price: dollar10.;
run;
How many observations will the output data set contain?
正解:D
解答を投票する
A raw data record is listed below:
--------10-------20-------30
1999/10/25
The following SAS program is submitted:
data projectduration;
infile 'file-specification';
input date $ 1 - 10;
run;
Which one of the following statements completes the program above and computes the duration of the project in days as of today's date?
--------10-------20-------30
1999/10/25
The following SAS program is submitted:
data projectduration;
infile 'file-specification';
input date $ 1 - 10;
run;
Which one of the following statements completes the program above and computes the duration of the project in days as of today's date?
正解:B
解答を投票する