SAS Base Certification – Practice Exam 10

Question 10: The following SAS program is submitted:

data work.quaterly_report;
   set work.survey;
   if qtr(survey_date) GT 2;

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?


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

1 Comment

    vineetha Jan 28, 2018

    Jan Feb march=1
    Apr may june=2
    So totally 6 observations


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.