Professional Documents
Culture Documents
Showing posts with label Base SAS Example Questions. Show all posts
-SAS Cert
************************
Which of the following is standard data that may be read with either column input or formatted input? Popular Posts
Labels: Base SAS Example Questions, SAS Certified Base Programmer for SAS 9, Standard data Becoming Base SAS Certified
Tip #1 - Repetition is Key
Blog Archive
▼ 2013 (24)
▼ June (3)
Base SAS Certification Sample Question
16.1
Base SAS Certification Sample Question
15.1
Base SAS Certification Sample Question
Monday, June 10, 2013 14.1
-SAS Cert
******************************
a) _NUMERIC_
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 1/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
b) _CHARACTER_
c) _ALL_
d) None of the above
Labels: Base SAS Example Questions, SAS Arrays, SAS Certified Base Programmer for SAS 9
-SAS Cert
*******************************
data work.roth_ira;
start = 1000;
do year = 1 to 30;
savings + 5000;
do month = 1 to 12;
int = savings * (.05/12);
savings + int;
end;
output;
end;
run;
a) 4 variables, 12 observations
b) 4 variables, 30 observations
c) 5 variables, 12 observations
d) 5 variables, 30 observations
Labels: Base SAS Example Questions, Do Loop, SAS Certified Base Programmer for SAS 9
I wanted to give you all a heads up that I'll be posting free Base SAS Certification study notes
from time to time at the link below. Feel free to check these out as you're studying for the Base
SAS Certification exam.
http://sascert3.blogspot.com/p/products.html
In addition, a complete list of my Base SAS Certification example questions can be found at
the below link. These questions will give you a good benchmark of where you stand before you sit
for the exam and what your strengths and weaknesses are.
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions
I hope these Base SAS Certification study notes and questions are useful to you, and please be sure
to leave comments if there are other topics or example questions that you would include or leave out.
-SAS Cert
Labels: Base SAS Example Questions, Base SAS Study Notes, SAS Certified Base Programmer for SAS 9
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 2/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
-SAS Cert
*********************************
Assume the variable employee_id in the ecsql1.salesstaff table has a length of 8, and the program
below runs without errors. Which of the below statements is true about the variable employee_id2?
Labels: Base SAS Example Questions, Put function, SAS Certified Base Programmer for SAS 9
-SAS Cert
*****************************
a) The new dataset contains all variables from all input data sets
b) If there are same-named variables, the last dataset's variable replaces the earlier dataset's
variable
c) The new dataset contains the total number of observations in the smallest original dataset
d) None of the above
Labels: Base SAS Example Questions, One-to-one merging, SAS Certified Base Programmer for SAS 9
-SAS Cert
******************************
What should the blank line below read to be able to output the sum of Qtr_total by the variable
paid_by?
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 3/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
a) last paid_by
b) paid_by.last
c) paid_by.last = 1
d) last.paid_by = 1
Labels: Base SAS Example Questions, By Group Processing, SAS Certified Base Programmer for SAS 9
100
200
300
.
150
50
What is the value of donation_tot after the 5th DATA step iteration?
data work.donations;
set ecsql1.employee_donations (drop=qtr2-qtr4);
retain donation_tot 1000;
donation_tot + qtr1;
run;
a) 0
b) 750
c) 1750
d) Data step fails due to errors
*******************************************
-SAS Cert
Labels: Base SAS Example Questions, retain statement, SAS Certified Base Programmer for SAS 9
a) BODY is the name of an HTML file that contains the procedure output
b) FRAME is the name of an HTML file that integrates the table of contents and the body file
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 4/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
c) If you specify FRAME=, you must also specify CONTENTS=
d) None of the above
******************************************
Leave your answer to this Base SAS Certification example question as a comment below...good luck!
-SAS Cert
Labels: Base SAS Example Questions, HTML output, SAS Certified Base Programmer for SAS 9
Standard deviation
Range
Count
Minimum value
Variance
Mode
a) 2
b) 3
c) 4
d) None of the above
******************
PROC MEANS, PROC FREQ, and PROC SUMMARY procedures are a big part of the Base SAS
exam, and if you can answer these questions correctly you'll be well on your way to achieving your
certification! Be sure to leave your answer as a comment below and good luck!
-SAS Cert
Labels: Base SAS Example Questions, Proc Means, SAS Certified Base Programmer for SAS 9
****************
-SAS Cert
Labels: Base SAS Example Questions, Proc Format, SAS Certified Base Programmer for SAS 9
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 5/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
if state = 'Illinois';
run;
The keyword "data" is misspelled above. What happens to this program during the compilation phase
assuming "corn" is a valid libref?
************************
-SAS Cert
Labels: Base SAS Example Questions, Compilation phase, SAS Certified Base Programmer for SAS 9
data work.column_file;
infile col_inp _____;
input id 1 Name $ 3-16 Address $ 18-35;
where Name contains 'Ziggy';
run;
a) maxobs=5
b) obs=5
c) datalines=5
d) lines=5
SAS Cert
Labels: Base SAS Example Questions, Infile statement, SAS Certified Base Programmer for SAS 9
-SAS Cert
_________________________
Assume the variable 'Unit_Cost_Price' (numeric) contains both missing and non missing values.
What would the below output contain?
a) A new dataset work.price_list is created with Unit_Cost_Price sorted in ascending order with
missing values at the bottom of the dataset
b) The dataset ecsql1.price_list is sorted with Unit_Cost_Price sorted in descending order with
missing values at the bottom of the dataset
c) A new dataset work.price_list is created with Unit_Cost_Price sorted in descending order with
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 6/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
missing values at the top of the dataset
d) The dataset ecsql1.price_list is sorted with Unit_Cost_Price sorted in ascending order with missing
values at the top of the dataset
Labels: Base SAS Example Questions, Proc Sort, SAS Certified Base Programmer for SAS 9
Remember, all these example questions I post are similar to questions that would appear on
the Base SAS Certification exam. If you can answer these correctly, you can crack the questions
on test day!
Good luck!
SAS Cert
-------------------------------------------------
a) include 'd:\programs\sas\newprog.sas'
b) include 'd:\programs\sas\newprog.sas';
c) file 'd:\programs\sas\newprog.sas'
d) file 'd:\programs\sas\newprog.sas';
Labels: Base SAS Example Questions, Open External File, SAS Certified Base Programmer for SAS 9
-SAS Cert
---------------------------------------------
What keyword should be used in the blank below to list the dataset's variables in logical, not
alphabetical order?
a) log
b) logical
c) varnum
d) var
Labels: Base SAS Example Questions, Proc Contents, SAS Certified Base Programmer for SAS 9
I'm going to start posting example questions for the Base SAS exam about once a week. The
questions will test information covered in the SAS Certification Prep Guide, and I'll provide the
answers to these questions about a week or two after they're originally posted.
Please leave a comment below this post with your answer - hopefully this will start a good
discussion from fellow SAS programmers who are studying for the Base SAS Certification.
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 7/8
3/14/2018 Become SAS Certified: Base SAS Example Questions
Good luck!
SAS Cert
-----------------------------------------
How many of the below variable names will not produce errors in an assignment statement?
variable
var
1variable
var1
#var
_variable#
a) 0
b) 1
c) 3
d) 6
Labels: Base SAS Example Questions, Creating Variables, SAS Certified Base Programmer for SAS 9
http://sascert3.blogspot.com/search/label/Base%20SAS%20Example%20Questions 8/8