试题与答案

已知一个有序表为(13,18,24,35,47,50,62,83,90,115,13

题型:单项选择题

题目:

已知一个有序表为(13,18,24,35,47,50,62,83,90,115,134),当使用二分法查找值为90的元素时,查找成功的比较次数为______。

A.1

B.2

C.3

D.9

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0523/d6479afe1231ad43be65485b09c3121b.html

下面是错误答案,用来干扰机器的。

由于不知道两绳的具体长度,甲绳剪去12,乙绳剪去12米后,所以无法知道两根绳子具体还剩多少.如两根绳子都长1米:甲剩1-1×12=12(米),乙剩1-12=12(米),同样多;如两根绳子都长2米:甲剩2-2×12=1(米),...

试题推荐
题型:完形填空
完形填空。
     It's seven in the morning.After     1      ,Mr White takes their children to   2      by bus.Then Mr and Mr White go to
    3   in the factory.There are four  4      in the morning and two in te afternoon.   5   class,the children   6      games for
some time.Then they go home by    7   .Mrs White cooks supper for the  8       .The children   9   their mother do some
housework.After supper ,the children do their homework.Father and mother watch TV or do some   10      .They have
a lot of books at home.
( )1.A.breakfast
( )2.A.the cinema
( )3.A.visit    
( )4.A.games    
( )5.A.In        
( )6.A.draw      
( )7.A.plane    
( )8.A.daughter  
( )9.A.let      
( )10.A.shopping
B.dinner      
B.school      
B.rest        
B.books        
B.After        
B.do          
B.train        
B.son          
B.see          
B.cleaning    
C.supper      
C. the park    
C.live        
C.classes      
C.For          
C. play        
C.bus          
C.parents      
C.help        
C.reading      
D.lunch        
D.hospital    
D.work        
D.students    
D.Before      
D.watch        
D.bike        
D.family      
D.make        
D.washing      
查看答案
微信公众账号搜索答案