SAS Base Programming (A00-233) Certification Exam Sample Questions

A00-233 Dumps Free, A00-233 PDF Download, SAS Base Programming Dumps Free, SAS Base Programming PDF Download, A00-233 Free DownloadHere are the sample questions which will help you be familiar with SAS Certified Specialist - Base Programming Using SAS 9.4 Delta (A00-233) exam style and structure. We encourage you to try our Demo SAS Base Programming Certification Practice Exam to measure your understanding of exam structure in an environment which simulates the SAS Base Programming Specialist Delta Certification test environment.

To make your preparation more easy for SAS Base Programming Specialist Delta (A00-233) exam, we strongly recommend you to use our Premium SAS Base Programming Certification Practice Exam. According to our survey with certified candidates, you can easily score 85% in your actual SAS Certification exam if you can score 100% in our premium SAS Base Programming Certification practice exams.

SAS A00-233 Sample Questions:

01. This project will work with the following program:
data work.lowchol work.highchol;
set sashelp.heart;
if cholesterol lt 200 output work.lowchol;
if cholesterol ge 200 output work.highchol;
if cholesterol is missing output work.misschol;
run;
This program is intended to:
- Divide the observations of sashelp.heart into three data sets, work.highchol, work.lowchol, and work.misschol
- Only observations with cholesterol below 200 should be in the work.lowchol data set.
- Only Observations with cholesterol that is 200 and above should be in the work.highchol data set.
- Observations with missing cholesterol values should only be in the work.misschol data set.
Fix the errors in the above program. There may be multiple errors in the program. Errors may be syntax errors, program structure errors, or logic errors.
In the case of logic errors, the program may not produce an error in the log. After fixing all of the errors in the program, answer the following questions:
How many observations are in the work.lowchol data set?
Solution: 1405
Determine whether the given solution is correct?
a) Correct
b) Incorrect
 
02. This project will use data set sashelp.shoes.
Write a SAS program that will:
- Read sashelp.shoes as input.
- Create the SAS data set work.sortedshoes.
Sort the sashelp.shoes data set:
- First by variable product in descending order.
- Second by variable sales in ascending order.
Run the program and answer the following questions:
What is the value of the Region variable in observation 130?
Solution: Pacific
Determine whether the given solution is correct?
a) Incorrect
b) Correct
 
03. The following SAS program is submitted:
proc format;
value score 1 - 50 = 'Fail'
51 - 100 = 'Pass';
run;
Which one of the following PRINT procedure steps correctly applies the format?
a) proc print data = SASUSER.CLASS;
var test;
format test score;
run;
b) proc print data = SASUSER.CLASS;
var test;
format test score.;
run;
c) proc print data = SASUSER.CLASS format = score.;
var test;
run;
d) proc print data = SASUSER.CLASS format = score;
var test;
run;
 
04. Given the SAS data set WORK.INPUT:
Var1 Var2
------ -------
A one
A two
B three
C four
A five
The following SAS program is submitted:
data WORK.ONE WORK.TWO;
set WORK.INPUT;
if Var1='A' then output WORK.ONE;
output;
run;
How many observations will be in data set WORK.ONE?
Enter your numeric answer in the space below.
[.......]
Solution: 8
Determine whether the given solution is correct?
a) Incorrect
b) Correct
 
05. The following SAS program is submitted:
data WORK.TEMP;
Char1='0123456789';
Char2=substr(Char1,3,4);
run;
What is the value of Char2?
a) 23
b) 34
c) 345
d) 2345
 
06. Given the SAS data set WORK.ONE:
Revenue2008   Revenue2009   Revenue2010
-----------             -----------            -----------
1.2            1.6            2.0
The following SAS program is submitted:
data WORK.TWO;
set WORK.ONE;
Total=sum(of Rev:);
run;
What value will SAS assign to Total?
a) 3
b) 1.6
c) The program fails to execute due to errors.
d) 4.8
 
07. This project will use the data set sashelp.shoes.
Write a SAS program that will:
> Read sashelp.shoes as input.
> Create a new SAS data set, work.shoerange.
> Create a new character variable SalesRange that will be used to categorize the observations into three groups.
> Set the value of SalesRange to the following:
- Lower when Sales are less than $100,000.
- Middle when Sales are between $100,000 and $200,000, inclusively.
- Upper when Sales are above $200,000.
Run the program, then use additional SAS procedures to answer the following questions:
What is the mean value of observations in the “Middle” group?
Round your answer to the nearest whole number.
Solution: 135127
Determine whether the given solution is correct?
a) Incorrect
b) Correct
 
08. This project will use data set sashelp.shoes.
Write a SAS program that will:
Read sashelp.shoes as input.
Create the SAS data set work.sortedshoes.
Sort the sashelp.shoes data set:
First by variable product in descending order.
Second by variable sales in ascending order.
Run the program and answer the following questions:
What is the value of the product variable in observation 148?
Solution: Slipper
Determine whether the given solution is correct?
a) Correct
b) Incorrect
 
09. This project will use the data set sashelp.shoes.
Write a SAS program that will:
Read sashelp.shoes as input.
Create a new SAS data set, work.shoerange.
Create a new character variable SalesRange that will be used to categorize the observations into three groups.
Set the value of SalesRange to the following:
- Lower when Sales are less than $100,000.
- Middle when Sales are between $100,000 and $200,000, inclusively.
- Upper when Sales are above $200,000.
Run the program, then use additional SAS procedures to answer the following questions:
How many observations are classified into the “Lower” group?
Solution:288
Determine whether the given solution is correct?
a) Correct
b) Incorrect
 
10. This project will work with the following program:
data work.lowchol work.highchol;
set sashelp.heart;
if cholesterol lt 200 output work.lowchol;
if cholesterol ge 200 output work.highchol;
if cholesterol is missing output work.misschol;
run;
This program is intended to:
- Divide the observations of sashelp.heart into three data sets, work.highchol, work.lowchol, and work.misschol
- Only observations with cholesterol below 200 should be in the work.lowchol data set.
- Only Observations with cholesterol that is 200 and above should be in the work.highchol data set.
- Observations with missing cholesterol values should only be in the work.misschol data set.
Fix the errors in the above program. There may be multiple errors in the program. Errors may be syntax errors, program structure errors, or logic errors.
In the case of logic errors, the program may not produce an error in the log. After fixing all of the errors in the program, answer the following questions:
How many observations are in the work.highchol data set?
Solution: 3652
Determine whether the given solution is correct?
a) Incorrect
b) Correct

Answers:

Question: 1 Answer: a Question: 2 Answer: b
Question: 3 Answer: b Question: 4 Answer: b
Question: 5 Answer: d Question: 6 Answer: d
Question: 7 Answer: b Question: 8 Answer: a
Question: 9 Answer: a Question: 10 Answer: b

Note: Please write us on feedback@analyticsexam.com if you find any data entry error in these SAS Base Programming Specialist Delta (A00-233) sample questions.

Rating: 4.9 / 5 (75 votes)