By admin | September 17, 2009

SAS Certified Base Programmer 123 Questions (54)

The following SAS program is submitted:

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

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

A.
amount word
7 FOUR

B.
amount word
7 SEVEN

C.
amount word
4 FOUR

D.
amount word
4 ‘ ‘ (missing character value)

One comment | Add One

  1. admin - 09/17/2009 at 9:54 am

    A

Leave a Comment

Leave a Reply

Your email address will not be published.