i = 1: j = 1000: flag = True: p = 0
key = Val(Text1.Text)
Do While i <= j And flag
m = (i + j) \2
p = p + 1
If a(m) = key Then flag = False
If a(m) > key Then j = m -1 Else i = m + 1
Loop
数组元素a(1)到a(1000)中存放着升序排列的数据。下列说法正确的是( )