Chapter Quiz

Select the best answer for each question. 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. Which type of delimited file does PROC IMPORT read by default?
    1. logical record-length files
    2. varying record-length files
    3. fixed record-length files
    4. illogical record-length files
  3. Which program correctly imports only the first seven observations from the external file?
    1. options obs=7; proc import data="C:\users\test.txt" ...

Get SAS Certification Prep Guide, 5th 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.