By admin | August 26, 2009

SAS Certified Base Programmer 123 Questions (5)

The following SAS program is submitted:

data work.sets;
    do until (prod gt 6);
        prod + 1;
    end;
run;

Which one of the following is the value of the variable PROD in the output data set?

A. 5
B. 6
A. 7
B. 8

5 comments | Add One

  1. admin - 08/26/2009 at 2:58 pm

    C

  2. Fezile - 09/20/2011 at 6:05 am

    Please correct the options to read a. b. c. d instead of a. b. a. b

  3. Raji - 05/21/2012 at 5:06 am

    Pl clarify, the Do until executes UNTIL it is GREATER THAN 6, which is till7 and then a +1 to it makes it 8. Is’nt it so? Or is it GE 6…then 7 is right.

  4. pavan - 09/4/2012 at 7:46 am

    Please change choice 3 from A to C

  5. Evan - 10/1/2012 at 5:50 pm

    The options are A B A B, but it’s easy enough to read.

Leave a Comment

Leave a Reply

Your email address will not be published.