A00-211 SAS Base Programming for SAS 9 Practice Questions
Prepare for A00-211 with more than an answer.
- Level
- Base Programmer
- 1
Which statement specifies that records 1 through 10 are to be read from the raw data file customer.txt?
Show answer details
Correct answer: D
D
- 2
After a SAS program is submitted, the following is written to the SAS log:
What issue generated the error in the log?

Show answer details
Correct answer: C
Explanation:
Reference support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000202902.htm">http://support.sas.com/documentation/cdl/en/lrdict/64316/HTI\/IL/default/viewer.htm#a000202902.htm - 3
The following program is submitted:
proc contents data=all;Which statement best describes the output from the submitted program?
Show answer details
Correct answer: D
D
- 4
The Excel workbook QTR1 .XLS contains the following three worksheets:
JAN
FEB
MARWhich statement correctly assigns a library reference to the Excel workbook?
Show answer details
Correct answer: A
A
- 5
The following SAS program is submitted:
What types of variables are Month, MonthOfYear, and Year?

Show answer details
Correct answer: B
B
- 6
The following SAS program is submitted and reads 100 records from a raw data file:
Which one of the following IF statements writes the last observation to the output data set?

Show answer details
Correct answer: D
D
- 7
The following SAS program is submitted:
The SAS data set WORK.SALESJNFO 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 WORK.SALESJNFO are written to the WORK.REPORT data set?
Show answer details
Correct answer: C
C
- 8
The following SAS program is submitted:
Which one of the following is the length of the variable CITY_COUNTRY in the output data set?

Show answer details
Correct answer: D
D
- 9
Given the following raw data records in DATAFILE.TXT:
Which output is correct based on the submitted program?

Show answer details
Correct answer: C
C
- 10
The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted:
Which statement is true?

Show answer details
Correct answer: C
C
