Online Access Free A00-201 Practice Test

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

Question 1

The following SAS program is submitted:
data work.test;
Author = 'Agatha Christie';
First = substr(scan(author,1,' ,'),1,1);
run;
Which one of the following is the length of the variable FIRST in the output data set?

Question 2

The following SAS program is submitted:
libname sasdata 'SAS-data-library';
data test;
set sasdata.chemists;
if jobcode = 'Chem2'
then description = 'Senior Chemist';
else description = 'Unknown';
run;
A value for the variable JOBCODE is listed below:
JOBCODE
chem2
Which one of the following values does the variable DESCRIPTION contain?

Question 3

A raw data record is listed below:
----|----10---|----20---|----30
1999/10/25
The following SAS program is submitted:
data projectduration;
infile 'file-specification';
input date $ 1 - 10;
< insert statement here>
run;
Which one of the following statements completes the program above and computes the duration of the project in days as of today's date?

Question 4

The contents of the raw data file TEAM are listed below:
----|----10---|----20---|----30
Janice 10
Henri 11
Michael 11
Susan 12
The following SAS program is submitted:
data group;
infile 'team';
input name $15. age 2.;
file 'file-specification';
put name $15. +5 age 2.;
run;
Which one of the following describes the output created?

Question 5

The following SAS program is submitted:
data work.one;
x = 3;
y = 2;
z = x ** y;
run;
Which one of the following is the value of the variable Z in the output data set?

Add Comments

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

insert code
Type the characters from the picture.