问题 单项选择题

以下关于软件单元测试的说法中,错误的是______。

A.单元测试通常可放在编程阶段
B.单元测试的依据是软件结构设计说明
C.单元测试主要发现编程和详细设计中产生的错误
D.单元测试计划应该在详细设计阶段制定

答案

参考答案:B

解析: 单元测试,也称模块测试,通常可放在编程阶段,一般由程序员对自己编写的模块自行测试,检查模块是否实现了详细设计说明书中规定的功能和算法。单元测试主要发现编程和详细设计中产生的错误,单元测试计划应该在详细设计阶段制定。

单项选择题 共用题干题
阅读理解

B

After the coming of Europeans to the Americas, Indians were forced to change their way of life.Yet the influence of native American culture is still felt throughout the United States.

Many of the foods commonly eaten in the United States today were first grown by American Indians. Among these foods are corn, wheat and sweet potatoes, peanuts, pumpkins, tomatoes, and certain beans and berries. Native Americans also discovered ways to use herbs and other plants as medicines.

Native American inventions, such as canoes, ponchos and parkas(风雪衣), hammocks (吊床) and snowshoes are still in use today. Other marks of Indian culture were left in American place names. The state of Alaska, for example, takes its name from a native American word meaning “great land”.

Today nearly 1.5 million native Americans live in the United States. Some still preserve the ways of their ancestors, speaking Indian languages and keeping alive their legends,art forms, and customs. Other native Americans keep few of the old ways, but remain proud of their  people’s contributions to American history.Americans have come to appreciate the beauty of Indian crafts(工艺). Many artists find inspiration in traditional Indian designs. Many Indian values, too, have become widely held.Americans today believe that the land, air and water are precious resources (资源) that must be carefully protected. As one government official wrote recently:

We have slowly come back to some of the truths that the Indians knew from the beginning. People need to learn from nature, to keep an ear to the earth, and to refill their spirits in frequent contact with animals and wild land.

60. What does “native Americans” refer to in the passage?

A. Europeans settling in the Americas.             B. People born and living in America.

C. American Indians.                           D. Ancestors of Americans.

61. What influences Americans most according to the passage?

A. Agriculture of native Americans.                    B. Ancient Indian medicines.

C. Native American inventions.                D. Indian languages.

62.The underlined word “inspiration” (in Paragraph 5) means_______.

A. confidence    B. creative ideas     C. power      D. good advice

63.Which of the following best shows the Indian values?

A. Americans should preserve the ways of Indian ancestors.

B. Native Americans are still making contributions to American history.

C. The resources offered by nature should be carefully protected.

D. Native Americans knew the truths long before Americans do today.