答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
在操作系统中,对信号量S的P操作原语的定义中,使进程进入相应阻塞队列等待的条件是( )。
①
S>0
②
S=0
③
S<0
④
S不等于0
参考答案:
复制
纠错
相关题目
【单选题】
在操作系统中,对信号量S的P操作原语的定义中,使进程进入相应阻塞队列等待的条件是()。
①
S>0
②
S=0
③
S<0
④
S≠0
查看完整题目与答案
【单选题】
在操作系统中,对信号量S的P操作原语的定义中,使进程进入相应阻塞队列等待的条件是( )。
①
S>0
②
S=0
③
S0
查看完整题目与答案
【单选题】
如果信号量S的值是0 , 此时进程A执行P(S)操作,那么,进程A会( )。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
如果信号量S的值是0,此时进程A执行P(S)操作,那么,进程A会()。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应()。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
信号量S的初值为8,在S上执行了10次P操作,6次V操作后,S的值为( )。
①
10
②
8
③
6
④
4
查看完整题目与答案
【单选题】
信号量S的初值为8,在S上执行了10次P操作,6次V操作后,S的值为()。
①
10
②
8
③
6
④
4
查看完整题目与答案
【单选题】
1. 对下面程序段描述正确的是int x=0,s=0; while (x!=0) s=s+x+1;printf(%d
①
运行程序段后输出0
②
运行程序段后输出1
③
程序段中的控制表达式是非法的
④
程序段循环无数次
查看完整题目与答案
随机题目
【单选题】
Train services are now back to ____after last week’s strike.?
①
ordinary ?
②
usual ?
③
normal ?
④
natural?
查看完整题目与答案
【单选题】
I thought I knew the way, but ____I got lost.
①
somehow
②
somewhat
③
anyhow
④
anyway
查看完整题目与答案
【单选题】
The ____ of the trees grew longer as the afternoon went on. ?
①
images ?
②
pictures ?
③
photos ?
④
shadows ?
查看完整题目与答案
【单选题】
The British people and the American people not only speak the same language but ____ a lot of special customs as well.
①
share
②
spare
③
hold
④
carry
查看完整题目与答案
【单选题】
“Are you ready for your paper?” “Not yet. I need___ to read through it.”
①
other three minutes
②
another three minutes
③
three other minutes
④
more three minutes
查看完整题目与答案
【单选题】
____ to speak when the audience interrupted him.
①
Hardly had he begun
②
No sooner had he begun
③
Not until began
④
Scarcely did he begin
查看完整题目与答案
【单选题】
13. When I was a teenager, my bedroom was always ____; as an adult, though, my room is always neat..
①
tidy
②
orderly
③
mess
④
untidy
查看完整题目与答案
【单选题】
Women have to be more ____ than men if they want to get anywhere in the business world.
①
difficult
②
ambitious
③
traditional
④
conservative
查看完整题目与答案
【单选题】
24. The kind-hearted woman always tries to help others, but recently she has been ____kind and generous.
①
chiefly
②
specially
③
principally
④
especially
查看完整题目与答案
【单选题】
When the passenger woke up, he found himself ____in a hospital ward.
①
lie
②
lay
③
lying
④
lain
查看完整题目与答案