问题 单项选择题

就绪队列中一旦出现高于当前运行进程的优先级的进程,就立即进行调度,转让CPU,这种调度方式称为

A.轮转方式

B.可剥夺(抢占)方式

C.轮询方式

D.中断方式

答案

参考答案:B

解析: 本题考查进程调度算法的概念。进程调度算法解决以何种次序对各就绪进程进行处理机的分配以及按何种时间比例让进程占用处理机。先进先出算法是按照进程进入就绪队列的先后次序来选择。轮转法是将cpu的处理时间划分为一个个时间片,就绪队列中的进程轮流进行一个时间片。进程调度每次将处理机分配给具有最高优先级的就绪进程,这是最高优先级算法,就绪队列中一旦出现高于当前运行进程优先级的进程,就立即进行调度,转让CPU,这种调度方式称为可剥夺(抢占)方式,是最高优先级算法的一种。正确答案为选项B。

单项选择题

The first and most important agents of socialization are the people who care for infants. In the earliest months, messages from nurturers constitute the child’s basic understanding of the world around it. This is the infant’s first introduction to the language that shapes perception and elicits emotion.
Another powerful source of information and socialization is the friendship of peers. Peers are equals that one can deal with on the same level as oneself, whereas parents are superiors. The heavy emotional overlay of family relationships makes some kinds of learning difficult.
Much formal socialization is placed in the hands of professionals. Teachers from kindergarten on are specifically designated agents of socialization. Ideally, a teacher is one who has both knowledge and the skills to present it. During the course of teaching their subjects, classroom instructors provide role models and attempt to convey the excitement of learning itself.
In earlier times, parents, friends and teachers would comprise the list of primary childhood socializers. Children’s books, comics and magazines might also have been mentioned as sources of information on norms and role models. Today one must add three powerful indirect or non-personal socialization agents: radio, movies and television. Many people learn about politics, form a vision of well-being, and develop attitudes towards others from what they see on the screen and hear through the speakers.

The author’s chief agents include the following EXCEPT the ______.

A.family

B.group

C.school

D.internet

填空题