Exit A00-211 SAS Base Programming for SAS 9
Question 1 of 5
0% complete
Q1 Single choice

The following SAS program is submitted:

data work.new;
length word $7;
amount = 4;
it amount = 4 then word = `FOUR';
else if amount = 7
then word = `SEVEN';
else word = `NONE!!!';
amount = 7;
run;

What are the values of the AMOUNT and WORD variables in SAS dataset work.new?

  • A

    amount word
    4 FOUR

  • B

    amount word
    4 NONE!!!

  • C

    amount word
    7 FOUR

  • D

    amount word
    7 SEVEN

Previous Next