问题 选择题

Kentucky is the state _____ Lincoln was born.[ ]

A. when        

B. where            

C. who

答案

答案:B

完形填空
完形填空。
     Mr. Black works in a hospital (医院). As a good __1__, the people in the town like him. He's
 often __2__ to the patients (病人) and looks them over carefully. __3__ he's always busy and has little
 time to rest. One morning Mr Black got to the hospital and saw there was a fat woman in the __4__. He
 called her into his office and asked, " __5_ , madam?"  "It was my birthday yesterday, sir", said the
 woman.  "My husband gave me a __6__. But I couldn't push my way in (挤进) it." " __7__, madam,"
 said Mr. Black, "You must lose some weight (减肥). You'll be able to __8__ your coat, if you do all that
 I say." "You're __9__, sir, " said the rich woman. " He bought me not a coat, but an expensive __10__."
( ) 1. A. doctor      
( ) 2. A. bad        
( ) 3. A. Or        
( ) 4. A. classroom      
( ) 5. A. How do you do
( ) 6. A. house        
( ) 7. A. It doesn’t matter
( ) 8. A. put        
( ) 9. A. right        
( ) 10. A . bike      
B. farmer          
B. fine            
B. But              
B. waiting r oom        
B. How are you          
B. coat            
B. It’s a pleasure    
B. wear            
B. wrong            
B. bus              
C. teacher          
C. cold            
C. So              
C. park            
C. What's the matter
C. shop            
C. I have no idea
C. buy            
C. easy            
C. car            
D. cleaner                
D. kind                    
D. Then                    
D. zoo                    
D. How old are you        
D. present                 
D. It’s my favourite  
D. wash                    
D. safe                    
D. truck                  
问答题

使用VC6打开考生文件夹下的工程test9_3,此工程包含一个源程序文件test9_3.cpp,其中定义了Circle类与Money类, Circle类可对半径为r的圆进行周长与面积的计算,而Money类用于计算一圆形游泳池的造价。游泳池四周有原形过道,过道外围上栅栏,过道宽度为3米,根据键入的游泳池半径,每米栅栏价格及每平方米过道价格,即可计算出游泳池的造价。请按要求完成下列操作,将程序补充完整。
(1)定义符号常量PI(值为3.14159f)与WIDTH(值为3.00f),分别用于表示圆周率与过道的固定宽度。请在注释“//**1**”之后添加适当的语句。
(2)定义Circle类默认构造函数,把私有成员radius初始化为参数r的值。请在注释 “//**2**” 后添加适当的语句。
(3)完成Money类默认构造函数的定义,把私有成员FencePrice(每米栅栏的价格)、ConcretePrice(每平方米过道的价格)初始化为参数f,c的值。请在注释“//**3**”之后添加适当的语句。
(4)完成Money类成员函数float Money::TotalMoney(float fencelen,float conarea)的定义,根据参数fencelen(栅栏的长度)和conarea(过道的面积),返回栅栏与过道的总造价。请在注释“//**4**”之后添加适当的语句。
注意:除在指定位置添加语句之外,请不要改动程序中的其他内容。
源程序文件test9_3.cpp清单如下:
#include<iostream.h>
//**1**
class Circle

private:
float radius;
public:
//**2**
float Circumference()return 2 * PI * radius;)
float Area()return PI * radius * radius;)
;
class Money

private:
float FencePrice;
float ConcretePrice;
public:
Money(float f,float c);
float TotalMoney(float fencelen, float conarea);
;
Money::Money(float f,float c)

//**3**

float Money::TotalMoney(float fencelen,float conarea)

//**4**
void main()

float radius,fence,concrete;
cout.setf(10s::fixed);
cout.setf(ios::showpoint);
cout.precision(2);
cout<<"Enter the radius of the pool:";
cin>>radius;
cout<< "Enter the FencePrice:";
cin>>fence;
cout<<"Enter the ConcretePrice:";
cin>>concrete;
Circle Pool(radius);
Circle PoolRim(radius + WIDTH);
Money mon(fence,concrete);
float totalmoney=mon.TotalMoney(PoolRim.Circumference(),(PoolRim.Area() - P00l.Area()));
cout<<"The total money is RMB"<<totalmoney<<endl;