问题 单项选择题

关于活动图,下列说法错误的是______。

A.活动图主要用于描述系统、用例和程序模块中逻辑流程的先后执行次序、并行次序

B.活动图用于低层次程序模块的作用类似于流程图,但活动图不可以描述并行操作

C.每个活动图都是一个起点,但不一定有终点

D.活动由圆角矩形表示

答案

参考答案:B

解析: 活动图主要用于描述系统、用例和程序模块中逻辑流程的先后次序、并行次序,活动图用于低层程序模块的作用类似于流程图,但活动图还可以描述并行操作,而流程图只能描述串行操作。

阅读理解

Twenty years ago, I drove a taxi for a living. One night I went to pick up a passenger at 2:30 AM. When I arrived there, I walked to the door and knocked, “Just a minute,” answered a weak, elderly voice.

After a long pause, the door opened. A small woman in her eighties stood before me. By her side was a small suitcase.

When we got into the taxi, she gave me an address, and then asked, “Could you drive through downtown?”

“It’s not the shortest way,” I answered quickly.

“Oh, I’m in no hurry,” she said. “I’m on my way to a hospice(临终医院). I don’t have any family left. The doctor says I don’t have very long.”

I quietly reached over and shut off the meter(计价器).

For the next two hours, we drove through the city. She showed me the building where she had once worked, the neighborhood where she had lived, and the furniture shop that had once been a ballroom where she had gone dancing as a girl.

Sometimes she’d ask me to slow down in front of a special building and would sit staring into the darkness, saying nothing.

In the early morning, she suddenly said,” I’m tired. Let’s go now.”

We drove in silence to the address she had given me.

“How much do I pay you?” she asked.

“Nothing.” I said.

“You have to make a living,” she answered. “Oh, there are other passengers,” I answered.

Almost without thinking, I gave her a hug(拥抱). She held on me and said, “You gave an old woman a little moment of joy.”

小题1:The old woman chose to ride through the city in order to ______.

A.show she was familiar with the city

B.see some places for the last time

C.let the driver earn more money

D.reach the destination on time小题2:The taxi driver did not get the money because he ______.

A.wanted to give her a hand

B.shut off the meter by mistake

C.had received her payment already

D.was in a hurry to take other passengers小题3:What can we learn from the story?

A.No pains, no gains.

B.People should respect(尊重) each other.

C.An act of kindness can bring people great joy.

D.People should learn to enjoy our life.

单项选择题 A1型题