Chapter Quiz

Select the best answer for each question. After completing the quiz, you can check your answers using the answer key in the appendix.
  1. Which PROC PRINT step below creates the following output?
    Sample Output
    1. proc print data=flights.laguardia noobs; 
         var on changed flight; 
         where on>=160; 
      run;
      
    2. proc print data=flights.laguardia; 
         var date on changed flight; 
         where changed>3; 
      run;
      
    3. proc print data=flights.laguardia label; 
         id date; 
         var boarded transferred flight; 
         label boarded='On' transferred='Changed'; 
         where flight='219'; 
      run;
      
    4.  proc print flights.laguardia noobs; id date; var date on changed flight; where flight='219'; ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with O’Reilly online learning.

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