前两到题应该选c和d没错吧 但是第三道题答案给的是B 这不和第二题冲突了么 谁给我解释一下啊 谢谢
1 During each execution of the following DO loop, the value of Earned is calculated and is added to its previous value. How many times does this DO loop execute?
data finance.earnings;
Amount=1000;
Rate=.075/12;
do month=1 to 12;
Earned+(amount+earned)*rate;
end;
run;
| a. | 0 | |
| b. | 1 | |
| c. | 12 | |
| d. | 13 |
2 In the data set Work.Invest, what would be the stored value for Year?
data work.invest;
do year=1990 to 2004;
Capital+5000;
capital+(capital*.10);
end;
run;
| a. | missing | |
| b. | 1990 | |
| c. | 2004 | |
| d. | 2005 |
3 Which of the following statements is false regarding the program shown below?
data work.invest;
do year=1990 to 2004;
Capital+5000;
capital+(capital*.10);
output;
end;
run;
| a. | The OUTPUT statement writes current values to the data set immediately. | |
| b. | The stored value for Year is 2005. | |
| c. | The OUTPUT statement overrides the automatic output at the end of the DATA step. | |
| d. | The DO loop performs 15 iterations. |
[此贴子已经被作者于2009-3-28 8:06:49编辑过]



雷达卡



京公网安备 11010802022788号







