问题 填空题

有如下程序:
Option Base 1
Private Sub Form_Click()
Dim arr,Sum
Sum=0
art=Array(1,3,5,7,9,11,13,15,17,19)
For i=1 To 10
If arr(i)/3=arr(i)\3 Then
Sum=Sum+arr(i)
End If
Next i
MsgBox Sum
End Sub
程序运行后,单击窗体,消息框的输出结果为______。

答案

参考答案:27

解析: 本题考查VBA程序分析的知识。本题的关键在于在循环中哪些数组元素被加到了累加和中去。根据If语句的条件可以看出,凡是能被3整除的数组元素被累加,所以最后输出的值为3+9+15=27。

单项选择题 A1/A2型题
填空题

Part 4


Questions 26-45


·Read the following text and decide which answer best fits each space.
·For questions 26-45, mark one letter A, B, C or D on the Answer Sheet.

Speaking Her Hind


By the time they turn 55, most Hollywood actresses see their careers start to fade. Not (26) for Susan Sarandon, who will help kick offthe fall movie season with three films.
(27) of the movies are likely to be blockbusters, but Sarandon chooses her (28) more for the stories they tell (29) for their commercial potential. "If we’re very lucky, these films will (30) questions that people will talk about," she says.
She’s done her own share of questioning, and arrived at a place in life (31) she’s not afraid to stand (32) her convictions—and then follow (33) with action. The eldest of nine children in a New Jersey Roman Catholic family, she stumbled into an acting (34) when she attended an audition with her ex-husband, Chris Sarandon. Twenty-five years and five Oscar nominations later, she (35) a Best Actress Academy Award for her role as Sister Helen Prejean in 1995’s Dead Man Waling, a searing film about capital punishment.
By (36) Sarandon was practiced at using her celebrity to (37) causes close to her heart. (38) , while presenting an award at the 1993 Oscars, she and longtime partner Tim Robbins, an actor and director, took 30 seconds of their podium time to speak on (39) of Haitian refugees with AIDS. "At the (40) of acting and activism is imagination," Sarandon says. "I’ve (41) had the ability to imagine being in someone else’s shoes."
She is a supporter of end-hunger and poverty (42) including Heifer International, Madre, and Habitat for Humanity, as (43) as the Center for Constitutional Rights. In the aftermath of September 11, she cooked for workers at Ground Zero, did benefit performances, and befriended firefighters and victims’ families.
Sarandon is (44) hands-on in the role she calls her (45) important—mother of three children.

A.well

B.soon

C.far

D.just