问题 填空题

对数据对象施加封锁,可能会引起活锁和死锁问题。预防死锁通常有一次封锁法和【 】两种方法。

答案

参考答案:顺序封锁法

解析:预防死锁有一次封锁法、顺序封锁法。一次封锁法要求每个事务必须一次将所有要使用的数据全部加锁,否则就不能继续执行。顺序封锁法是预先对数据对象规定一个封锁顺序,所有事务都按这个顺序实行封锁。

填空题
阅读理解

阅读理解。

     Meeting people from another culture can be difficult. From the beginning, people may send the wrong

signals(信号). Or they may pay no attention to signals from another person who is trying to develop a

relationship.

     Different cultures emphasize(强调) the importance of relationship building to a greater or lesser degree. For example, business in some countries is not possible until there is a relationship of trust. Even with

people at work, it is necessary to spend a lot of time in "small talk", usually over a glass of tea, before

they do

any job. In many European countries-like the UK or France-people find it easier to build up a lasting working relationship at restaurants or cafes rather than at the office.

     Talk and silence may also be different in some cultures. I once made a speech in Thailand. I had expected my speech to be a success and start a lively discussion; instead there was an uncomfortable silence.

The people present just stared at me and smiled. After getting to know their ways better, I realized that

they thought I was talking too much. In my own culture, we express meaning mainly through words, but

people there sometimes feel too many words are unnecessary.

     Even within Northern Europe, cultural differences can cause serious problems. Certainly, English and

German cultures share similar values; Germans prefer to get down to business more quickly. We think

that they are rude. In fact, this is just because one culture starts discussions and makes decisions more

quickly.

      People from different parts of the world have different values, and sometimes these values are quite

against each other. However, if we can understand them better, a multicultural environment(多元文化

环境) will offer a wonderful chance for us to learn from each other,

1. In some countries, eating together at restaurants may make it easier for people to ______.

A. develop closer relations    

B. share the same culture

C. get to know each other    

D. keep each other company

2. The author mentions his experience in Thailand to show that_________.

A. the English prefer to make long speeches

B. too many words are of no use

C. people from Thailand are quiet and shy by name

D. even talk and silence can be culturally different

3. According to the text, how can people from different cultures understand each other better?

A. By sharing different ways of life  

B. By accepting different babits

C. By recognizing different values    

D. By speaking each other's languages

4. What would be the best title for the text?

A. Multicultural Environment  

B. Cross-Cultural Differences

C. How to Understand Each Other  

D. How to Build up a Relationship