sas base quiz questions

Upload: mpjob4

Post on 04-Jun-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 sas base quiz questions

    1/3

    Page 1 of 3

    Quiz Producing H TMLOutputSelect the best answer for each question and click Score My Quiz

    1. O D s creates links to your output in the Results window and uses icons to identify outputobjects. If you create both listing output and HT ML output for the sam e procedure ...c a you get only the L isting output icon.c you get only the HTM L output icon.c c you get both L isting and HTM L output icons.

    d you get an error message in the SAS log.2. W hen you direct output fi-om multiple procedures to the same HTM L file

    a the Results window displays a link for a single output object which contains theoutput from all the procedures.I b the Results w indow displays links for multiple output objects.c procedure o utput is overwritten so that only the last output is contained in theHTM L file.

    c d you get an error message in the SAS log.3. Wh at is the purpose of closing the Listing destination in the code shown below?

    ods l i s t i n g c l o s e ;ods html

    a It conserves system resources.c b It simplifies your program.c c It makes your program compatible with other hardware platforms.

    d It makes your program compatible with previous versions of SAS software.4. When the code shown below is run wha t will the file D:\Output\body html contain?

    ods h tml body= d:\output~body.htm1 ;p r oc p r i n t data=work. l p h a ;run ;proc pri::t d a t a = w c r k . beta;run:o d s h t m l c l o s e ;

  • 8/13/2019 sas base quiz questions

    2/3

    Quiz Page

    a The PROC PRINT output for Work.Alpha.b. The PROC PRINT output for Work Beta.c The PRO C PRJNT output for both Work.Alpha and Work.Beta.

    C d Noth ing. No output will be written to D:\Output\body.html.5. When the code show n below is run what file will the links in D:\Output\contents.htmlpoint to?

    ods html body= d:\output\body.htmlcoritents= d: output\cor1ter1ts. t dframe= d: \output\fra~ne.t~nl

    C b. D:\Output\contents.htmlc D:\Output\frame.htmld There are no links from the file D:\Output\contents htmi

    6 The table of contents that is created by the CO NTENTS= option contains a numberedheading for..C a each procedure.S. b each procedure that creates output.

    c each procedure and DATA step.c d each HTM L file that is created by your program.

    7. When the code shown below is run what will the file D:\Output\frame.htmlcontain?od html body= d:\output\body.htmlT.. contents= d:\output\contents.html

    frame= d:\output\frame.html ;

    . . c: a The file D:\Output\contents htmlb. The file D:\Output\frame.html.

    C c The files D:\Output\contents.htmland D:\Output\body.html.d The file D:\Output\body.htm.

    8. What is the purpose of the URL= suboptions shown below ?ods html body= d: \output\body. tnlr (url= body.htmlrcorli ?nts= d : \ou:pu~\cont~~its.Crrill (url= contents ht ml rrame= d: \outpur\fraXe. tm1

  • 8/13/2019 sas base quiz questions

    3/3

    Page of

    c a To create absolute link add resses for loading the files from a serverc b To crea te relative link addresses for loading the files from a server

    c To enable HTML files to be loaded from a local drivec d. To send HTML output to two locations

    9 Which O D s HTML option was used in creating the following table?

    C a format-brown

    10 What is the purpose of the PATH= option?ods html path= d: \ou tpu t1 url .==none)body= body.htmll

    content~=~contents.htmlframe= frame.html ;

    a. It creates absolute link addresses for loading HTM L files from a serverb It creates relative link addresses for loading HTML files from a server

    C c. It enables HTML files to be loaded from a local driveC d It specifies the location of HTML file output

    .Score byQuiz ciear~ n s w e r s

    Terms of Use Leqal Info rmat ion Privacy Statement