O'Reilly logo

SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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'; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required