问题 填空题

在窗体上画一个名称为Text1的文本框,然后画三个单选按钮,并用这三个单选按钮建立一个控件数组,名称为Option1。程序运行后,如果单击某个单选按钮,则文本框中的字体将根据所选择的单选按钮切换,如图所示,请填空。

Private Sub Option1_Click(Index As Integer) Select Case ______ Case 0a=“宋体” Case 1a=“黑体” Case 2a=“楷体_GB2312” End Select Text1.______=a End Sub

答案

参考答案:Index

解析:Font或FontName或Font.Name 本题考查对控件数组下标的理解。用于控件数组拥有相同的名称,所以必须用下标来访问控件数组中的不同元素。这个属性用 Index来表示。本题建立了单选按钮的控件数组,要求选择不同的单选按钮,则文本框中的字体将根据所选的单选按钮切换,所以在Select分支控制语句的Case后填:Index,表示不同的控件。第二处应把字体值赋给Text1的FontName属性,该属性确定文本框中文字的显示格式。Name属性为Font属性的子属性,故答案中的写法是等价写法。

选择题
完形填空

阅读下面短文,掌握其大意,然后从所给的A、B、C、D四个选项中,选出最佳选项。
At the 1924 Olympic Games in Paris, the favorite team in the four-man canoe race was the United States team. One member of that team was a young man by the name of Bill Havens.
As the time for the Olympics   36  it became clear that Bill’s wife would give birth to their first child about the time that the U.S. team would be   37  in the Paris games. In 1924 there were no jet airliners from Paris to the United States, only   38  ocean-going ships. And so Bill found himself in a   39 . Should he go to Paris and   40  not being at his wife’s side when their baby was born? Or should he   41  from the team and remain with his family?
Bill’s wife   42  that he go to Paris.   43 , competing in the Olympics was his life long   44 . But Bill felt   45 and, after much   46  searching decided to withdraw from the competition and remain home, where he could   47 his wife when the child arrived.
As it   48 , the United States four-man canoe team won the gold medal in Paris. And Bill’s wife was   49  in giving birth to their child. She was so late,   50 , that Bill could have competed in the event and returned home in time to be with her when she gave birth.
People said, “What a shame.” But Bill said he had no   51 . For the rest of his life, he believed he had made the   52  decision. Bill Havens knew what was most   53  to him. Not everybody figures that out. And he acted on what he believed was best.   54  everybody has the strength of character to say no to something he or she truly wants in order to say yes to something that truly   55 . But for Bill, it was the only way to peace; the only way to no regrets.
小题1:
A.nearedB.startedC.ended D.narrowed
小题2:
A.practisingB.competingC.entering D.trying
小题3:.
A.expensiveB.heavyC.large D.slow
小题4:
A.hurryB.puzzleC.dilemmaD.trouble
小题5:
A.avoidB.riskC.bearD.missed
小题6:
A.breakB.keepC.wanderD.withdraw
小题7:
A.complainedB.preferredC.insistedD.promised
小题8:.
A.After allB.Above allC.In allD.At all
小题9:.
A.purposeB.struggleC.opportunityD.dream
小题10:
A.disappointedB.conflictedC.confused D.encouraged
小题11:
A.memoryB.decisionC.soul D.peace
小题12:.
A.supportB.watchC.comfort D.raise
小题13:
A.fed backB.pointed outC.came outD.turned out
小题14:
A.effortlessB.sorryC.late D.hard
小题15:.
A.at lastB.in factC.without doubtD.in brief
小题16:
A.painsB.sufferingsC.defeatsD.regrets
小题17:
A.betterB.biggerC.worseD.more
小题18:.
A.obviousB.trueC.importantD.close
小题19:
A.AlmostB.CertainlyC.SurelyD.Not
小题20:.
A.1astsB.mattersC.worksD.rewards