问题 单项选择题

尔排序属于( )。

A.交换排序

B.归并排序

C.选择排序

D.插入排序

答案

参考答案:D

解析:希尔排序的基本思想是把记录按下标的一定增量分组,对每组记录使用插入排序,随增量的逐渐减小,所分成的组包含的记录越来越多,到增量的值减小到1时,整个数据合成一组,构成一组有序记录,故其属于插入排序方法。

阅读理解

阅读理解。

                                                             Just a Little Smile

     Mark was walking home from school one day when he saw the boy in front of him fall over and drop

all of the books he was carrying, along with two sweaters, a basketball and a walkman (随身听). Mark

stopped and helped the boy pick up (捡起) these things. Since they were going the same way, he helped

to carry some of his things. As they walked, Mark knew that the boy's name was Bill, that he loved

computer games, basketball and history, and that he was having lots of troubles with his other subjects

and that he had just broken up with his girlfriend.

    They arrived at Bill's home first and Mark was invited in for a Coke and to watch some television. The

afternoon passed happily with a few laughs and some small talk, then Mark went home. They often saw

each other at school, had lunch together once or twice, and then they both finished middle school. They

ended up in the same high school where they sometimes saw and talked with each other over the years.

At last just three weeks before they finished high school, Bill asked Mark if they could talk.

     Bill asked Mark if he still remembered the day years ago when they had first met. "Did you ever think

why I was carrying so many things home that day?" asked Bill. "You see, I cleaned out my locker (锁柜)

because I didn't want to leave anything for anyone else. I had put away some of my mother's sleeping pills

and I was going home to kill myself. But after we spent some time together talking and laughing, I began

to understand that if I killed myself, I would have missed (错过) that time and so many others that might

follow. So you see, Mark, when you picked up those books that day, you did a lot more. You saved

my life."

1. When Mark met him the first time, Bill was going ___. [ ]

A. to have a basketball game

B. to his classroom

C. to see Mark

D. back home

2. From what Bill was carrying, we can know that he ____.  [ ]

A. was a good student

B. liked sports and music

C. liked all the subjects in school

D. was a good friend

3. Mark and Bill ____. [ ]

A. were in the same middle school and high school

B. were in the same middle school but not in the same high school

C. often had lunch together at school

D. had known each other before they began to study in middle school

4. In this passage, the phrase "break up" means "____". [ ]

A. 相处很好

B. 和好如初

C. 关系破裂

D. 保持联系

5. When Mark helped Bill to pick up some of his things, he ____. [ ]

A. knew he could save Bill's life

B. knew who Bill was and wanted to help him

C. didn't know why he was going to help him

D. didn't know what he was doing was very important to Bill

单项选择题