某工厂仓库有一名保管员,该仓库可存放n箱零件。该工厂生产车间有m名工人,只要仓库空闲

题型:单项选择题

问题:

某工厂仓库有一名保管员,该仓库可存放n箱零件。该工厂生产车间有m名工人,只要仓库空闲,工人将生产好的整箱零件放入仓库,并由保管员登记入库数量。该工厂销售部有k名销售员,只要仓库库存数能满足客户要求,便可提货,并由保管员登记出库数量。规定工人和销售员不能同时进入仓库,但是工人和工人,销售员和销售员可以同时进入仓库,其工作流程如图1-1所示。

为了利用PV操作正确地协调工人和销售员进程之间的工作,设置了信号量S1、S2和S3,它们的初值分别为n、0和1。图1-1中的a、b、e和f应分别填写 (25) ;图1-1中的c、d、g和h应分别填写 (26)

(25)处填()。

A.P(S2)、V(S1)、P(S1)、V(S1)

B.P(S1)、V(S2)、P(S2)、V(S1)

C.P(S2)、V(S1)、P(S2)、V(S1)

D.P(S1)、V(S1)、P(S1)、V(S2)

考点:计算机软件水平考试中级软件设计师中级软件设计师上午试题
题型:单项选择题

电梯安装的过程中,脚手架应由()搭设。

A.电梯安装工

B.辅助工

C.架子工

D.起重工

题型:单项选择题

阅读理解。

        The police in the big city were looking for a thief. At last they caught (捉住catch的过去式) him.

When they were taking photos of him from the front, from the left, from the right, with a hat, without

(不戴) a hat, he suddenly attacked (袭击) the police and ran off. The police tried to catch (捉住) him,

but he got away. A week later the telephone rang in the police station, and somebody said, “You are

looking for Bill Cross, aren’t you? Well, he went to Waterbridge an hour ago.”Waterbridge was a

small town 150 kms away from the city. Four photos of the thief were sent (送到) to the police in

Waterbridge at once by (由) the city police.Not more than 12 hours later they got a call from the

police station in Waterbridge, “We caught 3 of the man,” they said happily, “and we will catch the

4th this evening, we think.”

1. In the passage, “somebody” may (可能) be           .

A. the police in Waterbridge

B. someone in the city

C. the man taking photos        

D. the thief himself

2. The police in Waterbridge caught three of men according to (根据)           .

A. the facts (事实)

B. the phone

C. the photos  

D. the news

3. In fact (实际上) the police           the thief.

A. caught

B. did not catch    

C. were sure (确信) to catch  

D. were not sure to catch

4. The story happened (发生) in           .

A. a city      

B. a town      

C. the country  

D. A and B

5. Who made a ridiculous mistake (可笑的错误) in the passage?

A. the police in the city        

B. the thief

C. the police in Waterbridge    

D. the police in the city

题型:单项选择题

产生不确定性因素的原因很多,一般情况下,产生不确定性的主要原因有( )。

A.未来经济形势的变化

B.所依据的基本数据不足或者统计偏差

C.技术进步

D.无法以定性来表示定量因素的影响

E.预测方法的局限,预测的假设不准确

题型:单项选择题

计算机杀毒时,说法不正确的是()

A.应及时升级杀毒软件

B.杀毒前应先对杀毒盘进行杀毒

C.即使是在Windows系统下杀毒,也应制作一张DOS环境下的杀毒盘

D.杀完毒后,应及时给系统打上补丁

题型:单项选择题

用靠模法车成形面,生产效率高,质量稳定,适用于成批生产。( )

更多题库