赞题库-背景图
单项选择题

批处理操作系统中,下列哪一项是作业运行过程中反映作业的运行情况,并且是作业存在的惟一标志

A) 作业状态
B) 作业类型
C) 作业控制块
D) 作业优先级
<上一题 目录 下一题>
热门试题

单项选择题读者写者问题的解决方案如下所示。 Begin ①______; read_count:=read_count+1; if read_count=1 then P(write); ②______; 读文件; ③______; read_count:=read_count-i; if read_count=0 then V(write); ④______; End 假设信号量mutex表示对read_count共享变量所关注的互斥区进行互斥,那么,①、②、③和④处应该填写的语句是( )。

A.P(mutex)、P(mutex)、V(mutex)、V(mutex)
B.P(mutex).V(mutex)、P(mutex)、V(mutex)
C.V(mutex).V(mutex)、P(mutex)、P(mutex)
D.V(mutex)、P(mutex)、V(mutex)、P(mutex)

单项选择题在归并排序过程中,需归并的趟数为______。

A) n
B) n1/2
C)

D)