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 SAS statement associates the fileref Crime with the raw data file C:\States\Data\crime.dat?
    1. filename crime 'c:\states\data\crime.dat';
      
    2. filename crime c:\states\data\crime.dat;
      
    3. fileref crime 'c:\states\data\crime.dat';
      
    4. filename 'c:\states\data\crime' crime.dat;
      
  2. Filerefs remain in effect until . . .
    1. you change them.
    2. you cancel them.
    3. you end your SAS session.
    4. all of the above
  3. Which statement identifies the name of a raw data file to be read with the fileref Products and specifies that the DATA step read-only records 1-15?

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third 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.