问题 单项选择题

对长度为n的线性表进行顺序查找,在最坏情况下需要比较的次数为( )。

A.125

B.n/2

C.n

D.n+1

答案

参考答案:C

解析: 对线性表进行顺序查找时,从表中的第一个元素开始,将给定的值与表中逐个元素的关键字进行比较,直到两者相符,查找到所要找的元素为止。在最坏情况下,要查找的元素是表的最后一个元素或查找失败,这两种情况都需要将这个元素与表中的所有元素进行比较,因此比较次数为n。

阅读理解

阅读表达。

阅读下面短文并回答问题,然后将答案写到答题卡相应的位置上(请注意问题后的词数要求)。

 [l]Internet use appears to cause a decline in psychological well-being, according to research at

Carnegie Mellon University.

   [2] Even people who spent just a few hours a week on the Internet experienced more depression and

loneliness than  those who logged on

less frequently, the two-year study showed. And it wasn't that people who were already feeling bad spent more time on the Internet, but that using the Internet actually appeared to cause the bad feelings.

    [3]Researchers are puzzling over the results, which were       .They expected that the Internet would

prove socially healthier than television, since the Internet allows users to choose their information and to

communicate with others freely.

    [4]The fact that Internet use reduces time available for family and friends may account for the drop in

well-being. Faceless, bodiless "virtual" communication may be less psychologically satisfying than actual

conversation, and the relationships formed through it may be shallower. Another possibility is that

exposure to the wider world via the Internet makes users less satisfied with their lives.

    [5] "But it's important to remember this is not about the technology, it's about how it is used," says

psychologist Christine Riley of Intel, one of the study's sponsors. "In really points to the need for

considering social factors in terms of how you design applications and servises for technology."

1.What's the main idea of the text?(no more than 10 words)

______________________________________________________________________________

2.What is the meaning of the underlined phrase "logged on"in Paragraph 2?(no more than 3 words)

______________________________________________________________________________

3. Fill in the blank in Paragraph 3 with proper words.(no more than 5 words)

______________________________________________________________________________

4. Complete the following statement with words from Paragraph 4.(2 words)

    Experiencing the          online may cause Internet users to feel their real lives unsatisfactory.

5. Translate the underlined sentence in Paragraph 5 into Chinese.

_______________________________________________________________________________

单项选择题