Online Access Free A00-201 Exam Questions

Exam Code:A00-201
Exam Name:SAS base programming exam
Certification Provider:SASInstitute
Free Question Number:140
Posted:Oct 19, 2025
Rating
100%

Question 1

The following SAS program is submitted:
data revenue;
set year_1;
var1 = mdy(1,15,1960);
run;
Which one of the following values does the variable named VAR1 contain?

Question 2

The following SAS program is submitted:
data work.sets;
do until (prod gt 6);
prod + 1;
end;
run;
Which one of the following is the value of the variable PROD in the output data set?

Question 3

The contents of the raw data file EMPLOYEE are listed below:
----|----10---|----20---|----30
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
The following SAS program is submitted:
data test;
infile 'employee';
input employee_name $ 1-4;
if employee_name = 'Ruth' then input idnum 10-11;
else input age 7-8;
run;
Which one of the following values does the variable IDNUM contain when the name of the employee is "Ruth"?

Question 4

The following SAS program is submitted:
libname rawdata1 'location of SAS data library';
filename rawdata2 'location of raw data file';
data work.testdata;
infile <insert item here>;
input sales1 sales2;
run;
Which one of the following is needed to complete the program correctly?

Question 5

The following SAS program is submitted:
data work.flights;
destination = 'cph';
select(destination);
when('LHR') city = 'London';
when('CPH') city = 'Copenhagen';
otherwise city = 'Other';
end;
run;
Which one of the following is the value of the CITY variable?

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.