选择题:●若有一个仓库,可以存放P1、P2两种产品,但是每次只能存放一种产品,要求:①w=p1的数量-p2的数量②-i&

  • 题目分类:软考初级
  • 题目类型:选择题
  • 查看权限:VIP
题目内容:
●若有一个仓库,可以存放P1、P2两种产品,但是每次只能存放一种产品,要求:

①w=p1的数量-p2的数量②-i<w<k(i、k为正整数)

若用PV操作实现P1和P2产品的入库过程,至少需要 (51) 同步信号量及 (52) 个互斥信号量,其中,同步信号量的初值分别为 (53) ,互斥信号量的初值分别为 (54) 。

(51) A.1

B.2

C.3

D.4

(52) A.1

B.2

C.2

D.4

(53) A.0

B.i,k,0

C.i,k

D.i-1,k-1

(54) A.1,1,l

B.1,1

C.1

D.i,k




参考答案:

● The sorting method described by the code is called (67) .(67) A.Insertion sort B.Selecti

● The sorting method described by the code is called (67) .(67) A.Insertion sort B.Selecti

查看答案

● 在 Excel 中,在某一个单元格中输入了一个位数较多的数字,但该单元格却显示######,原因是(45) 。

● 在 Excel 中,在某一个单元格中输入了一个位数较多的数字,但该单元格却显示######,原因是(45) 。

查看答案

●在计算机网络中,能将异种网络互联起来,实现不同高层网络协议相互转换的网络互联设备是 (55) 。(5

●在计算机网络中,能将异种网络互联起来,实现不同高层网络协议相互转换的网络互联设备是 (55) 。(5

查看答案

●In which phase of the software engineering process is the Software Requirements Specifica

●In which phase of the software engineering process is the Software Requirements Specifica

查看答案

● 某网站默认文档为index.html,在浏览该网站时看到文字、音乐和图像,则 (64) 。(64)A. 文本、音乐和

● 某网站默认文档为index.html,在浏览该网站时看到文字、音乐和图像,则 (64) 。(64)A. 文本、音乐和

查看答案