A、slice
B、percent
C、rate
D、proportion
第1题:
A、highly/ highly
B、highly/ high
C、high/ highly
D、high/ high
第2题:
Young ______ he is, he handles things skillfully.
A、if
B、though
C、while
D、as
第3题:
二分查找算法中,待查元素找不到时需要满足的条件是()。
A.low<=high为假
B.low<=high为真
C.low=high为真
D.low<high为真
第4题:
A.high...thinner
B.higher...thin
C.high...thin
D.higher...thinner
第5题:
第6题:
下面进行二分搜索的正确代码是
A.def BSearch(data,x): low=0 high=len(data)-1 while(low<=high): mid=(low+high)//2 if(data[mid]==x): return mid elif(data[mid]<x): high=mid-1 else: low=mid+1 return -1#B.def BSearch(data,x): low=0 high=len(data)-1 while(low<=high): mid=(low+high)//2 if(data[mid]==x): break elif(data[mid]<x): low=mid+1 else: high=mid-1 return -1#C.def BSearch(data,x): low=0 high=len(data)-1 mid=(low+high)//2 while(low<=high): if(data[