SAS Chapter 21: Controlling Data Storage Space

5 Questions | Attempts: 38
Share
Please wait...
Question 1 / 5
0 %
0/100
Score 0/100
1. Which of the following statements about compressed SAS data files is true?

Explanation

The descriptor portion of a compressed data file is always stored at the end of the first data set page. If you specify REUSE=YES, SAS tracks and reuses deleted observation space within a compressed data file. Therefore, every observation in a compressed data file can be a different size. Compressed data files do have a larger overhead than uncompressed data files.

Submit
Please wait...
About This Quiz
SAS Quizzes & Trivia

Practice for the SAS advance certification exam

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Which of the following statements about uncompressed SAS data files is true?

Explanation

The descriptor portion of an uncompressed data file is always stored at the end of the first data set page. New observations are always added to the end of the data set, and deleted observation space is neither tracked nor reused.

Submit
3. Which of the following statements about SAS data views is true?

Explanation

SAS data views use significantly less disk space than SAS data files. However, SAS data views typically need more CPU resources than SAS data files. You can create a SAS data view in either the temporary SAS data library or in a permanent SAS data library.

Submit
4. Which of the following programs correctly creates reduced-length numeric variables?

Explanation

You use the LENGTH statement to assign a reduced length to a numeric variable. If you do not use the LENGTH statement to define a reduced length for numeric variables, their default length is 8 bytes. The FORMAT statement associates a format with a variable, and the INFORMAT statement associates an informat with a variable.

Submit
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?

Explanation

You use the COMPARE procedure to detect any differences in the values of two data sets. The COMPARE statement is not valid syntax in either the CONTENTS procedure or the DATASETS procedure. Printing both data sets might not reveal differences in the precise values of the shortened variables, depending on the formats that are used.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 16, 2022 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 16, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 03, 2013
    Quiz Created by
    Moxleyv
Cancel
  • All
    All (5)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which of the following statements about compressed SAS data files is...
Which of the following statements about uncompressed SAS data files is...
Which of the following statements about SAS data views is true?
Which of the following programs correctly creates reduced-length...
Which of the following programs should you use to detect any loss of...
Alert!

Advertisement