填空题

采用顺序查找方法查找长度为n的线性表,平均查找长度为 【3】 。

【参考答案】

(n+)/2
<上一题 目录 下一题>
热门 试题

填空题
有64个结点的完全二叉树的深度为 【2】 (根的层次为1)。
单项选择题
有如下一个Sub过程: Sub mlt (ParamArray numbers()) n=1 For Each x In numbers n=n * x Next x Print n End Sub在一个事件过程中如下调用该Sub过程: Private Sub Coinmand1_Click() Dim a As Integer Dim b As Integer Dim c As Integer Dim d As Integer a=1 b=2 c=3 d=4 mlt a,b,c,d End Sub 则运行该程序,结果为______。
A.12
B.24
C.36
D.48
相关试题
  • 在C盘当前文件夹下建立一个名为StuData.tx...
  • 有如下Sub过程: Sub ind(a As Intege...
  • 窗体中有两个命令按钮:“显示”(控件名为...
  • 以下程序代码实现单击命令按钮Command1时...
  • VB中的控件分为内部控件、ActiveX控件和 ...