问题 填空题

软件测试的目的是尽可能发现软件中错误,通常 【4】 是在代码编写阶段可进行的测试,它是整个测试工作的基础。

答案

参考答案:单元测试

解析: 单元测试集中对源代码实现的每一个程序单元进行测试,检查各个程序模块是否正确地实现了规定的功能,其目的在于发现各模块内部可能存在的各种差错。单元测试需要从程序的内部结构出发设计测试用例。多个模块可以平行地独立进行单元测试。

问答题 简答题
阅读理解

Have you ever seen people dance? Some dances are fast and others are slow. People’s feet always move when they dance. They keep on moving until the music stops.

People have enjoyed dancing for a very long time. This story is of a different kind of dance. It is a dance without people or music. Yet this dance is one of the oldest in the world. It is the dance of bees.

If you have ever watched bees, you know that they are very clever. They also work hard looking for food and bringing it back to their home.

The home of the bees is called a bee hive. Here hundreds even thousand of bees live. They work day and night building small walls. There they make their honey. This is the same honey that we eat.

Where does the honey come from? Bees live on food from flowers. Have you seen bees flying around a flower garden? When a bee rests on a flower, it tries to go to the centre of it. There it takes in as much food as its body can hold. Then it flies to take the food back to the hive.

At the hive, bees change flower food into honey. Then they fly away for more food.

How do the bees know where to find the best food in the sweetest flowers? One bee acts as a guide. When it discovers good flowers, it flies back to the hive and tells the others. It does this by dancing for them.

The bee dances on one side. This tells the other bees which way to go to find the flowers. But that is not all. The bee dances for some time. And the length of its dance tells the other bees how far they must fly to reach the flowers.

When the bees see the dance, they know where the flowers are. They fly away and return with more food for the hive.

Sometimes we hear the music of the bees as they fly around. But few people have ever seen them dance. Yet without that dance we might never have sweet honey to eat.

1. The writer believes that_________.

A. people dance better than bees

B. people learned dance from bees

C. bees dance more often than people

D. bees don’t like music

2. From this passage we know that the dance of bees means_______.

A. They are good at dancing

B. they want to show their beauty

C. they communicate with each other

D. they have nothing to do

3. Which of the following is true?

A. People get honey from flowers directly.

B. People draw honey from bees’ bodies.

C. People produce honey in a secret place.

D. People get honey from bees indirectly.

4. What character do bees have?

A. dance-loving           B. hard-working        C. music-loving        D. active