问题 单项选择题

某一种作业长时间得不到机会运行的现象叫做“饥饿”现象,作业调度算法中可能 会造成“饥饿”现象的算法是

A.先来先服务算法

B.最短作业优先算法

C.最高响应比作业优先算法

D.均衡调度

答案

参考答案:B

解析:最短作业优先算法可能会造成“饥饿”现象。由于该算法只考虑作业运行时 间而完全忽略了作业等待时间的长短,因此有可能发生一个长作业进入系统后,由于 不断有较短的作业进入系统,而使它一直得不到机会运行。

完形填空

Friends play an important part in our lives, and although we may take the fact of friendship for granted, we often don’t clearly understand how we make friends. While we get on well with a number of people,      小题1:   .

Moreover, a great many relationships come under the general term “friendship”. In all cases, two people like one another and enjoy being together, but beyond that, the degree of closeness between them and the reasons for their interest in each other change greatly.

At the beginning, much depends on how people meet, and on good first impressions. As we get to know people,    小题2:   . Although these factors are not of the greatest importance, it is more difficult to have a good relationship with people when there is a big difference in age and background.

Then,   小题3:  . Friends will stand closer together and will spend more time looking at each other than ordinary friends. Smiles and soft voices also express friendliness, and it is because they may give the wrong signals that shy people often have difficulty making friends. A friendly look with a wrong facial expression can turn into an unfriendly stare, and nervousness may be wrongly understood as unfriendliness.

Some relationships are a result of argument and discussion, but it is usual for close friends to have the same ideas and beliefs, the same opinion and interests. The more closely involved people become, the more they depend on each other. And    小题4:   . Equally, friends have to learn to make allowances for each other, to put up with annoying habits, and to accept differences in opinion.

In contrast with marriage,   小题5:   . But the support and understanding that results from shared experiences and affections does seem to create a close and lasting relationship.

A.we are usually friends with only a few

B.many factors can affect friendship and relationship

C.people want to do friends favors and hate to let them down

D.argument and discussion can improve personal relationshipsE. we consider things like age, race, looks, economic and social status, etc

F. we pay attention to actual behavior, facial expression, and the way a person speaks

G. there are no friendship ceremonies to strengthen the relationship between two people

单项选择题