Which one of the following represents the values of the AMOUNT and WORD variables?

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 word = ‘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)

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.