问题 填空题

已知序列17,18,60,40,7,32,73,65,85,采用冒泡排序法对该序列作降序排序时,第4趟的结果是 【1】

答案

参考答案:60,40,73,65,85,32,18,17,7

解析: 冒泡排序法的算法是从最下面的记录开始,对每两个相邻的关键字进行比较,且使关键字较小的记录换至关键字较大的记录之前,使得经过一趟冒泡排序后,关键字最小的记录达到最上端。接着,再在剩下的记录中找关键字最小的记录,并把它换在第二个位置上。依此类推,一直到所有记录都有序为止。根据这种思想,每趟的排序结果如下:
第一趟18,60,40,17,32,73,65,85,7 第二趟60,40,18,32,73,65,85,17,7
第三趟60,40,32,73,65,85,18,17,7 第四趟60,40,73,65,85,32,18,17,7
第五趟60,73,65,85,40,32,18,17,7 第六趟73,65,85,60,40,32,18,17,7
第七趟73,85,65,60,40,32,18,17,7 第八趟85,73,65,60,40,32,18,17,7

完形填空
完形填空。
     I will never forget the days when I camped with my classmates last summer.
     Early in the morning after saying goodbye to our  1 , we got on the buses. More than two hours later,
we  2  the campground. 
     For us, it was the first time away from Mum and Dad. Some started to fell homesick (想家的) even
before dark.  3  as the night party and dances began, the homesickness was gone.
     The next day, everyone rushed to the  4  class, At first, my friend and I worked  5 , but the boat wouldn't
listen to us and kept going round and round (转个不停).T hen the boating teacher taught us  6   to work
together. After many tries, we did better.
      Swimming was my favorite class. It was about one O'clock, the  7  time of a day and the best time to
stay in the cool water, The swimming teacher was an interesting man.During class he often made us  8  
happily.
     A week  9 . During the week I made many new friends and  10  learned to take care of myself without
parents around me.
( )1. A. children
( )2. A. got     
( )3. A. And     
( )4. A. singing 
( )5. A. well     
( )6. A. how     
( )7. A. coldest 
( )8. A. smile   
( )9. A. pass     
( )10. A. also   
B. parents 
B. arrived 
B. But     
B. swimming
B. badly   
B. when    
B. shortest
B. laugh   
B. passes  
B. still   
C. classmates
C. reached   
C. So     
C. dancing   
C. hard    
C. why      
C. longest  
C. cry        
C. past     
C. ever    
D. friends 
D. came    
D. If      
D. boating 
D. easily  
D. where   
D. hottest 
D. shout                            
D. passed  
D. just    
写作题
Writing
       6月1日,张丽莉老师班级的学生组织召开了,会后由你(张佳岩)代表班委会给老师发一封E-mail。询问她的身体状况,表达感激与思念,并告诉她同学们一定会努力学习,同时祝她早日康复。要求:字数30-50词。
Dear Ms Zhang,
How are you                                                                                                                                         
                                                                                                                                                            
                                                                                                                                                           

                                                                                                                                             Yours,
                                                                                                                                          Zhang Jiayan