live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

SASInstitute SAS Advanced Programming Exam for SAS 9 - A00-212 Exam Questions

QUESTION NO: 1
The following SAS program is submitted:

What is written to the SAS log?
Correct Answer: D
QUESTION NO: 2
The SAS data set ONE contains the variables X, Y, Z, and W.
The following SAS program is submitted:
proc transpose data = one
out = trans
name = new;
by x;
var y;
run;
Which one of the following contains all the names of the columns created by the
TRANSPOSE procedure?
Correct Answer: D
QUESTION NO: 3
This question will ask you to provide a segment of missing code.
The following SAS program submitted:

Which segment of code will successfully run an in-line view?
Correct Answer: C
QUESTION NO: 4
When is it appropriate to create indexes on a SAS data set for efficient processing?
Correct Answer: B
QUESTION NO: 5
The following SAS program is submitted:
options reuse=YES;
data sasuser RealEstate(compress=CHAR);
set sasuser houses;
run;
What is the effect of the REUSE=YES SAS system option?
Correct Answer: A
QUESTION NO: 6
The following SAS program is submitted:
proc sort data = sales tagsort;
by month year;
run;
Which of the following resource(s) is the TAGSORT option reducing?
Correct Answer: A
QUESTION NO: 7
Given the data sets shown on the left, the SAS program shown on the right is submitted.

What will be output by the program?
Correct Answer: B
QUESTION NO: 8
Given the following SAS program:
proc sql;
select product, type, sum(sales) as revenue
from one
group by product, type;
quit;
Which one of the following clauses should be added to the program to sort the output by PRODUCT and decreasing
REVENUE?
Correct Answer: C
QUESTION NO: 9
The following SAS program is submitted:
% let first=yourname;
% let last=first;
% put &&&last;
What is written to the SAS Log?
Correct Answer: B
QUESTION NO: 10
The following SAS program is submitted:
<insert statement here>;
% let development = ontime;
proc print data = sasuser.highway;
title "For &dept";
title2 "This project was completed &development";
run;
Which one of the following statements completes the above and resolves title1 to "For
research&development"?
Correct Answer: C
QUESTION NO: 11
Which one of the following statements is true regarding a SAS DATA step view?
Correct Answer: C
QUESTION NO: 12
In which one of the following SAS programs is the SAS data set index named CHAR1 always used?
Correct Answer: D
QUESTION NO: 13
The following SAS program is submitted:

How will the variable be listed?
Correct Answer: C