问题 填空题

阅读下面程序:
Private Function a(load As Integer) As Single
If load <20 then
money = load/2
else
money =20 + load
end if
a = money
End Function
Private Sub Form_Click( )
Dim load As Integer, fee As Single
Load = InputBox("请输入一个数:")
fee= a(loaD)
Print fee
End Sub
输入20,运行后的输出结果是 【6】

答案

参考答案:40

解析: 本题调用通用函数过程,进行虚实结合后load的值为20。执行a函数时,首先判断 load<20条件为假,执行money=20+load,使money的值为40。接着执行a=money语句,使函数名的值为40,执行到语句End Function则返回调用它的事件过程,将函数值赋给变量fee。最后输出变量fee的值,其值为40。

单项选择题
单项选择题

Weak dollar or no, $ 46,000-the price for a single year of undergraduate instruction amid the red brick of Harvard Yard-is (1) But nowadays cost is (2) barrier to entry at many of America’s best universities. Formidable financial-assistance policies have (3) fees or slashed them deeply for needy students. And last month Harvard announced a new plan designed to (4) the sticker-shock for undergraduates from middle and even upper-income families too.

Since then, other rich American universities have unveiled (5) initiatives. Yale, Harvard’s bitterest (6) , revealed its plans on January 14th. Students whose families make (7) than $60,000 a year will pay nothing at all. Families earning up to $ 200,000 a year will have to pay an average of 10% of their incomes. The university will (8) its financial- assistance budget by 43%, to over $ 80m.

Harvard will have a similar arrangement for families making up to $180,000. That makes the price of going to Harvard or Yale (9) to attending a state-run university for middle-and upper-income students. The universities will also not require any student to take out (10) to pay for their (11) , a policy introduced by Princeton in 2001 and by the University of Pennsylvania just after Harvard’s (12) . No applicant who gains admission, officials say, should feel (13) to go elsewhere because he or she can’t afford the fees.

None of that is quite as altruistic as it sounds. Harvard and Yale are, after all, now likely to lure more students away from previously (14) options, particularly state-run universities, (15) their already impressive admissions figures and reputations.

The schemes also provide a (16) for structuring university fees in which high prices for rich students help offset modest prices for poorer ones and families are less (17) on federal grants and government-backed loans.

Less wealthy private colleges whose fees are high will not be able to (18) Harvard or Yale easily. But America’s state-run universities, which have traditionally kept their fees low and stable, might well try a differentiated (19) scheme as they raise cash to compete academically with their private (20) . Indeed, the University of California system has already started to implement a sliding-fee scale.

13()

A.pressured

B.ashamed

C.insecure

D.unhappy