SAS Base Certification – Practice Exam 10

Question 10: The following SAS program is submitted:

1
2
3
4
data work.quaterly_report;
   set work.survey;
   if qtr(survey_date) GT 2;
run;

The SAS data set Work.Survey has 1 observation for each month in the year 2011, and the variable Survey_Date contains a SAS date value for each of the 12 months. How many of the original 12 observations in Work.Survey are written to the Work.Quaterly_Report data set?

Options:

a.	2
b.	3
c.	6
d.	9

*This blog is not affiliated with SAS or the SAS Institute. All answer logs, data sets, output, and commentary are provided by this blog.

Correct Answer

Incorrect Answer

Click to see Answer Explanation below

thanks for your support

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.