21-Is it OK to take this seat?-Sorry. _______A. here you are B. take itC. it’s taken D. never mind
21-Is it OK to take this seat?
-Sorry. _______
A. here you are B. take it
C. it’s taken D. never mind
相关考题:
It is easy to ____ a machine ____ but difficult to put it together. A、tear…apartB、take …awayC、take …apartD、bring…away
You can ______the seat belt ____ as soon as the light overhead goes off. A.turn…onB.take…offC.take…outD.pick…out
在生产者/消费者问题中,用s表示实施互斥的信号量,e表示与缓冲区空闲空间数量相关的信号量,n表示与缓冲区中数据项个数相关的信号量,下列生产者和消费者的操作(生产者和消费者可并发执行),可能产生死锁的是()。A.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(s); wait(n); take(); signal(e); signal(s);B.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(n); wait(s); take(); signal(s); signal(e);C.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(s); wait(n); take(); signal(e); signal(s);D.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(n); wait(s); take(); signal(s); signa
在生产者/消费者问题中,用s表示互斥信号量,e表示空缓冲区资源信号量,n表示满缓冲区资源信号量,下列生产者和消费者的操作(生产者和消费者可并发执行),可能产生死锁的是()。A.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(s); wait(n); take(); signal(e); signal(s);B.生产者:wait(s); wait(e); append(); signal(n); signal(s);消费者: wait(n); wait(s); take(); signal(s); signal(e);C.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(s); wait(n); take(); signal(e); signal(s);D.生产者:wait(e); wait(s); append(); signal(s); signal(n);消费者: wait(n); wait(s); take(); signal(s); signa
11、在生产者/消费者问题中,用s表示实施互斥的信号量,e表示与缓冲区空闲空间数量相关的信号量,n表示与缓冲区中数据项个数相关的信号量,下列生产者和消费者的操作(生产者和消费者可并发执行),可能产生死等的是()。A.消费者: wait(s); wait(n); take(); signal(e); signal(s); 生产者: wait(s); wait(e); append(); signal(n); signal(s);B.消费者: wait(n); wait(s); take(); signal(s); signal(e); 生产者: wait(s); wait(e); append(); signal(n); signal(s);C.消费者: wait(s); wait(n); take(); signal(e); signal(s); 生产者: wait(e); wait(s); append(); signal(s); signal(n);D.消费者: wait(n); wait(s); take(); signal(s); signal(e); 生产者: wait(e); wait(s); append(); signal(s
1、利用艾拉托斯特尼筛法无穷素数列表primes (参见讲义第8章) 获得介于100000和200000之间素数的方法是A.take 200000 (take 100000 primes)B.take 100000 (take 200000 primes)C.take 100000 (drop 100000 primes)D.takeWhile (\x - x = 200000) (dropWhile (\x - x = 100000) primes)E.takeWhile (\x - x = 200000) (take 200000 primes)F.[x | x - primes, x 100000, x 200000]G.[x | x - take 200000 primes, x 100000, x 200000]