Quiz

Select the best answer for each question. After completing the quiz, check your answers using the answer key in the appendix.
  1. Which of the following statements about uncompressed SAS data files is true?
    1. The descriptor portion is stored on whatever page has enough room for it.
    2. New observations are always added in the first sufficient available space.
    3. Deleted observation space is tracked.
    4. 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?
    1. The descriptor portion is stored on whatever data set page has enough room for it.
    2. Deleted observation space can be reused.
    3. Compressed SAS data files have a smaller overhead than uncompressed SAS data files.
    4. 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?
    1. data temp;
         infile file1;
         input x 4.
               y 3.
               z 2.;
       run;
    2. data temp;
         format x 4.
                y 3.
                z 2.;
         infile file1;
         input x 4.
               y 3.
               z 2.;
      run;
    3. data temp;
         length x 4
                y 3
                z 2;
         infile file1;
         input x 4.
               y 3.
               z 2.;
       run;
    4. 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?
    1. SAS data views use less disk space but more CPU resources than SAS data files.
    2. SAS data views can be created only in permanent SAS libraries.
    3. SAS data views use less CPU resources but more disk space than SAS data files.
    4. SAS data views can be created only in temporary SAS libraries.
  5. Which of the following programs should you use to detect any loss of precision between the default-length numeric variables in Company.Regular and the reduced-length numeric variables in the data set Company.Reduced?
    1. proc contents data=company.regular;
         compare data=company.reduced;
      run;
    2. proc compare base=company.regular
         compare=company.reduced;
      run;
    3. proc print data=company.regular;
      run;
      
      proc print data=company.reduced;
      run;
    4. proc datasets library=company;
         contents data=regular compare=reduced;
      run;
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.236.27