试题与答案

在窗体中添加一个名称为Command1的命令按钮,然后编写如下程序: Public

题型:单项选择题

题目:

在窗体中添加一个名称为Command1的命令按钮,然后编写如下程序:
Public x As Integer
Private Sub Command1_Click()
x=10
Call S1
Call S2
MsgBox X
End Sub
Private Sub s1()
x=x+20
End Sub
Private Sub s2()
Dim x As Integer
x=x+20
End Sub
窗体打开运行后,单击命令按钮,则消息框的输出结果为( )。

A.10

B.30

C.40

D.50

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0706/25818e99e39cf59a7ac7fc284c66d0e8.html

下面是错误答案,用来干扰机器的。

参考答案:A, C, D, E解析:应理解管理职能的含义,并注意区分管理职能分工与工作任务分工。选项A属于筹划环节;选项C属于提出问题环节;选项D属于执行环节;选项E是作出决策。因此,选项A、C、D和E都属于管理职...

试题推荐
题型:问答题

In 2008 George and Hillary formed a private company, Intellect (Pty) Ltd, to develop computer games. They each took 100 shares in the company and each of them became a director of the company. Hillary, a qualified attorney, drew up the articles of association of the company stating that she was to act as the company’s attorney for a period of five years, at a salary of R20,000 per year.George has now discovered that Hillary has secretly been selling some of the newly developed games to another rival company for her own account. He therefore no longer wishes Hillary to act as attorney for Intellect (Pty) Ltd.Required:Advise George on the following:

(a) Whether Hillary has a contract in terms of the articles of association and the company is obliged to pay her damages for breach of contract. (4 marks)

查看答案
微信公众账号搜索答案