The following SAS program is submitted:
If the value for the Alumcode is: ALUM2, what is the value of the variable Description?
The following SAS program is submitted:
If the value for the Alumcode is: ALUM2, what is the value of the variable Description?
SAS is case-sensitive when it comes to comparing string values. The program checks if Alumcode is equal to 'Alum2', but the value provided is 'ALUM2' which is in uppercase. Since there is a mismatch in case, the condition will evaluate to false. Therefore, the value of the variable Description will be set to 'Unknown'.
Correct is B, because data is case-sensitive