问题 填空题

在两种基本测试方法中, 【2】 测试的原则之一是保证所测模块中每一个独立路径至少要执行一次。

答案

参考答案:白盒或白箱或白盒子或White Box

解析: 本题考查软件工程的测试。测试一般有两种方法:黑盒测试和白盒测试。黑盒测试不考虑程序的内部逻辑结构和处理过程,只着眼于程序的外部特性。用黑盒测试来发现程序中的错误,必须用所有可能的输入数据来检查程序能否都能产生正确的输出。白盒测试是在了解程序内部结构和处理过程的基础亡,对程序的所有路径进行测试,检查路径是否都能按预定要求眶确工作。因此,划线处应填入“白盒(箱)”或“While Box”。

阅读理解

阅读理解。

     My name is Mariko. I’m from Tokyo. I can speak a little English. But I can't speak Chinese. I usually

get up at 6 o'clock and go to school at 7:30 in the morning. I think art is interesting. I don't like science.

I think it is boring. I want to come to China and Canada very much. I think they are very interesting.

My name is Mario. I am from Paris. I am 12 years old. I go to school at seven fifty and I go home at

four twenty. I have lunch at school. I usually eat fish, French fries, potatoes and carrots for lunch. My

favorite subject is music, because it’s fun. I want to join a music club. I don’t like P.E.. I usually do my

homework at 5 o’clock and I go to bed at 10 o'clock.I am Boris. I am from Canada. I like science and

art. I want to join the art club. Swimming club is not interesting. I don’t like math. I think it is boring. I

get up at six thirty and then I run on the playground (操场). My good friend is Sam. He doesn't know

Chinese. He doesn't like Chinese food. He wants to join our Chinese club.

1. Mario likes        best. 

 A. music          

B. art            

C. math          

D. science

2.        goes to school at 7:30.

A. Mario          

B. Mariko          

C. Sam            

D. Boris

3. Mariko doesn’t like science because it is  ___.  

A. interesting        

B. relaxing        

C. boring          

D. fun

4.       is from Japan.    

A. Mario            

B. Mariko      

C. Sam            

D. Boris

5. Boris wants to join       .  

A. Swimming club.    

B. Music club.    

C. Art club.    

D. Chinese club.

单项选择题