问题 单项选择题

下列数据类型转换,必须进行强制类型转换的是 ( )
A) byte→int B) short→long C) float→double D) int→char

答案

参考答案:D

解析: 在数据运算时遵循的自动转换规则为:byte→short→int→long→float double和char→int。如果没有遵循这个规则,就要进行强制类型转换,本题中选项D不遵循,则要进行强制类型转换。

完形填空
完形填空。
     One day, an old friend of mine asked me, "What __1__  you do if you went to a __2__country and
 have serious culture shock?" I thought for a while.  The following was my opinion.
     Every country has its unique culture. This is __3__ different countries have different races of people,
 are situated in different geographical locations and have different religions.  This all contributes to the
 countries' own culture. Yet because the cultures are so different __4__ each other, there are times when
 foreigners are not accustomed to the culture and customs of the courty they're __5__,  Some people
 might even find the culture totally unacceptable. If I was going overseas, I wouldmake sure to do some
 __6__ about the country I was visiting, and learn a bit about its __7__, just so I know what to expect of
  for any reason I was not prepared and got a huge __8__ after the arriving in the country, these are some
  of the things I could do. I could try __9__ the history and reason __10__ this strange culture, and try to
 respect and accept it.  By doing this I am standing from the local people spoint of view, there fore it will
 be easier to accept their strange ways.
( ) 1.  A. would        
( ) 2.  A. beautiful    
( ) 3.  A. that        
( ) 4.  A. from        
( ) 5.  A. annoying    
( ) 6.  A. shopping    
( ) 7.  A. story        
( ) 8.  A. shock        
( ) 9.  A. to find      
( ) 10. A. beliind      
B. could        
B. large        
B. because      
B. with        
B. moving      
B. things      
B. duty        
B. c:hallenge  
B. finding      
B. in          
C. should            
C. great            
C. though            
C. between          
C. visiting          
C. research          
C. influence        
C. realization      
C. to understand    
C. under            
D. might              
D. strange            
D. when              
D. to                
D. looking for        
D. experience        
D. culture            
D. matter            
D. understanding     
D. over              
多项选择题