久久京东热成人精品视频,伊人久久综合,国产一区二区精品自拍,在线精品国精品国产3d

<menu id="e206k"></menu>
<center id="e206k"></center>
  • <menu id="e206k"></menu>
    <center id="e206k"></center>
  • <menu id="e206k"><noscript id="e206k"></noscript></menu>
    當前位置: 高中信息技術(shù) / 單選題
    • 1. (2020高二上·諸暨期末) 數(shù)組a為一組已按降序排序的正整數(shù),依據(jù)對分查找思想:設(shè)計一個在數(shù)組a中查找數(shù)據(jù)Key的程序。實現(xiàn)該功能的VB程序段如下:

      Dim a(1 To 6) As Integer

      Const n = 6

      a(1) = 98: a(2) = 96: a(3) = 95

      a(4) = 90: a(5) = 87: a(6) = 81

      i = 1: j = n

      Key = Val(Text1.Text)

      f = False

      Do While  And f = False

          m = (i + j) \ 2

          If a(m) = Key Then

              Text1.Text = "已找到": f = True

          ElseIf a(m) > Key Then

             

          Else

             

          End If

      Loop

      上述程序中方框處語句依次為(    )

      A . i <= j   i = m + 1      j = m - 1 B . i <= j     j = m - 1       i = m + 1 C . i < j            j = m - 1       i = m + 1 D . i < j            i = m + 1      j = m - 1

    微信掃碼預覽、分享更方便