题目

已知一无序数组a中的元素为“90,15,40,72,65,32,81,6”,通过引入数组b存储数组a元素按升序排列时的下标,b数组元素为“8,2,4,6,5,3,7,1”,使得a(b(1)≤a(b(2))≤a(b(3))≤......≤a(b(n)),从而对a数组中的数据进行对分查找。部分程序如下: i=1: j=8: c=0 key= Val(Textl. Text) Do While i<=jm=Int((i+j)/2)t=b(m)c=c+1If a(t)=key Then p=t:Exit DoIf a(t)<key Then i=m+1Else j=m-1End If Loop 当文本框 Text1中输入的值为32时,程序运行结束后变量c的值为( ) A . 1 B . 2 C . 3 D .A weather map is an important tool for geographers. A succession of three or four maps presents a continuous picture of weather changes. Weather forecasters are able to determine the speed of air masses and fronts. They are also able to determine whether an air mass is retaining its original characteristics or taking on those of the surface over which it is moving. Thus, a most significant function of the map is to reveal an synoptic picture(气象图) of conditions in the atmosphere at a given time.? All students of geography should to interpret a weather map accurately. Weather maps contain an enormous amount of information about weather conditions existing at the time of observation over a large geographical area. They reveal in a few minutes what otherwise would take hours to describe. The United States Weather Bureau issues information about approaching storms, floods, frosts, droughts and all climate conditions in general. Twice a month it issues a 30-day “outlook” which is a rough guide to weather conditions likely to occur over broad areas of the United States. These outlooks are based on an analysis of the upper air levels.? With the use of electronic instruments and satellites, enormous gains have taken place recently in identifying and tracking storms over regions which have but few meteorological stations(气象站).Experiments are also in progress for weather modification studies, although few successful results such as artificial rainmaking have been achieved so far.? Which is not mentioned in this passage in the following about one characteristic of weather? A. Fronts.       B. Temperature change. C. Wind speed.      D. Frost.? The observation of weather conditions by satellites is advantageous because _______. A. it is modern and sophisticated? B. it used electronic instruments? C. it enables man to alter the weather? D. it gives the scientists information not obtained readily otherwise? The word “interpret” in Paragraph 2 most probably means _______ A. explain      B. present       C. modify       D. illustrate
信息技术 试题推荐