Multiple choice technology programming languages

The contents of the raw data file NAMENUM are listed below: Joe xx The following SAS program is submitted: data test; infile 'namenum'; input name $ number; run; which one of the following is the value of the NUMBER variable?

  1. xx

  2. Joe

  3. .(missing numeric value)

  4. The value cannot be deteremined as the program fails to execute due to errors

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

SAS expects a numeric value for the number variable since it lacks a $ modifier. Because the raw data contains 'xx', which is non-numeric, SAS writes a note to the log, assigns a missing numeric value (.), and continues execution.