设有N个进程共享一互斥段,如果每次只允许一个进程进入互斥段,用PV操作来解决,则信号量值的范围是( ).
A. [1~N]
B. [1~-(N-1)]
C. (-∞~+∞)
D. [-N~+N]
查看答案
下列说法错误的是()
A. 信号量是一个整型变量
B. 信号量的值大于零,则表示当前可用资源的数量
C. 信号量的值小于零,则其绝对值表示等待使用该资源的进程个数
D. PV操作用原语实现
Fill in each blank of the text summary with an appropriate word from the box. Please note that five words from the list are redundant.a. excited b. shortly c. strange d. atee. spread f. musicians g. liquid h. healthi. surf j. discovery k. luckily l. boilm. laptops n. famous o. serveCoffee is the world’s most popular drink. Although people all over the world drink it, it is said that too much coffee is not good for one’s 1. ______ . The 2. ______ of coffee is an interesting story. Around the year 700, in Ethiopia, a shepherd named Kaldi found his goats became very 3. ______ 4. ______ after eating some plants. He and other people tried to 5. ______ the plants and then drank the 6. ______ . They, too, couldn’t have a good rest at night. This drink became popular and 7. ______ from Ethiopia to the Arabworld, Turkey, Europe, and other parts of the world. Many 8. ______ writers and 9. ______ loved coffee. Nowadays, coffee bars and shops 10. ______ coffee in various sizes and flavors.
故事是儿童最喜爱的一种文学形式。它通过典型的()、曲折的()、生动优美的()吸引着儿童。
A. 物形象、情节、语言
B. 情、节物形象、语言
C. 言、人物形象、情节
D. 言、情节、人物形象
讲故事在材料选择和语言表达上,都非常讲究(),讲述波澜起伏、引人入胜。
A. 乐性
B. 味性
C. 折性
D. 想性