Question 88: The following SAS program is submitted:

 data work.report;

 set work.sales_info;

 if qtr(sales_date) ge 3;

 run;

 The SAS data set WORK.SALES_INFO has one observation for each month in the year 2000 and the variable SALES_DATE which

 contains a SAS date value for each of the twelve months.

 How many of the original twelve observations in WORK.SALES_INFO are written to the WORK.REPORT data set?

  1. 2
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering Python Certification Material

 Correct Answer : 3

 Exp: The qtr function returns a value of 1-4 depending upon which quarter of the year the sales_date lies. Of the twelve months, three will be assigned qtr(sales_date) equal to 3,

 and another three equal to 4, giving a total of 6 observations in the output.

You can access to full explanation to question and answer from this page.