题目内容

在窗体上画一个名称为Command1的命令按钮,然后编写如下程序: Public Enum S a=4 b=3 End Enum Private Sub Command1 Click() Dim x As Integer x=a If x>=3 Then MsgBox"Pass!" End Sub 运行程序,其结果是( )。

A. 运行错误.因为Enum定义有错
B. 运行错误.因为x=a类型不匹配
C. 运行正常结束,不显示任何信息
D. 运行正常.显示内容为“Pass!”的信息框

查看答案
更多问题

下列叙述中错误的是( )。

A. 在程序运行时,通用对话框控件是不可见的
B. 调用同一个通用对话框控件的不同方法(如ShowOpen或ShowSave),可以打开不同的对话框窗口
C. 调用通用对话框控件的Showopen方法,能够直接打开在该通用对话框中指定的文件
D. 调用通用对话框控件的ShowColor方法,可以打开颜色对话框窗口

Long after the 1998 World Cup was won, disappointed fans were still cursing the disputed refereeing(裁判)decisions that denied victory, to their team. A researcher was appointed to study the performance of some top referees.The researcher organized an experimental tournament (锦标赛) involving four youth teams. Each match lasted an hour, divided into three periods of 20 minutes during which different referees were in charge.Observers noted down the referees’ errors, of which there were 61 over the tournament. Converted to a standard match of 90 minutes, each referee made almost 23 mistakes, a remarkably high number.The researcher then studied the videotapes to analyse the matches in detail. Surprisingly, he found that errors were more likely when the referees were close to the incident. When the officials got it right, they were, on average, 17 meters away from the action. The average distance in the case of errors was 12 meters. The research shows the optimum(最佳的)distance is about 20 meters.There also seemed to be an optimum speed. Correct decisions came when the referees were moving at a speed of about 2 meters per second. The average speed for errors was 4 meters per second.If FIFA, football’s international ruling body, wants to improve the standard of refereeing at the next World Cup, it should encourage referees to keep their eyes on the action from a distance, rather than rushing to keep up with the ball, the researcher argues.He also says that FIFA’s insistence that referees should retire at age 45 may be misguided. If keeping up with the action is not so important, their physical condition is less critical. It can be concluded from the experiment that ().

A. the ideal retirement age for all experienced football referee is 45
B. age should not be the chief consideration in choosing a football referee
C. a football referee should be as young and energetic as possible
D. an experienced football referee call do well even when in poor physical condition

在窗体上画一个命令按钮(名称为Command1),并编写下列代码: Function Fun1(ByVa1 a As Integer,b As Integer)As Integer Dim t As Integer t=a-b b=t+a Fun1=t+b End Function Private Sub Command1Click() Dim X As Integer x=10 Print Fun1(Vun1(X,(Fun1(x,x-1))),x-1) End Sub 程序运行后,单击命令按钮,输出结果是( )。

A. 10
B. 0
C. 11
D. 21

软件按功能可以分为:应用软件、系统软件和支撑软件(或工具软件)。下列属于应用软件的是( )。

A. 编译程序
B. 操作系统
C. 教务管理系统
D. 汇编程序

答案查题题库