Question 20: You have similar variables in your dataset like sales of last 6 months jan18, feb18, mar18, apr18, may18, jun18. And you wanted to do some

 calculations on those variable referencing them through array, which of the following statement is correct with regards to array?

  1. All newly created variable through array will be added in compilation stage of data step
  2. Only numeric variables can be created through array declaration
  3. Only character variables can be created through array declaration.
  4. It is not mandatory to define all the variables explicitly while array declaration.

 

  1. A,B
  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

 Correct Answer : 4 Exp : You can create variables through array declaration of any of the either character or numeric type.

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