问题 单项选择题

下面叙述中错误的是______。

A.软件测试的目的是发现错误并改正错误
B.对被调试的程序进行“错误定位”是程序调试的必要步骤
C.程序调试通常也称为Debug
D.软件测试应严格执行测试计划,排除测试的随意性

答案

参考答案:A

解析: 软件测试的目的是为了发现错误而执行程序的过程,并不涉及改正错误,所以选项A错误。程序调试的基本步骤有:错误定位、修改设计和代码,以排除错误、进行回归测试,防止引进新的错误。程序调试通常称为Debug,即排错。软件测试的基本准则有:所有测试都应追溯到需求、严格执行测试计划,排除测试的随意性、充分注意测试中的群集现象、程序员应避免检查自己的程序、穷举测试不可能、妥善保存测试计划等文件。

单项选择题 A3/A4型题
阅读理解

Inside the pleasingly fragrant cafe, So All May Eat(SAME) in downtown Denver ,the spirit ofgenerosityis instantly noticeable :donation box stands in place of a cash register. Customers here pay only what they can afford, no questions asked.A risky business plan, perhaps, but SAME Café has done one unchangeable thing in the Mile High City for six years: Open only at midday, the restaurant allows poor local customers who cannot pay to work as volunteers instead. They can act as waiters and waitresses, and dishwashers, or look after the buildings and equipment for the cafe.   

It’s based on trust, and it’s working all right”, says co-owner Brad Birky, who started the café in 2006.  Previously volunteering at soup kitchens, the Birkys were dissatisfied with the often unhealthy meals they served there. “We wanted to offer quality food in a restaurant where everyone felt comfortable, regardless of their circumstances,” Birky says. SAME’s special lunch menu changes

daily and most food materials are natural and grown by local farmers. The café now averages 65 to 70 customers (and eight volunteers) a day. And the spirit of generosity behind the project appears to be spreading. In early 2007,one volunteer who had cleared snow for his meals during t he long

winter said goodbye to the Birkys, He said he was going to New Orleans to help with the hurricane clearing up,” says Birky.

小题1:What can we learn about the soup kitchens the Birkys previously worked for?

A.They refused to have volunteers.

B.They offered low quality food.

C.They provided customers with a good environment.

D.They closed down because of poor management.小题2:According to the passage, which of the following is TRUE?

A.The customers who cannot pay can work as volunteers instead.

B.More volunteers will go to new Orleans for the hurricane cleanup.

C.Many new cafes will be opened to offer free lunches in the town.

D.The lunch menu has remained the same since the café was started.小题3:The author’s attitude towards running such a café is_______

A.unfavorable

B.doubtful

C.cautious

D.approving