Which one of the following values does the variable AGE contain when the name of the employee is "Sue"?

The contents of the raw data file EMPLOYEE are listed below:
——–10——-20——-30
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
The following SAS program is submitted:
data test;
infile ’employee’;
input employee_name $ 1-4;
if employee_name = ‘Sue’ then input age 7-8;
else input idnum 10-11;
run;
Which one of the following values does the variable AGE contain when the name of the employee is "Sue"?
A. 30
B. 33
C. 40
D. . (missing numeric value)

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.