1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aleksklad [387]
3 years ago
8

2. Consider Dekker’s algorithm written for an arbitrary number of processes by changing the statement executed when leaving the

critical section from: turn = 1 - i /* i.e., P0 sets turn to 1 and P1 sets turn to 0 */ to turn = (turn +1) % n Evaluate the algorithm when the number of concurrently executing processes is greater than two.
Engineering
1 answer:
neonofarm [45]3 years ago
4 0

Answer:

Algorith does not work.

Explanation:

One of the ways to obtain the Dekker Algorithm is through a change in the declaration, that is, a declaration that can be executed at the exact moment it leaves the critical section. This way it is possible that the statement,

turn = 1-i / * P0 sets turn to 1 and P1 sets turn 0 * /

It can be changed to,

turn = (turn +1) \% n / * n = number or processes * /

The result will allow to define if it works or not, that is, if it is greater than 2 the algorithm will not be able to work.

Given this consideration we can say that,

<em>- The dead lock does not occur, because the mutual is imposed (if a resource unit has been assigned to a process, then no other process can access that resource).</em>

<em>- There is the possibility of starving if the shift is established in a non-contentious process.</em>

Directly it can be concluded that there is a possibility of starvation so the algorithm could not work, despite the fact that mutual exclusion guarantees that a dead block does not occur.

You might be interested in
A 600 MW coal-fired power plant has an overall thermal efficiency of 38%. It is burning coal that has a heating value of 12,000
velikii [3]

Answer:

See step by step explanations for answer.

Explanation:

600 megawatts =

568 690.272 btu / second

thermal eficiency=work done/Heat supllied

0.38=568690.272/Heat supplied

Heat supplied=1496553.35btu /s

heat emmitted to the atmosphere=heat supplied -work done=(1496553.35-568690.272)=927863.1 btu/s

feed rate=(1496553.35)/12000=124.71 lb/s =10775184.1056 lb/day=5 387.472 ton / day

sulphur content released=(0.03*124.71)/(1.496553)=2.5 lb SO2/million Btu of heat input

so

the degree (%) of sulfur dioxide control needed to meet an emission standard=(2.5/0.15)*100=1666.67 %

the CO2 emission rate=220*(1.496553) =329.241 lb/s =12 903.0802 metric ton / day

5 0
3 years ago
Poly(cis-1,4-isoprene), or natural rubber (NR), has a tendency crystallize. The Tm of this polymer is slightly below room temper
Nonamiya [84]

Answer:

Explanation:

Crystalline melting temperature (Tm) is termed as the temperature required for a  crystalline polymer to change to a fluid or glasslike crystalline spaces of a semi-crystalline polymer liquefy (expanded sub-atomic movement).  

Crystallization of polymers is an interaction related with incomplete arrangement of their atomic and molecular chains. These chains crease together and structure requested districts called lamellae, which form bigger spheroidal designs named spherulites. Polymers can solidify after cooling from melting, mechanical extending, or dissolvable dissipation. Crystallization influences the optical, mechanical, and synthetic chemical properties of the polymer.  

For a crystalline polymer, a required polymer chain is present in or goes along a few crystalline and amorphous zones. The crystalline zones are comprised of intermolecular & intramolecular arrangements or deliberate and thus firmly stuffed plan of atoms or chain fragments, and an absence of it brings about the development of amorphous zones.  

The mechanical property boundary, for example, shear modulus expansions in the temperature of perception for polymer material framework.  

The temperature reaction of direct linear polymers might be seen as partitioned into three particularly separate fragments:  

1. Above Tm: The polymer stays as fluid whose consistency & viscosity would rely upon atomic molecular weight and temperature.  

2. Between Tm and Tg: This area may go between close to 100% crystalline & 100% amorphous chain atomic bunches relying upon the polymer underlying consistency. The amorphous part carries on similar to supercooled fluid in this section. The generally actual conduct of the polymer in this moderate portion is similar to an elastic rubber.  

3.Below Tg: The polymer material saw as glass is hard and inflexible, showing and emanating a predetermined coefficient of thermal extension. The glass is more like a crystalline strong than the fluid in personal conduct standard regarding mechanical property boundaries. In regard to the molecular atomic request, in any case, the glass all the more intently takes after the fluid. There is little contrast between the direct linear and cross-connected polymer beneath Tg.

8 0
3 years ago
According to the basic speed law, if conditions make it unsafe to follow posted speed limits, you should:____.
lapo4ka [179]

According to the basic speed law, if conditions make it unsafe to follow posted speed limits, you should:  Reduce your speed to less than the maximum posted speed limit.

<h3>What is the most speed limit?</h3>

The highest published speed limit in the country is 85 mph (137 km/h) and can be located only on Texas State Highway 130, a toll road that bypasses the Austin metropolitan area for long-distance traffic.

<h3>What is the 'rule'? </h3>

The 'rule' itself is quite straightforward: if the speed limit is (for example) 30mph, the rule notes that you won't get a speeding ticket unless you are going 10% plus 2 mph faster than the limit.

To learn more about speed limit, refer

brainly.com/question/19567226

#SPJ4

7 0
2 years ago
Hidiesjcfkesudfmjhtredcvbnm,lkjhgfdsuytrkduefkvke
Grace [21]

Answer:

THANKS FOR THE POINTS!!!!!!!

3 0
3 years ago
Read 2 more answers
When current flows through an electrical component due to a potential difference,
ira [324]

Answer:

Ohm, a german physicist, found experimentally that the current in a metal conductor is directly proportional to the potential difference across its ends

Explanation:

8 0
3 years ago
Other questions:
  • A satellite is launched 600 km from the surface of the earth, with an initial velocity of 8333.3 m./s, acting parallel to the ta
    14·1 answer
  • Does the Diesel engine have sparkling plugs? If yes, for what reason?
    10·1 answer
  • At a festival, spherical balloons with a radius of 140.cm are to be inflated with hot air and released. The air at the festival
    10·1 answer
  • Technician A says that 18 gauge AWG wire can carry more current flow that 12 gauge AWG wire. Technician B says that metric wire
    9·1 answer
  • A horizontal jet of water strikes a vertical surface on a stationary cart that has a mass of 2.8 kg. The jet has a mass flow rat
    10·1 answer
  • Which type of material is known as elastomers to materials scientists and engineers
    14·1 answer
  • How are the particles moving and and arranged in a gas?
    12·1 answer
  • The county is normally the state's largest political and _____ unit.
    12·2 answers
  • Distinguish between systems analysis and systems design?
    12·1 answer
  • A 100-ampere resistor bank is connected to a controller with conductor insulation rated 75°C. The resistors are not used in conj
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!