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
Topics:
SAS Base Questions |
5 Comments »
C
Please correct the options to read a. b. c. d instead of a. b. a. b
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.
Please change choice 3 from A to C
The options are A B A B, but it’s easy enough to read.