SAS Institute A00-211 Exam Practice Questions (P. 1)
- Full Access (270 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?
- Aproc print data = sasuser.houses; label price = "Sale Price"; run;
- Bproc print data = sasuser.houses label; label price "Sale Price"; run;
- Cproc print data = sasuser.houses label; label price = "Sale Price"; run;Most Voted
- Dproc print data = sasuser.houses; price = "Sale Price"; run;
Correct Answer:
C
C
send
light_mode
delete
Question #2
The 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 WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7 observations. How many observations will the data set
WORK.EMPSALARY contain?
data work.empsalary;
set work.people (in = inemp)
work.money (in = insal);
if insal and inemp;
run;
The SAS data set WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7 observations. How many observations will the data set
WORK.EMPSALARY contain?
send
light_mode
delete
Question #3
The following SAS program is submitted:
data work.accounting;
set work.dept1 work.dept2;
jobcode = FA1;
length jobcode $ 8;
run;
A character variable named JOBCODE is contained in both the WORK.DEPT1 and WORK.DEPT2 SAS data sets. The variable JOBCODE has a length of 5 in the
WORK.DEPT1 data set and a length of 7 in the WORK.DEPT2 data set. What is the length of the variable JOBCODE in the output data set?
data work.accounting;
set work.dept1 work.dept2;
jobcode = FA1;
length jobcode $ 8;
run;
A character variable named JOBCODE is contained in both the WORK.DEPT1 and WORK.DEPT2 SAS data sets. The variable JOBCODE has a length of 5 in the
WORK.DEPT1 data set and a length of 7 in the WORK.DEPT2 data set. What is the length of the variable JOBCODE in the output data set?
send
light_mode
delete
Question #4
Given the SAS data set SASDATA TWO:
SASDATA TWO -
X Y -
-- --
5 2
3 1
5 6
The following SAS program is submitted:
data sasuser.one two sasdata.three;
set sasdata two;
if x = 5 then output sasuser.one;
else output sasdata two;
run;
What is the result?
SASDATA TWO -
X Y -
-- --
5 2
3 1
5 6
The following SAS program is submitted:
data sasuser.one two sasdata.three;
set sasdata two;
if x = 5 then output sasuser.one;
else output sasdata two;
run;
What is the result?
- Adata set SASUSER.ONE has 5 observations data set SASUSER.TWO has 5 observations data set WORK.OTHER has 3 observations
- Bdata set SASUSER.ONE has 2 observations data set SASUSER.TWO has 2 observations data set WORK.OTHER has 1 observations
- Cdata set SASUSER.ONE has 2 observations data set SASUSER.TWO has 2 observations data set WORK.OTHER has 5 observations
- DNo data sets are output.
Correct Answer:
A
A
send
light_mode
delete
Question #5
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 footnote(s) is/are displayed in the report?
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 footnote(s) is/are displayed in the report?
- AAll Products
- BSales Report for Last Month All Products
- CAll Products All Regions All Figures in Thousands of Dollars
- DSales Report for Last Month All Products All Regions All Figures in Thousands of Dollars
Correct Answer:
B
B
send
light_mode
delete
All Pages