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