Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. Which SAS statement correctly uses column input to read the values in the raw data file below in this order: Address (fourth field), SquareFeet (second field), Style (first field), Bedrooms (third field)?
    Using Column Input to Read Raw Data
    1. input Address 15-29 SquareFeet 8-11 Style 1-6
            Bedrooms 13;
    2. input $ 15-29 Address 8-11 SquareFeet $ 1-6 Style 
            13 Bedrooms;
    3. input Address $ 15-29 SquareFeet 8-11 Style $ 1-6
            Bedrooms 13;
    4. input Address 15-29 $ SquareFeet 8-11 Style 1-6
            $ Bedrooms 13;
  2. Which is not an advantage of column input?
    1. It can ...

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

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