Want to pass your SAS Base Programming A00-201 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
The 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. London
B. Copenh
C. Copenhagen
D. ` `(missing character value)
The 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 DOG
B. amount word 5 CAT
C. amount word 7 DOG
D. amount word 7 " " (missing character value)
The following SAS program is submitted:
footnote1 `Sales Report for Last Month';
footnote2 `Selected Products Only';
footnote3 `All Regions';
footnote4 `All Figures in Thousands of Dollars';
proc print data = sasuser.shoes;
footnote2 `All Products';
run;
Which one of the following contains the footnote text that is displayed in the report?
A. All Products
B. Sales Report for Last Month All Products
C. All Products All Regions All Figures in Thousands of Dollars
D. Sales Report for Last Month All Products All Regions All Figures in Thousands of Dollars