执行下列程序: CLEAR DO A RETURN PROCEDURE A PRIVATE S S=5 DO B ?S RETURN PROCEDURE B S=S+10 RETURN 程序的运行结果为

A.5

B.10

C.15

D.程序错误,找不到变量

查看答案

相关问题推荐

  • 开发软件所需高成本和产品的低质量之间有着尖锐的矛盾,这种现象称为
    A.软件投机B.软件危机C.软件工程D.软件产生

    查看答案
  • 下面运行程序后,单击命令按钮,输出出的结果是【 】。

    Private Sub Command1_Click( )

    Dim a% (1 To 5) ,i%, s

    For i = 1 To 5

    a(i) =i

    Next

    s = Fun(a)

    Print"s="; s;

    End Sub

    Function Fun(a() As Integer)

    Dim t, i%

    t=1

    For i = LBound(A0To UBound(a)

    t=t * a(i)

    Next

    Fun =t

    End Function

    查看答案
  • 在窗体画一个命令按钮,然后编写如下过程:

    Function fun(ByVal num As Long)As Lone

    Dim k As Long

    k=1

    num=Abs (num)

    Do While num

    k=k*(num Mod 10)

    num=num\10

    Loop

    fun=k

    End Function

    Private Sub Command1_Click()

    Dim n As Long

    Dim r As Long

    n= InputBox (“请输入一个数”)

    n=CLng (n)

    r=fun (n)

    Print r

    End Sub

    程序运行后,单击命令按钮,在输入对话框中输入234,输出结果为【 】。

    查看答案
  • Access提供了两种字段数据类型保存文本和数字组合的数据,这两种类型是:文本和【】。

    查看答案
  • 执行下面的程序,消息框里显示的结果是 【 】 。

    Private Sub Form_Click()

    Dim Str As String, K As Integer

    Str="ab"

    For k=Len(Str) TO 1 Step-1

    Str=Str & Chr(Asc(Mid(Str,k,1))+k)

    Next k

    MsgBox Str

    End Sub

    查看答案
  • 技术改造应遵循的原则有()。
    A.
    以内涵为主扩大再生产
    B.
    把提高企业经济效益和社会效益结合起来
    C.
    把技术先进性、生产适用性、经济合理性结合起来
    D.
    要依据科技进步定期进行
    查看答案
  • 9,26,51,124,173,( )

    A216B294C295D316
    查看答案
  • Effective tough survive wrap foremost refrain obtain distinguish existence available

    1 The theory supposes the ( ) of life on other planets .

    2 Would you please ( ) the toys up separately ?

    3 He built up a reputation as a ( ) businessman .

    4 There is no ( ) treatment of this disease .

    5 some rooms are ( ) to the doctors who are at the virus - control front line .

    6 The salesman finally managed to ( ) a copy of the report .

    7 It is hard to ( ) one twin from the other .

    8 Many companies managed to ( ) the pandemic .

    9 We have ( ) from going outside during the pandemic .

    10 This is first and ( ) a trade agreement.
    查看答案
  • 古典管理理论不相信管理是有规律可循的他们更相信个人经验
    查看答案
  • “战场”和“战士”这两个概念是()

    A.属种关系

    B.交叉关系

    C.全异关系
    查看答案