The following SAS program is submitted:
data work.totalsales (keep = monthsales{12});
set work.monthlysales (keep = year product sales); array monthsales {12} ;
do i=1 to 12;
monthsales{i} = sales;
end;
run;
The data set named WORK.MONTHLYSALES has one observation per month for each of five years for a total of 60 observations.
Which one of the following is the result of the above program?
A. The program fails execution due to data errors.A raw data record is listed below:
----|----10----|----20----|----30
Printing 750
The following SAS program is submitted:
data bonus; infile `file-specification'; input dept $ 1-11 number 13-15;
run;
Which one of the following SAS statements completes the program and results in a value of `Printing 750' for the DEPARTMENT variable?
A. department = trim(dept) II number;The following SAS program is submitted:
data work.one;
x = 3;
y = 2;
z = x ** y;
Which one of the following is the value of the variable Z in the output data set?
A. 6Which one of the following statements is true regarding the SAS automatic _ERROR_ variable?
A. The _ERROR_ variable contains the values `ON' or `OFF'.A raw data file is listed below:
RANCH, 1250,2,1 Sheppard Avenue,"$64,000"
SPLIT,1 190,1,1 Rand Street"$65,850"
CONDO,1400,2,1.5,Market Street,"80,050"
TWOSTORY,1810,4,3,Garris Street,"$107,250"
RANCH,1 500 ,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' then
input sqfeet bedrooms baths street $ price : dollar10.; run;
How many observations does the WORK.CONDO_RANCH data set contain?
B. 3The following SAS program is submitted:data work.passengers;
data work.passengers;
if OrigPassengers = then
OrigPassengers = 100;
TransPassengers = 100;
OrigPassengers = .;
NonPaying = 10;
TotalPassengers = OrigPassengers + TransPassengers; run;
Which one of the following is the value of the TOTALPASSENGERS variable in the output data set?
A. 100The following SAS program is submitted:
data work.empsalary;
set work.people (in = inemp)
work.money (in = insal):
if insal and inemp;
run;
The SAS data set WORK.PEOPLE has 5 observations, and the data set WORK.MONEY has 7 observations.
How many observations will the data set WORK.EMPSALARY contain?
B. 5The following SAS program is submitted:
proc means data = sasuser.shoes;
where product in (`Sandal' , `Slipper' , `Boot');
run;
Which one of the following ODS statements completes the program and sends the report to an HTML file?
A. ods html = `sales.html';The following SAS program is submitted;
data work.test;
First = `lpswich, England';
City = substr(First,1,7);
City_Country = City!!' , `!!`England';
run;
Which one of the following is the value of the variable CITY_COUNTRY in the output data set?
A. lpswich!!Unless specified, which variables and data values are used to calculate statistics in the MEANS procedure?
A. non-missing numeric variable values onlyNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only SAS Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your A00-201 exam preparations and SAS Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.