Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. How can you create SAS output in HTML format on any SAS platform?
    1. by specifying system options
    2. by using programming statements
    3. by using SAS windows to specify the result format
    4. you cannot create HTML output on all SAS platforms
  2. In order for the date values 05May1955 and 04Mar2046 to be read correctly, what value must the YEARCUTOFF= option have?
    1. a value between 1947 and 1954, inclusive
    2. 1955 or higher
    3. 1946 or higher
    4. any value
  3. When you specify an engine for a library, what are you specifying?
    1. the file format for files that are stored in the library
    2. the version of SAS that you are using
    3. access to other software vendors' files
    4. instructions for creating temporary SAS files
  4. Which statement prints a summary of all the files stored in the library named Area51?
    1. proc contents data=area51._all_ nods;
    2. proc contents data=area51 _all_ nods;
    3. proc contents data=area51 _all_ noobs;
    4. proc contents data=area51 _all_.nods;
  5. Which of the following programs correctly references a SAS data set named SalesAnalysis that is stored in a permanent SAS library?
    1. data saleslibrary.salesanalysis; 
          set mydata.quarter1sales; 
          if sales>100000; 
      run;
    2. data mysales.totals; 
          set sales_99.salesanalysis; 
          if totalsales>50000; 
      run;
    3. proc print data=salesanalysis.quarter1; 
          var sales salesrep month; 
      run;
    4. proc freq data=1999data.salesanalysis; 
          tables quarter*sales; 
      run;
  6. Which time span is used to interpret two-digit year values if the YEARCUTOFF= option is set to 1950?
    1. 1950-2049
    2. 1950-2050
    3. 1949-2050
    4. 1950-2000
  7. Assuming you are using SAS code and not the SAS windowing environment, which one of the following statements is false?
    1. LIBNAME statements can be stored with a SAS program to reference the SAS library automatically when you submit the program.
    2. When you delete a libref, SAS no longer has access to the files in the library. However, the contents of the library still exist on your operating system.
    3. Librefs can last from one SAS session to another.
    4. You can access files that were created with other vendors' software by submitting a LIBNAME statement.
  8. What does the following statement do?
    libname osiris spss 'c:myfilessasdatadata.spss';
    1. defines a library called Spss using the OSIRIS engine
    2. defines a library called Osiris using the SPSS engine
    3. defines two libraries called Osiris and Spss using the default engine
    4. defines the default library using the OSIRIS and SPSS engines
Last updated: January 10, 2018
..................Content has been hidden....................

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