SAS Certified Base Programmer 123 Questions (3)
The following SAS program is submitted:
data work.new;
length word $7;
amount = 7;
if amount = 5 then word = 'CAT';
else if amount = 7 then word = 'DOG';
else work = 'NONE!!!';
amount = 5;
run;
Which one of the following represents the values of the AMOUNT and WORD variables?
A.
amount word 5 DOG
B.
amount word 5 CAT
C.
amount word 7 DOG
D.
amount word 7 ' ' (missing character value)
Topics:
SAS Base Questions |
1 Comment »
A