Question 1: You have been given below SAS program
data course100;
Fee=5000;
FEE_HIKE=0.1;
do month=1 to 12;
put _all_;
TOTALFEE+(FEE+TOTALFEE)*FEE_HIKE;
end;
run;
How many time do loop will be iterated?
- 0
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 3 Exp : Its very simple question, you need to understand do loop. As simple do loop will have start and end index. Here, end index is
12, which says this loop will be executed 12 times.
You can access to full explanation to question and answer from this page.