SAS Chapter 20: Controlling Memory Usage

5 Questions | Total Attempts: 68

SettingsSettingsSettings
SAS Quizzes & Trivia

Practice for the SAS advance certification exam.


Questions and Answers
  • 1. 
    Which of the following statements is true regarding the BUFNO= option?
    • A. 

      The BUFNO= option specifies the size of each buffer that is used for reading or writing a SAS data set.

    • B. 

      The BUFNO= option can improve execution time by limiting the number of input/output operations that are required.

    • C. 

      Using the BUFNO= option results in permanent changes to the data set.

    • D. 

      Using the BUFNO= option to increase the number of buffers results in decreased memory consumption.

  • 2. 
    Which of the following statements is not true regarding a page?
    • A. 

      A page is the unit of data transfer between the engine and the operating environment.

    • B. 

      A page includes the number of bytes used by the descriptor portion, the data values, and the overhead.

    • C. 

      The size of a page is analogous to buffer size.

    • D. 

      The size of a page can be changed at any time.

  • 3. 
    The total number of bytes occupied by a data set equals…?
    • A. 

      The page size multiplied by the number of pages.

    • B. 

      The page size multiplied by the number of observations.

    • C. 

      The sum of the page size and the number of pages.

    • D. 

      The number of pages multiplied by the number of variables.

  • 4. 
    Which statement opens the file Work.Quarter1, allocates enough buffers to hold the entire file in memory, and reads the data into memory?
    • A. 

      Sasfile work.quarter1 open;

    • B. 

      Sasfile work.quarter1 load;

    • C. 

      Sasfile work.quarter1 bufno=max;

    • D. 

      Sasfile work.quarter1 bufsize=max;

  • 5. 
    Which of the following statements is true regarding a file that is opened with the SASFILE statement?
    • A. 

      The file is available to subsequent DATA and PROC steps or applications until a SASFILE CLOSE statement is executed or until the program ends.

    • B. 

      The file is available to subsequent DATA and PROC steps or applications until a SASFILE END statement is executed.

    • C. 

      The file is available for subsequent utility or output processing until the program ends.

    • D. 

      If the file increases in size during processing, the number of buffers remains the same.

Related Topics
Back to Top Back to top