Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. Within the data set Cert.Temp, PayRate is a character variable and Hours is a numeric variable. What happens when the following program is run?
    data work.temp; 
       set cert.temp; 
       Salary=payrate*hours; 
    run;
    1. SAS converts the values of PayRate to numeric values. No message is written to the log.
    2. SAS converts the values of PayRate to numeric values. A message is written to the log.
    3. SAS converts the values of Hours to character values. No message is written to the log.
    4. SAS converts the values of Hours to character values. A message is written to the log.
  2. A typical value for the character variable Target is ...

Get SAS Certified Specialist Prep Guide now with O’Reilly online learning.

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