问题 完形填空
完形填空。
     Accidents can happen indoors. Many young children get   1   when playing in their homes.   2   do these
accidents happen?
     A housewife is a   3   person. She has to do most of the work in the home. Sometimes she is   4  . She puts
a pot of hot water on a table. A little child can reach it. When she goes out of the room, the child reaches up and
  5   the pot. The hot water spills over him and hurts him. Then the child must   6   to hospital at once.
     Many other accidents happen. Kerosene heaters (加热器) are sometimes   7   by children playing in the
home. The kerosene spills out of the heater and burns. Soon the whole room is burning.
     All things that can cut are dangerous. Sharp knives and scissors should   8   out of reach of children. Small
children should not be allowed to   9   them.
     Electricity is always dangerous. Electricity can be used for heating and cooking, but it can also kill us! You
should never touch any electric heaters or wire if it  10  . Medicine makes us  11  or kill us! Sometimes
grown-up people are  12  . They leave medicine in places where children can reach it. They find it and eat it.
Then they get very ill. Perhaps they die.
     The skins of bananas, oranges and other  13   are very slippery (滑的). You  14   throw them on the ground.
If you do, someone may step on them and fall down. They may break a leg or an arm.
     To stop accidents, please be  15   in everything you do.
( ) 1. A. hit         
(     ) 2. A. Why         
( ) 3. A. free        
(     ) 4. A. interesting 
(     ) 5. A. pushes down 
(     ) 6. A. be fetched  
(     ) 7. A. crossed out 
(     ) 8. A. be put away     
(     ) 9. A. reach       
(     ) 10. A. is turned up
(     ) 11. A. better      
( ) 12. A. careful     
(     ) 13. A. people      
(     ) 14. A. should not  
(     ) 15. A. careless    
B. hurt            
B. What            
B. strict        
B. busy            
B. takes           
B. be put          
B. knocked over    
B. put             
B. play          
B. is turned over      
B. well            
B. busy            
B. accidents     
B. don't          
B. careful       
C. stolen      
C. How         
C. busy          
C. careful     
C. asks for    
C. be brought    
C. turned on     
C. take away     
C. play with     
C. is turned on        
C. worse       
C. careless      
C. things        
C. needn't     
C. kind        
D. crying           
D. How often        
D. careless         
D. careless         
D. carries          
D. be taken         
D. turned off       
D. be used          
D. hurt             
D. is turned down   
D. happy            
D. interesting      
D. fruit             
D. may not        
D. interested     
答案

1-5: BCCDA    6-10: DBACC    11-15: BCDAB

单项选择题
填空题

阅读下列说明和C++代码,填充代码中的空缺,将解答填入答题纸的对应栏内。

【说明】

某学校在学生毕业时要求对其成绩进行综合评定,学生的综合成绩(GPA)由其课程加权平均成绩(Wg)与附加分(Ag)构成,即GPA=Wg+Ag。

设一个学生共修了n门课程,则其加权平均成绩(Wg)定义如下:

其中,gradei、Ci分别表示该学生第i门课程的百分制成绩及学分。

学生可以通过参加社会活动或学科竞赛获得附加分(Ag)。学生参加社会活动所得的活动分(Apoints)是直接给出的,而竞赛分(Awards)则由下式计算(一个学生最多可参加m项学科竞赛):

其中,li和Si分别表示学生所参加学科竞赛的级别和成绩。

对于社会活动和学科竞赛都不参加的学生,其附加分按活动分为0计算。

下面的程序实现计算学生综合成绩的功能,每个学生的基本信息由抽象类Student描述,包括学号(stuNo)、姓名(name)、课程成绩学分(grades)和综合成绩(GPA)等,参加社会活动的学生由类ActStudent描述,其活动分由Apoints表示,参加学科竞赛的学生由类CmpStudent描述,其各项竞赛的成绩信息由awards表示。

【C++代码】

#include

#include

using namespace std;

const int n=5; /*课程数*/

const int m=2; /*竞赛项目数*/

class Student{

protected:

int stuNo;string name;

double GPA; /*综合成绩*/

int(*grades)[2]; /*各门课程成绩和学分*/

public:

Student(const int stuNo,const string&name,int grades[][2]){

this->stuNo=stuNo;this->name=name;this->grades=grades;

}

Virtual~Student(){}

int getstuNo(){/*实现略*/}

string getName(){/*实现略*/}

____(1)____;

double computeWg(){

int totalGrades=0,totalCredits=0:

for(int i=0;i<N;i++){

totalGrades+=grades[i][0]*grades[i][1];totalGredits+=grades[i][1];

}

return GPA=(double)totalGrades/totalCredits;

}

};

class ActStudent;public Student{

int Apoints;

public;

ActStudent(const int stuNo,const string&name,int gs[][2],int Apoints)

:____(2)____{

this->Apoints=Apoints:

}

double getGPA(){return GPA=____(3)____;}

};

class CmpStudent:public Student{

private:

int(*awards)[2];

public:

cmpstudent(const int stuNo,const string&name,int gs[][2],int awards[][2])

:____(4)____{ this->award=award;}

double getGPA()f

int Awards=0;

for(int i=0;i<M;i++){

Awards+=awards[i][0]*awards[i][1]:

}

Return GPA=____(5)____;

}

};

int main()

{ //以计算3个学生的综合成绩为例进行测试

int g1[][2]={{80,3},{90,2},{95,3},{85,4},{86,3}},

g2[][2]={{60,3},{60,2),{60,3},{60,4},{65,3}},

g3[][2]={{80,3},(90,2},{70,3},{65,4},{75,3}}; //课程成绩

int c3[][2]={{2,3},{3,3)}; //竞赛成绩

Student*student[3]={

new ActStudent(101,”John”,g1,3), //3为活动分

new ActStudent(102,”Zhang”,g2,0),

new ActStudent(103,”Li”,g3,c3),

};

//输出每个学生的综合成绩

for(int i=0;i<3;i++)

cout<<____(6)____<<end1;

delete*student;

return 0;

}