答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
信号量S的初值为8,在S上执行了10次P操作,6次V操作后,S的值为( )。
①
10
②
8
③
6
④
4
参考答案:
复制
纠错
相关题目
【单选题】
信号量S的初值为8,在S上执行了10次P操作,6次V操作后,S的值为()。
①
10
②
8
③
6
④
4
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应()。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为 -1,则表示有( )个等待进程。
①
0
②
1
③
2
④
3
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为 ?1,则表示有( )个等待进程。
①
0
②
L
③
2
④
3
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为1,则表示有()个等待进程。
①
0
②
l
③
2
④
3
查看完整题目与答案
【单选题】
如果信号量S的值是0 , 此时进程A执行P(S)操作,那么,进程A会( )。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
如果信号量S的值是0,此时进程A执行P(S)操作,那么,进程A会()。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
在操作系统中,对信号量S的P操作原语的定义中,使进程进入相应阻塞队列等待的条件是()。
①
S>0
②
S=0
③
S<0
④
S≠0
查看完整题目与答案
随机题目
【单选题】
Be ( ) of where weve come from and the spirit of our nation.
①
prove
②
proudly
③
proud
④
prouder
查看完整题目与答案
【单选题】
The union plans to raise the ( ) of overtime.
①
ignorance
②
insurance
③
issue
④
ideal
查看完整题目与答案
【单选题】
This washing powder will work miracles on these oil ( ).
①
stains
②
stain
③
stained
④
stainless
查看完整题目与答案
【单选题】
New businesses ( ) in this area.
①
thrive
②
thrill
③
thrift
④
threat
查看完整题目与答案
【单选题】
He moved to Ohio in 2005 where, ( )other things, he worked as a journalist.
①
awhile
②
amid
③
await
④
among
查看完整题目与答案
【单选题】
You need to ( ) to the local authority for a grant.
①
apply
②
applaud
③
appeal
④
arise
查看完整题目与答案
【单选题】
You should give your children more opportunities to have personal time and space to ( ) with friends or do whatever they want.
①
hang out
②
hang up
③
hang on
④
hang in
查看完整题目与答案
【单选题】
On this calendar you can find elective classes as well as review sessions and other events that were not part of ( ) class or exam time.
①
mandate
②
mandator
③
mandated
④
mandatory
查看完整题目与答案
【单选题】
The related ( ) are sufficient for you to collect the information you need for your presentation.
①
public
②
publications
③
republic
④
in public
查看完整题目与答案
【单选题】
Most of the runners in the London Marathon are raising money ( ).
①
in return
②
out of curiosity
③
for charity
④
on duty
查看完整题目与答案