Questions for the A00-231 were updated on : Nov 21 ,2025
Assume thatWork.Ds1andWork.Ds2exist and the following SAS program is submitted:
How many PDF files are created? Select one:
A
The following SAS program is submitted:

Why does the program produce an error? Select one:
C
A PROC PRINT report was created with the following title:
Asia Sports Vehicle Summary After the PROC PRINT report is run, a programmer would next like to
produce a PROC FREQ report with the following title: Asia Sports Vehicle Summary Distribution by
Make Which statement(s) would produce the new report titles?
Select one:
C
The following SAS program is submitted:
proc means data=work.schools median;
<insert statement(s) here>
run;
Assume thatWork.Schoolshas two numeric variables and the following PROC MEANS report is
produced:
Which of the following SAS statements completes the program and creates the desired report? Select
one:
B
The following SAS program is submitted:
data work.test;
type='SQL';
if type='SAS' then description='SAS Program';
else description='other'; length description 8;
run;
What occurs when the program is submitted?
Select one:
D
The following SAS program is submitted:
What are the values for x and y in the output data set?
Select one:
D
Given the following data set:
Which type of statement was included as a component of a transpose procedure step to produce the
following data set?
Select one:
D
The following SAS program is submitted:
Which output is correct?
B
The SAS data set named WORK.SALARY contains 10 observations for each department, and is
currently ordered byDepartment
The following SAS program is submitted:
data WORK.TOTAL;
set WORK.SALARY(keep=Department MonthlyWageRate);
by Department;
if First.Department=1 then Payroll=0;
Payroll+(MonthlyWageRate*12);
if Last.Department=1; run;
Which statement is true? Select one:
C
Variable Name would have a format of $CHAR15. in the new data set Work. Both. The LENGTH
statement only gives the variable Name a predefined maximum length. The correct answer is:
$CHAR15 Given the SAS data set WORK.ONE:
X Y Z
- - --
1 A 27
1 A 33
1 B 45
2 A 52
2 B 69
3 B 70
4 A 82
4 C 91
The following SAS program is submitted:
data WORK.TWO;
set WORK.ONE;
by X Y;
if First.Y; run; proc print data=WORK.TWO noobs;
run;
Which report is produced?
Select one:
B
The variable Name in the data set Employeehas a $CHAR10. format. The variable Name in the data
set Sales has a $CHAR15. format. The following SAS program is submitted:
data both;
length name $ 20;
merge sales employee;
by id;
run;
What is the format for the variable Name in the data set Both?
Select one:
C
Which of the following SAS programs creates a variable named City with a value ofChicago?
Select one:
B
Given the following SAS data set WORK.TOYS:
Product Group Price
--------- ----------- -----
Cards Indoors 9.99
Marbles Indoors 8.99
Drum Instruments 12.99
Hula-Hoop Outdoors 12.99
Ball Outdoors 8.49
The following SAS program is submitted:
data WORK.GROUPS;
set WORK.TOYS;
if Group="Outdoors" then Price_Gp="C";
if Price ge 12.99 then Price_Gp="A";
else if Price ge 8.99 then Price_Gp="B";
run;
What will be the value of Price_Gp for Hula-Hoop and Ball? Select one:
B
Given the following SAS data set WORK.CLASS:
Name Gender Age
Anna F 23
Ben M 25
Bob M 21
Brian M 27
Edward M 26
Emma F 32
Joe M 34
Sam F 32
Tom M 24
The following program is submitted: data WORK.MALES WORK.FEMALES(drop=age); set
WORK.CLASS; drop gender; if Gender="M" then output WORK.MALES; else if Gender="F" then
output WORK.FEMALES; run; How many variables are in the data set WORK.MALES?
Select one:
C
What is the format for the variableNamein the data setBoth? Select one:
D