问题 单项选择题

在窗体上画一个命令按钮,然后编写如下程序:  Private Sub Commandl_Click( )     Dim a AS Integer,b As Integer     a=15     b=2     t N(a,b)   End Sub   Function N(x As Integer,y As Integer) As Integer     N=IIf(x)y,x,y)   End Function   程序运行后,单击命令按钮,输出结果为

A.1

B.2

C.15

D.8

答案

参考答案:C

解析:解析:事件过程N的作用是输出两个数中最大的,它调用了IIF函数,条件部分是(x〉y),如果满足,那么N的值即为x的值,否则为y的值。在Sub过程中,定义了两个变量a,b,并赋给它们初值15,2,并调用Print函数,输出N(a,b)的值,因为x〉y,所以输出15。

听力题

阅读下面短文,按照句子结构的语法性和上下文连贯的要求,在空格处填人一个适当的词或使用括号中词语的正确形式填空,并将答案填写在答题卡标号为16~25的相应位置上。

If you struggle against figures, maybe you were born that way, research has suggested. Being good at mathematics may be entirely pre-destined—you either have it   16  you don’t.

And those who find   17  difficult to add up the number shouldn’t feel too hopeless—mathematical talent does not appear to be linked to all-round intelligence. Previous research has indicated that "number sense" is    18   (base) to humans. We use it to estimate such things as    19   number of seats in a cinema or crowd sizes.

U.S. psychologists at Johns Hopkins University in Baltimore made their finding after testing children too young to have been taught mathematics. During the study, 200 four-year-olds   20  (study) in terms of number senses, calculation skills and vocabulary. The verbal test was done for the reason   21  language and maths abilities are thought to be   22  (close) linked through general intelligence.

"Unlike    23   previous studies proved, this one shows that the link   24  number sense and maths ability is already present before the beginning of formal maths instruction. One of the most important questions is whether we can train a child’s number sense   25  

(improve) his future maths ability."

单项选择题