SAS Chapter 21: Controlling Data Storage Space

5 Questions | Total Attempts: 31

SettingsSettingsSettings
SAS Quizzes & Trivia

Practice for the SAS advance certification exam


Questions and Answers
  • 1. 
    Which of the following statements about uncompressed SAS data files is true?
    • A. 

      The descriptor portion is stored on whatever page has enough room for it.

    • B. 

      New observations are always added in the first sufficient available space.

    • C. 

      Deleted observation space is tracked.

    • D. 

      New observations are always added at the end of the data set.

  • 2. 
    Which of the following statements about compressed SAS data files is true?
    • A. 

      The descriptor portion is stored on whatever data set page has enough room for it.

    • B. 

      Deleted observation spaced can be reused.

    • C. 

      Compressed SAS data files have a smaller overhead than uncompressed SAS data files.

    • D. 

      In a compressed SAS data set, each observation must be the same size.

  • 3. 
    Which of the following programs correctly creates reduced-length numeric variables?
    • A. 

      data temp; infile file1; input x 4. y 3. z 2.; run;

    • B. 

      data temp; format x 4. y 3. z 2.; infile file1; input x 4. y 3. z 2.; run;

    • C. 

      data temp; length x 4 y 3 z 2; infile file1; input x 4. y 3. z 2.; run;

    • D. 

      data temp; informat x 4. y 3. z 2.; infile file1; input x 4. y 3. z 2.; run;

  • 4. 
    Which of the following statements about SAS data views is true?
    • A. 

      SAS data views use less disk space but more CPU resources than SAS data files.

    • B. 

      SAS data views can be created only in permanent SAS data libraries.

    • C. 

      SAS data views use less CPU resources but more disk space than SAS data files.

    • D. 

      SAS data views can be created only in temporary SAS data libraries.

  • 5. 
    Which of the following programs should you use to detect any loss of precision between the default-length numeric variables inCompany.Regular and the reduced-length numeric variables in the data set Company.Reduced?
    • A. 

      proc contents data=company.regular; compare data=company.reduced; run;

    • B. 

      proc compare base=company.regular compare=company.reduced; run;

    • C. 

      proc print data=company.regular; run; proc print data=company.reduced; run;

    • D. 

      proc datasets library=company; contents data=regular compare=reduced; run;

Related Topics
Back to Top Back to top