更多“A tank which is NOT completely full or empty is called ______.A.pressedB.slackC.inertialD. ”相关问题
  • 第1题:

    Much of the debate on an ongoing society in China has focused on the extended families__________ the number of "empty-nets" is growing by the millions every year.

    A.that
    B.when
    C.where
    D.which

    答案:C
    解析:
    考查定语从句。该句中先行词families在从句中作状语,所以应该用关系副词,that和which是关系代词,可以排除。先行词families不表示时间,排除B。关系副词在定语从句中相当于“介词+which”。这里where相当于in which.表示地点。

  • 第2题:

    在生产者-消费者问题中,应设置互斥信号量mutex、资源信号量full和empty。它们的初始值应分别是()。

    A.0;n;0

    B.1;n;0

    C.0;0;n

    D.1;0;n


    错误

  • 第3题:

    19、在生产者-消费者问题中,应设置互斥信号量mutex、资源信号量full和empty。它们的初始值应分别是()。

    A.0;n;0

    B.1;n;0

    C.0;0;n

    D.1;0;n


  • 第4题:

    Much of the debate on an ongoing society in China has focused on the extended families __________ the number of “empty-nets”is growing by the millions every year.

    A.that
    B.when
    C.where
    D.which

    答案:C
    解析:
    考查定语从句。该句中先行词families在从句中作状语,所以应该用关系副词,that和which是关系代词,可以排除。先行词families不表示时间,排除B。关系副词在定语从句中相当于“介词+which”。这里where=in which,表示地点。

  • 第5题:

    5.12 在生产者一消费者问题中,如果缺少了V(full)或V(empty),对执行结果会有何影响?


    A

  • 第6题:

    采用信号量和P、V原语解决生产者—消费者问题时,设:信号量Empty对应空缓冲区资源,Full对应满缓冲区资源,Mutex用于访问共享缓冲池时的互斥,则下列进程描述()是正确的。

    A.生产者:P(Empty); P(Mutex); …; V(Mutex); V(Full) 消费者:P(Full); P(Mutex); …; V(Mutex); V(Empty)#B.生产者:P(Mutex); P(Empty); …; V(Mutex); V(Full) 消费者:P(Full):P(Mutex); …; V(Mutex); V(Empty)#C.生产者:P(Empty); P(Mutex); …; V(Mutex); V(Full) 消费者:P(Mutex); P(Full); …; V(Mutex); V(Empty#D.B、C均不正确
    生产者: P(Empty); P(Mutex); …; V(Mutex); V(Full) 消费者: P(Full); P(Mutex); …; V(Mutex); V(Empty)