Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. Using ODS statements, how many types of output can you generate at once?
    1. 1
    2. 2
    3. 3
    4. as many as you want
  2. If ODS is set to its default settings, what types of output are created by the following code?
    ods html file='c:myhtml.htm'; 
    ods pdf file='c:mypdf.pdf';
    1. HTML and PDF
    2. PDF only
    3. HTML, PDF, and EXCEL
    4. No output is created because ODS is closed by default.
  3. What is the purpose of closing the HTML destination in the following code?
    ods HTML close; 
    ods pdf ... ;
    1. It conserves system resources.
    2. It simplifies your program.
    3. It makes your program compatible with other hardware platforms.
    4. It makes your program compatible with previous versions of SAS.
  4. When the following code runs, what does the file D:Outputody.html contain?
    ods html body='d:outputody.html'; 
    proc print data=work.alpha; 
    run; 
    proc print data=work.beta; 
    run; 
    ods html close;
    1. The PROC PRINT output for Work.Alpha.
    2. The PROC PRINT output for Work.Beta.
    3. The PROC PRINT output for both Work.Alpha and Work.Beta.
    4. Nothing. No output is written to D:Outputody.html.
  5. When the following code runs, what file is loaded by the links in D:Outputcontents.html?
    ods html body='d:outputody.html' 
      contents='d:outputcontents.html' 
      frame='d:outputframe.html';
    1. D:Outputody.html
    2. D:Outputcontents.html
    3. D:Outputframe.html
    4. There are no links from the file D:Outputcontents.html.
  6. The table of contents that was created by the CONTENTS= option contains a numbered heading for which of the following?
    1. each procedure
    2. each procedure that creates output
    3. each procedure and DATA step
    4. each HTML file created by your program
  7. When the following code runs, what will the file D:Outputframe.html display?
    ods html body='d:outputody.html' 
      contents='d:outputcontents.html' 
      frame='d:outputframe.html';
    1. The file D:Outputcontents.html .
    2. The file D:Outputframe.html.
    3. The files D:Outputcontents.html and D:Outputody.html.
    4. It displays no other files.
  8. What is the purpose of the following URL= suboptions?
    ods html body='d:outputody.html' (url='body.html') 
      contents='d:outputcontents.html'  
      (url='contents.html') 
      frame='d:outputframe.html';
    1. To create absolute link addresses for loading the files from a server.
    2. To create relative link addresses for loading the files from a server.
    3. To allow HTML files to be loaded from a local drive.
    4. To send HTML output to two locations.
  9. Which ODS HTML option was used in creating the following table?
    Sample HTML Output
    1. format=MeadowPrinter
    2. format='MedowPrinter'
    3. style=MeadowPrinter
    4. style='MeadowPrinter'
  10. What is the purpose of the PATH= option?
    ods html path='d:output' (url=none) 
      body='body.html' 
      contents='contents.html' 
      frame='frame.html';
    1. It creates absolute link addresses for loading HTML files from a server.
    2. It creates relative link addresses for loading HTML files from a server.
    3. It allows HTML files to be loaded from a local drive.
    4. It specifies the location of HTML file output.
Last updated: August 23, 2018
..................Content has been hidden....................

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