Question 7 :

 Suppose your program creates two variables from an input file. Both variables are stored as

 SAS date values: FirstDay records the start of a billing cycle, and LastDay records the end of that cycle.

 The code for calculating the total number of days in the cycle would be:

  1. TotDays=lastday-firstday;
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Ans : 2

 Exp : To find the number of days spanned by two dates, subtract the first day from the last day and add one. Because SAS date values are numeric values, they can easily be used in 

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