单项选择题

假设铁路自动售票系统有n个售票终端,该系统为每个售票终端创建一个进程Pi(i=1,2,...,n)管理车票销售进程。假设Tj(j=1,2,...,m)单位存放某日某趟车的车票剩余票数,Temp为Pi进程的临时工作单元,x为某用户的购票张数。Pi进程的工作流程如下图所示,用P操作和V操作实现进程间的同步与互斥。初始化时系统应将信号量S赋值为()。

A.n-1
B.0
C.1
D.2

题目列表

你可能感兴趣的试题

单项选择题

【案例分析题】

完形填空:下面短文有5处空白,请根据短文内容为每处空白确定1个最佳选项。
Creating a clear map of where the project is going is an important first step. It lets you identify risks, clarify objectives, an determine if the project even makes sense. The only thing more important than the Release Plan is not to take it too seriously. 
Release planning is creating a game plan for your Web project (71)what you think you want your Web site to be. The plan is guide for the content, design elements, and functionality of a Web site to be released to the public, to partners, or internally. It also (72)how long the project will take and how much it will cost. What the plan is not is a functional (73)that defines the project in detail or that produces a budget you can take to the bank. 
Basically you use a Release Plan to do an initial sanity check of the project’s (74)and worthiness. Release Plans are useful road maps, but don’t think of them as guides to the interstate road system. Instead, think of them as the (75)used by early explorers-half rumor and guess and half hope and expectation. 
It’s always a good idea to have a map of where a project is headed.

71、()

A.constructing
B.designing
C.implementing
D.outlining

微信扫码免费搜题