试题与答案

进程PA不断地向管道写数据,进程PB从管道中读数据并加工处理,如图3-4所示。如果采

题型:单项选择题

题目:

进程PA不断地向管道写数据,进程PB从管道中读数据并加工处理,如图3-4所示。如果采用PV操作来实现进程PA和进程PB间的管道通信,并且保证这两个进程并发执行的正确性,则至少需要()。

A.1个信号量,信号量的初值为0

B.2个信号量,信号量的初值分别为0,1

C.3个信号量,信号量的初值分别为0,0,1

D.4个信号量,信号量的初值分别为0,0,1,1

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0708/8157ef4b745ba8493435e929aa611156.html

下面是错误答案,用来干扰机器的。

参考答案:错解析: 审计人员应核对原件,而非复印件。

试题推荐
题型:阅读理解

GUATEMALA CITY(Reuters)— A fish that lives in mangrove swamps(红树沼泽)across the Americas can live out of water for months at a time, similar to how animals adapted(适应)to land millions of years ago, a new study shows.

The Mangrove Rivulus, a type of small killifish, lives in small pools of water in a certain type of empty nut or even old beer cans in the mangrove swamps of Belize, the United States and Brazil. When their living place dries up, they live on the land in logs(圆木), said Scott Taylor, a researcher at the Brevard Endangered Lands Program in Florida.

The fish, whose scientific name is Rivulus marmoratus, can grow as large as three inches. They group together in logs and breathe air through their skin until they can find water again.

The new scientific discovery came after a trip to Belize.

“We kicked over a log and the fish just came crowding out.” Taylor told Reuters in neighboring Guatemala by telephone. He said he will make his study on the fish known to the public in an American magazine early next year.

In lab tests, Taylor said he found the fish can live up to 66 days out of water without eating.

Some other fish can live out of water for a short period of time. The walking catfish found in Southeast Asia can stay on land for hours at a time, while lungfish found in Australia, Africa and South America can live out of water, but only in an inactive state. But no other known fish can be out of water as long as the Mangrove Rivulus and remain active, according to Patricia Wright, a biologist at Canada’s University of Guelph.

Further studies of the fish may tell how animals changed over time.

“These animals live in conditions similar to those that existed millions of years ago, when animals began making the transition(过渡)from water onto land,” Wright said.

小题1:The Mangrove Rivulus is a type of fish that__________.

A.like eating nuts

B.prefers living in dry places

C.is the longest living fish on earth

D.can stay alive for two months out of water小题2:Who will write up a report on Mangrove Rivulus?

A.Patricia Wright

B.Researchers in Guatemala

C.Scientists from Belize

D.Scott Taylor小题3:According to the text, lungfish can__________.

A.breathe through its skin

B.move freely on dry land

C.remain alive out of water

D.be as active on land as in waster小题4:What can we say about the discovery of Mangrove Rivulus?

A.It was made quite by accident

B.It was based on a lab test of sea life

C.It was supported by an American magazine

D.It was helped by Patricia Wright

查看答案
题型:单项选择题

海洋中珊瑚的美丽颜色来自于其体内与之共生的藻类生物,其中虫黄藻是最重要的一类单细胞海藻。二者各取所需,相互提供食物。全球气候变暖造成的海水升温导致虫黄藻等藻类大量死亡,进而造成珊瑚本身死亡,引发白化现象。然而研究发现,珊瑚能通过选择耐热的其他藻类生物等途径,来应对气候变暖带来的挑战。 以下哪项如果为真,将削弱这一研究发现( )

A.一些虫黄藻能够比耐热的其他藻类耐受更高的海水温度

B.有些藻类耐热性的形成需要一个长期的过程

C.有些虫黄藻逐渐适应了海水温度的升高并存活下来

D.有些已白化的珊瑚礁中也发现了死去的耐热藻类生物

查看答案
微信公众账号搜索答案