一起答
单选

有m个进程(P0,P1,…,Pm-1)通过n个缓冲区(B0,B1,…Bn-1)向1个进程(Q)发送数据包,每个数据包大小与缓冲区一样。要求:进程Q接收数据包的次序与发送次序一样。为保证发送进程与接收进程正确地并行工作,需要设置(23)。

  • A.一个信号量,初值为0
  • B.一个信号量,初值为1
  • C.两个信号量,初值分别为0和1
  • D.3个信号量,初值分别为n、1、0
参考答案
查看试卷详情
相关试题
  1. (79)

    • A.gain
    • B.gained
    • C.gains
    • D.gaining
  2. (78)

    • A.insiders
    • B.money
    • C.outsiders
    • D.warehouse
  3. (77)

    • A.close
    • B.closed
    • C.enclose
    • D.enclosed
  4. Soon, more of the information we receive via the Internet could come(71)in digital wrappers.

    Wrappers are made up(72)software code that's targeted to do specific things with the data(73)within them, such as helping to define queries for search engines. They also keep(74)from(75)access to that code.

    • A.package
    • B.packaged
    • C.packages
    • D.packaging
  5. (76)

    • A.of
    • B.off
    • C.on
    • D.out
  6. (73)

    • A.college
    • B.family
    • C.workshop
    • D.cottage
  7. (74)

    • A.plan
    • B.schedule
    • C.effort
    • D.product
  8. Developing reliable software on time and within(66)represents a difficult endeavor for many organizations.

    Usually business solutions have three main aspects: people,(67),and technology. The main reason for failing software projects has little to do with technology and tools, and much to do with lack of process(68). Experience has shown that introducing new technology and tools in an immature or undisciplined environment is likely to increase the chaos. CASE tools are not enough. "A fool with a tool is still a fool !"

    Structured method was the first wave of the software industry. This was the beginning of transforming software development from a"(69)industry" to mass production. Software process movement if the second wave in the software industry. The process maturity movement prepares the way for the third wave of the software industry :"software industrialization". Software development will become like an assembly and manufacturing process. A cfiticalenabling factor is adisciplined software engineering . process with predictable quality,(70)and functionality.

    • A.forecast
    • B.preparation
    • C.budget
    • D.economy
  9. (71)

    • A.process
    • B.skill
    • C.organization
    • D.interface
  10. (72)

    • A.law
    • B.discipline
    • C.plan
    • D.evaluation