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 sasuser.furnture;
          if finish='oak';
          if price<100 then delete;
          TotalPrice+price;
          drop price;
      run;
      proc print data=test2 noobs;
      run;
      
    2. data test2;
          set sasuser.furnture;
          if finish='oak' and price<200;
          TotalPrice+price;
          drop price;
      run;
      proc print data=test2 noobs;
      run;
      
    3. data test2; set sasuser.furnture; if finish='oak' and price<200 ...

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.