问题 阅读理解

Thomas Alva Edison (爱迪生)was awarded more patents(专利) on inventions than any other American. When he died in 1931, Americans wondered how they could best show their respect for him. One suggestion was that the nation observe a minute or two of total blackout(关闭,中断). All electric power(电源) would be shut off in homes, streets, and factories. Perhaps his suggested plan made Americans realize fully what Edison and his inventions mean to them. Electric power was too important to the country. Shutting it off for even a short time would have led to complete confusion(混乱). A blackout was out of the question.

On the day of Edison’s funeral (葬礼),many people silently dimmed(使暗淡) their lights. In this way they honoured the man who had done more than anyone else to the great force of electrity

小题1: This says that Thomas Edison __________.

A.was the only important American inventor

B.received the first American patent

C.received more patents than any other American

D.was the first American inventor小题2: People decided to honor Edison when ________.

A.he made the first electric light

B.electric power was 100 years

C.the country realized electricity’s importance

D.he died in 1931小题3: The suggested plan was to _________.

A.turn off the lights in factories

B.observe a few minutes of total silence

C.dim all electric lights

D.shut off all electricity for a short time小题4: The plan was never carried out because________.

A.not everyone wanted to honor Edison

B.it was too difficult

C.electric power was too important to the country

D.it honored only one of Edison’s inventions

答案

小题1:C

小题2:D

小题3:D

小题4:C

题目分析:这篇文章主要讲了美国人纪念爱迪生去世的方法——关灯一会。人们建议关灯一会,以纪念爱迪生。

小题1:C细节题。根据文章第一行Thomas Alva Edison was awarded more patents on inventions than any other American说明爱迪生的发明专利比任何一个美国人都多,故C正确。

小题2:D 细节题。根据文章第二行When he died in 1931, Americans wondered how they could best show their respect for him.说明D正确。

小题3:D 细节题。根据文章3,4行One suggestion was that the nation observe a minute or two of total blackout. All electric power would be shut off in homes, streets, and factories.说明人们建议关灯一会,以纪念爱迪生。

小题4:细节题:根据Electric power was too important to the country. Shutting it off for even a short time would have led to complete confusion(混乱).可知这项计划从来没有被执行是因为电能对这个国家太重要了,故选C。

填空题
填空题

阅读以下说明和C++代码,填充代码中的空缺。
[说明]
下面的程序用来计算并寻找平面坐标系中给定点中最近的点对(若存在多对,则输出其中的一对即可)。程序运行时,先输入点的个数和一组互异的点的坐标,通过计算每对点之间的距离,从而确定出距离最近的点对。例如,在图所示的8个点中,点(1,1)与(2,0.5)是间距最近的点对。


[C++代码]
#include <iostream>
#inc lude <cmath>
using namespace std;
class GPoint
private:
double x,y;
public:
void setX(double x)this->x=x;
void setY(double Y)this->y=Y;
double getX()return this->x;
double getY()return this->y;
;
class ComputeDistance
public:
double distance(GPoint a,GPoint b)
return sqrt((a.getX()-b.getX())*(a.getX()-b.getx())+(a.getY()-b.getY())*(a.getY()-b.getY()));

;
int main()

int i,j, numberofP0ints=0;
cout<<"输入点的个数:";
cin>>numberOfPOints;
______ points=new GPoint[numberOfPoints];//创建保存点坐标的数组
memset(points,0,sizeof(points));
cout<<"输入"<<numberOfPoints<<"个点的坐标:";
for(i=0;i<numberOfPoints;i++)
double tmpx,tmpy;
Cin>>tmpx>>tmpy;
points[i].setX(tmpx);
points[i].setY(tmpy);

______ computeDistance=new ComputeDistance();
int p1=0,p2=1;//p1和p2用于表示距离最近的点对在数组中的下标
double shortestDistance=computeDistance->distance(points[p1],points[p2]);
//计算每一对点之间的距离
for(i=0;i<numberOfPoints;i++)
for(j=i+1;j<______;j++)
double tmpDistance=computeDistance->______;
if(______)
p1=i;p2=j;
shortestDiStance=tmpDistance;



cout<<"距离最近的点对是:(";
cout"points[p1].getX()<<", ”<<points[p1].getY()<<")和(";
cout<<points[p2].getX()<<","<<points[p2].getY()<<")"<<endl;
delete computeDiStance;
return 0;