Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. Given the following data set, which program creates the output shown below?
    Input 1
    Output 1
    1. data test2;
        set cert.furnture;
        if finish='oak';
        if price<100 then delete;
        TotalPrice+price;
        drop price;
      run;
      proc print data=test2 noobs;
      run;
      
    2. data test2;
        set cert.furnture;
        if finish='oak' and price<200;
        TotalPrice+price;
        drop price;
      run;
      proc print data=test2 noobs;
      run;
      
    3. data test2; set cert.furnture; if finish='oak' and price<200 ...

Get SAS Certification Prep Guide, 5th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.