A00-211 無料問題集「SASInstitute SAS Base Programming for SAS 9」
When the following SAS program is submitted, the data set SASDATA.PRDSALES contains 5000 observations:
libname sasdata 'SAS-data-library';
options obs = 500;
proc print data = sasdata.prdsales (firstobs = 100);
run;
options obs = max;
proc means data = sasdata.prdsales (firstobs = 500);
run;
How many observations are processed by each procedure?
libname sasdata 'SAS-data-library';
options obs = 500;
proc print data = sasdata.prdsales (firstobs = 100);
run;
options obs = max;
proc means data = sasdata.prdsales (firstobs = 500);
run;
How many observations are processed by each procedure?
正解:B
解答を投票する
The following SAS program is submitted:
libname sasdata 'SAS-data-library';
data test;
set sasdata.chemists;
if jobcode = 'chem3'
then description = 'Senior Chemist';
else description = 'Unknown';
run;
A value for the variable JOBCODE is listed below:
JOBCODE
CHEM3
Which one of the following values does the variable DESCRIPTION contain?
libname sasdata 'SAS-data-library';
data test;
set sasdata.chemists;
if jobcode = 'chem3'
then description = 'Senior Chemist';
else description = 'Unknown';
run;
A value for the variable JOBCODE is listed below:
JOBCODE
CHEM3
Which one of the following values does the variable DESCRIPTION contain?
正解:B
解答を投票する
This question will ask you to provide a line of missing code:
Given the SAS data set WORK.EMPLOYEE_UNFO:
The following SAS program is submitted:
In the space above, write the statement that will sort the data by ascending Expenses values within each ascending IDNumber value.
Given the SAS data set WORK.EMPLOYEE_UNFO:
The following SAS program is submitted:
In the space above, write the statement that will sort the data by ascending Expenses values within each ascending IDNumber value.
正解:
See explanation below.
Explanation
by IDNumber Expenses;
IDNumber Expenses
2542 100.00
3612 133.15
2198 234.34
2198 111.12
Explanation
by IDNumber Expenses;
IDNumber Expenses
2542 100.00
3612 133.15
2198 234.34
2198 111.12
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
解答を投票する