The contents of the raw data file EMPLOYEE are listed below:
----I----10---I----20---I----30
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
The following SAS program is submitted:
data test;
infile `employee';
input employee_name $ 1-4;
it employee_name = `Ruth' then input idnum 10-11;
else input age 7-8;
run;
Which one of the following values does the variable IDNUM contain when the name of the employee is "Ruth"?
A. 11The following SAS SORT procedure step generates an output data set:
proc sort data = sasuser.houses out = report;
by style;
run;
In which library is the output data set stored?
A. WORKThe following SAS program is submitted:
proc datasets lib = sasuser; contents data = class varnum; quit;
Which one of the following is the purpose of the VARNUM option?
A. to print a list of variable namesThe following SAS program is submitted:
data work.new;
length word $7;
amount = 7;
if amount = 5 then word = `CAT';
else if amount = 7 then word = `DOG';
else word = `NONE!!!';
amount = 5;
run;
Which one of the following represents the values of the AMOUNT and WORD variables?
A. amount word 5 DOGThe following SAS program is submitted:
data work.totalsales;
set work.monthlysales(keep = year product sales);
retain monthsales {12};
array monthsales {12};
do i = 1 to 12;
monthsales{i} = sales;
end;
cnt + 1;
monthsales{cnt} = sales;
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.The SAS data set EMPLOYEE_INFO is listed below:
IDNUMBER Expenses
2542 100.00
3612 133.15
2198 234.34
2198 111.12
The following SAS program is submitted:
proc sort data = employee_info;
run;
Which one of the following BY statements completes the program and sorts the data sequentially by descending expense values within each descending IDNUMBER value?
A. by descending IDNumber Expenses;The following SAS program is submitted:
data work.report; set work.sales_info; if qtr(sales_date) ge 3; run;
The SAS data set WORK.SALES_INFO has one observation for each month in the year 2000 and the variable SALES_DATE which contains a SAS date value for each of the twelve months.
How many of the original twelve observations in WORKSALES_INFO are written to the WORKREPORT data set?
A. 2The contents of two SAS data sets named EMPLOYEE and SALARY are listed below.
EMPLOYEE SALARY
name age name salary
Bruce 30 Bruce 40000
Dan 35 Bruce 35000
Dan 37000
Dan
The following SAS program is submitted:
data work.empsalary
merge work.employee (in = inemp)
work.salary (in = insal);
by name;
if inemp and insal;
run;
How many observations will the data set WORK.EMPSALARY contain?
A. 2The following SAS program is submitted:
data work.retail; cost = `20000'; total = .10*cost; run;
Which one of the following is the value of the variable TOTAL in the output data set?
A. 2000The following SAS program is submitted:
data work.flights;
destination = `CPH';
select(destination);
when('LHR') city = `London';
when('CPH') city = `Copenhagen';
otherwise;
end;
run;
Which one of the following is the value of the CITY variable?
A. LondonNowadays, 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.