问题 单项选择题

一个工程中包含两个名称分别为Form1、Form2的窗体,一个名称为mdlFune的标准模块。假定在 Forml、Form2和mdlFunc中分别建立了自定义过程,其定义格式为: Forml中定义的过程: Privme Sub frmFunction1( ) ……End Sub Form2中定义的过程: Public Sub frmFunction2( ) End Sub mdlFunc 中定义的过程: PubHc Sub mdl Function( ) End Sub 在调用上述过程的程序中,如果不指明窗体或模块的名称,则以下叙述中正确的是

A.上述三个过程都可以在工程中的任何窗体或模块中被调用

B.frmFunction2和mdlFunction过程能够在工程中各个窗体或模块中被调用

C.上述三个过程都只能在各自被定义的模块中调用

D.只有mdlFunction过程能够被工程中各个窗体或模块调用

答案

参考答案:D

解析: 只有在标准模块中用Public定义的Sub过程才能被工程中各个窗体或模块调用。

阅读理解

阅读下列短文,从每题所给的A、B、C、D四个选项中选出最佳选项。

                                                    Tell a lie (谎言) just to be polite?

      Tony is seven years old. He begins to go to school this term. He works very hard. He is polite and has lots

of friends. They all like him very much.

      It is Saturday today. Tony, his sister Kate and their mother are at home. His mother does some housework

and he watches TV. Kate does her homework. At ten o'clock, his father comes back with a bag of apples for the

family. Tony likes apples very much and wants to eat one. His mother gives four apples and says, "Go and wash

them." 

      Tony washes the apples and then gives them back to his mother. His mother asks him, "Which apple do you want, Tony?" "The biggest one," Tony answers quickly. "What?" says his mother, "You should want the smallest

one, Tony. You should be a polite boy!" 

      "Should I tell a lie just to be polite, Mum?"

1. Tony begins to go to school when he is _______ years old. [ ]

A. five

B. six

C. seven

D. eight

2. Tony's sister Kate is a _______. [ ]

A. teacher

B. student

C. worker

D. waitress

3. Tony's mother gives him four apples to wash because ________. [ ]

A. she doesn't want Tony to eat too many apples

B. Tony cannot carry more apples

C. Tony can eat four apples

D. there are four people in his family

4. Tony wants to eat _______. [ ]

A. the biggest apple

B. the smallest apple

C. the biggest and the smallest apples

D. the four apples

5. From the story we can know Tony wants to be ________. [ ]

A. friendly

B. helpful

C. polite

D. honest

填空题