问题 填空题

以下程序的结果为【 】。   #include”iostream.h”   template<typename T >   T total(T * data)   {    T s=0;    while( * data)    {     s+= * data ++;    }   return s;   }   int main( )   { int x[ ]= { 2,4,6,8,0,12,14,16,18 };    cout < < total(x);    return 0;    cout < < end1;=

答案

参考答案:T

解析:本题考查模板函数的运用。要理解 * data的含意。

阅读理解

阅读理解。

     Like school in China, American schools begin in September (九月) after a long summer holiday. There

  are two terms in a school year. The first term is from September to January and the second is from

 February (二月) to the start of June (六月). Usually American children begin to go to school when they

 are five years old. Most students are seventeen or eighteen years old when they finish high school.

     But unlike middle school students in China, high school students in America take only four or five

 subjects each term. They usually go to the same classes every day and have homework for every class.

 After class they do all kinds of interesting things.

     After high school, many students go to college. They may go to a small or a large one. They usually

 have to pay a lot for their higer education. So lots of students after school to make money for their studies.

1. In America, summer holiday lasts (持续) _____.

    A. one month   

    B. two months   

    C. three months    

    D. more than three months

2. Students only stay at school for about _____ years before they go to college.

    A. five    

    B. six      

    C. twelve    

    D. fourteen

3. The word "college" means "_____" in Chinese.

    A. 大学  

    B. 公司    

    C. 研究院    

    D. 工厂

4. Many American students work after class, because they _____.

    A. want to see interesting things    

    B. have to help the other people

    C. want to make more friends      

    D. have to get money for their studies

5. The passage is mainly (主要地) about _____.

    A. the differences between schools in China and in America   

    B. schools in China

    C. schools in America      

    D. American students' school life.

单项选择题

全球现有活火山600多座,其活动程度可分为喷溢、喷发、爆发3个等级。火山爆发是极强烈的火山活动,范围更大的火山爆发则会给地球环境及生物造成大灾害。

火山爆发除了直接灾害外,还可能引起区域性、全球性气候异常,带来其他自然灾害。1991年我国华东地区出现了百年不遇的特大洪水,专家们分析后认为:菲律宾皮纳图博火山大爆发引起了亚洲广大地区天气异常,这可能是洪水爆发的主要原因之一。另据美国地质学家兰皮诺和考古学家安布罗斯考证,现印尼苏门答腊岛上的多巴火山,在7.1万年前曾有过一次极其强烈的爆发。那次火山爆发向大气层喷出了800立方千米的火山灰,使北半球1/3地区持续几个星期笼罩在黑暗之中;然后是长达6年的冬季效应,北半球可能是 3/4的植物死亡;再后是长达千年的冰期,5万到7万年前的人口以及物种遗传变化的急剧减少,有可能是多巴火山大爆发造成的,不过,专家们又认为:像多巴火山这样强烈的爆发事件,在21世纪发生的可能性只有1/10000000,故此我们毋须过多担忧。

1999年4月,美国《科学》杂志报道,加利福尼亚大学伯克利分校的伦尼等研究人员,通过对美国新泽西州到西非的环大西洋火山岩的研究,提出了“火山爆发形成大西洋”的假说。他们认为:两亿年前,地球上曾发生过一次迄今为止最强烈的火山爆发,从而使位于现在大西洋位置的原始大陆(古代大陆)分裂为几个大洲,并形成大西洋。他们估计:这次火山爆发产生了巨大的熔岩流,其覆盖面积达700万平方千米,持续时间长达几百万年。这次火山爆发时间正好与三叠纪和侏罗纪的衔接相吻合,大约50%的海洋物种和一些爬行动物都遭到灭顶之灾,从而为后来恐龙的出现和兴盛创造了条件。不过,这一假说尚未得到证实。

本文主要内容概括得正确的一项是()。

A.火山爆发的研究有了新的突破

B.人类历史上曾经有过两次大的火山爆发

C.火山爆发对地球有着严重的影响

D.21世纪发生火山爆发的可能性很小