问题 单项选择题

以下关于面向对象程序集成测试的说法中,正确的是______。

A.大突击集成是一种综合运用自底向上集成与自顶向下集成的测试策略

B.自底向上集成测试比自顶向下集成测试需要开发的代码更多

C.协作集成是指将可以协作完成特定系统功能的类集成在一起进行测试

D.与自底向上集成和自顶向下集成相比,基于集成是一种更充分的集成测试策略

答案

参考答案:C

解析: 大突击集成是将系统的所有组成成分一次性集成到一起进行测试,是非增量式集成测试。而自底向上集成与自顶向下集成都是增量式集成测试,三者都是传统软件测试中很常用的集成测试策略。协作集成就是在集成测试时,针对系统完成的功能,将可以相互协作完成特定功能的类集成在一起进行测试。基干集成从某种角度讲,是集中了自底向上集成、自顶向下集成和大突击集成三者的优点,更适合大型复杂项目的集成,但若对于代码质量要求高,人力资源比较充足的项目,自底向上集成应该会更好。三种集成方法在测试充分性上比较应该视项目不同也不同。

单项选择题 A1/A2型题
阅读理解

Those who spend more pre-bedtime hours using the Internet or watching television are more likely to report insufficient sleep, even though they sleep almost as long as people spending fewer pre-bedtime hours in front of a computer or television screen, survey findings show.

“While many people use electronic media, say, the Internet, it should be noted that the longer media use before sleep can trigger (self-perceived) insufficient sleep,” lead researcher Dr Nakamori Suganuma, of Osaka University, Japan, told the reporter.

He and colleagues obtained data on self-perceived sleep problems and the use of electronic media prior to bedtime from 5,875 altogether Japanese respondents in two separate Internet-based surveys. Their findings are published in Sleep and Biological Rhythms.

Nearly half of the respondents associated their problem with electronic media use before bedtime. Longer electronic media users were also more likely to report insufficient sleep.

“Overall, 29% of light users (less than 1.5 hours) listed electronic media use as a possible cause of their insufficient sleep. By comparison, 40% of medium users (1.5 to 3 hours) and 54% of heavy users (more than 3 hours) said the same. 

However, longer Internet and television use before bedtime did not correlate with less actual sleep.

While heavy users averaged about 3 more hours in front of computer or television screens than light users, the heavy users averaged only about 12 minutes less pre-workday sleep time than light users.

Notably, Suganuma said, "Internet use affected self-perceived insufficient sleep more than TV watching not only in younger Internet users but also in middle-aged or aged Internet users."

Up to 38% of the respondents listed accessing the Internet far into the night as a possible cause for their sleep disturbance, while about 25% said watching television far into the night caused it.

The findings suggest that while heavy computer and television use before bedtime has a small effect on sleep duration, it may have a more significant effect on "sleep demand and sleep quality," Suganuma notes.

小题1: Heavy computer and television user before bed time are more likely to be______ than light ones.

A.energetic

B.happy

C.sleepy

D.clever小题2:Which of the following statements is true according to the passage?

A.Heavy computer and television user before bed time have less sleeping time than light ones.

B.Heavy computer and television user before bed time have worse sleep than light ones.

C.Those suffering insufficient sleep spend less time in using internet than in watching TV.

D.Spend less time in watching TV or surfing the internet, and you will have a better sleep.小题3:The passage seems to suggest that people ______.

A.be far away from media.

B.watch TV rather than use internet

C.cut down late-night Internet and TV

D.Stop late-night internet and TV小题4:Which of the following phrases is similar in meaning to the underlined phrase in the sixth paragraph?

A.have any connection with

B.make a friend with

C.share the opinion with

D.in accordance with