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
Kryger [21]
3 years ago
11

2) Consider schedules S3, S4, and S5 below. Determine whether each schedule is strict, cascadeless, recoverable, or non-recovera

ble. You need to explain your reason.
S3: r1(x), r2(z), r1(z), r3(x), r3(y), w1(x), c1, w3(y), c3, r2(y), w2(z),w2(y),c2


S4: r1(x), r2(z), r1(z), r3(x), r3(y),w1(x),w3(y), r2(y),w2(z),w2(y), c1,c2, c3


S5: r1(x), r2(z), r3(x), r1(z), r2(y), r3(y), w1(x), c1, w2(z), w3(y), w2(y), c3, c2
Engineering
1 answer:
gulaghasi [49]3 years ago
7 0

Answer:

Explanation:

Consider schedules S3, S4, and S5 below. Determine whether each schedule is strict, cascadeless, recoverable, or non-recoverable. You need to explain your reason.

S3: r1(x), r2(z), r1(z), r3(x), r3(y), w1(x), c1, w3(y), c3, r2(y), w2(z),w2(y),c2

S4: r1(x), r2(z), r1(z), r3(x), r3(y),w1(x),w3(y), r2(y),w2(z),w2(y), c1,c2, c3

S5: r1(x), r2(z), r3(x), r1(z), r2(y), r3(y), w1(x), c1, w2(z), w3(y), w2(y), c3, c2

Strict schedule:

A schedule is strict if it satisfies the following conditions:

Tj reads a data item X after Ti has written to X and Ti is terminated means aborted or committed.

Tj writes a data item X after Ti has written to X and Ti is terminated means aborted or committed.

S3 is not strict because In a strict schedule T3 must read X after C1 but here T3 reads X (r3(X)) before Then T1 has written to X (w1(X)) and T3 commits after T1.

S4 is not strict because In a strict schedule T3 must read X after C1, but here T3 reads X (r3(X)) before T1 has written to X (w1(X)) and T3 commits after T1.

S5 is not strict because T3 reads X (r3(X)) before T1 has written to X (w1(X))

but T3 commits after T1. In a strict schedule T3 must read X after C1.

Cascadeless schedule:

Cascadeless schedule follows the below condition:

Tj reads X only? after Ti has written to X and terminated means aborted or committed.

S3 is not cascadeless schedule because T3 reads X (r3(X)) before T1 commits.

S4 is not cascadeless schedule because T3 reads X (r3(X)) before T1 commits.

S5 is not cascadeless schedule because T3 reads X (r3(X)) before T1 commits or T2 reads Y (r2(Y)) before T3 commits.

But while come to the definition of cascadeless schedules S3, S4, and S4 are not cascadeless, and T3 is not affected if T1 is rolled back in any of the schedules, that is,

T3 does not have to roll back if T1 is rolled back. The problem occurs because these

schedules are not serializable.

Recoverable schedule:

Schedule that follows the below condition:

-----Tj commits after Ti if Tj has?read any data item written by Ti.

Ci > Cj means that Ci happens before Cj. Ai denotes abort Ti. To test if a schedule is

recoverable one has to include abort operations. Thus in testing the recoverability abort

operations will have to used in place of commit one at a time. Also the strictest condition is

------where a transaction neither reads nor writes to a data item, which was written to by a transaction that has not committed yet.

If A1?>C3>C2, then schedule S3 is recoverable because rolling back of T1 does not affect T2 and

T3. If C1>A3>C2. schedule S3 is not recoverable because T2 read the value of Y (r2(Y)) after T3 wrote X (w3(Y)) and T2 committed but T3 rolled back. Thus, T2 used non- existent value of Y. If C1>C3>A3, then S3 is recoverable because roll back of T2 does not affect T1 and T3.

Strictest condition of schedule S3 is C3>C2.

If A1?>C2>C3, then schedule S4 is recoverable because roll back of T1 does not affect T2 and T3. If C1>A2>C3, then schedule S4 is recoverable because the roll back of T2 will restore the value of Y that was read and written to by T3 (w3(Y)). It will not affect T1. If C1>C2>A3, then schedule S4 is not recoverable because T3 will restore the value of Y which was not read by T2.

You might be interested in
The ________________ attraction between the Earth and the moon is ______________ on the side of the Earth that happens to be ___
Karolina [17]

Answer:

Gravitational; strongest; facing; closer; near side; toward.

Explanation:

The gravitational attraction between the Earth and the moon is strongest on the side of the Earth that happens to be facing the moon, simply because it is closer. This attraction causes the water on this “near side” of Earth to be pulled toward the moon. These forces of attraction and inertia tends to keep the water in place and consequently, leads to a bulge of water on the near side with respect to the moon.

Also, you should note that what is responsible for the moon being in orbit around the Earth is the gravitational force of attraction between the two planetary bodies (Earth and Moon).

7 0
3 years ago
PLEASE HELP QUICK!!
ivolga24 [154]

R01= 14.1 Ω

R02=  0.03525Ω

<h3>Calculations and Parameters</h3>

Given:

K= E2/E1 = 120/2400

= 0.5

R1= 0.1 Ω, X1= 0.22Ω

R2= 0.035Ω, X2= 0.012Ω

The equivalence resistance as referred to both primary and secondary,

R01= R1 + R2

= R1 + R2/K2

= 0.1 + (0.035/9(0.05)^2)

= 14.1 Ω

R02= R2 + R1

=R2 + K^2.R1

= 0.035 + (0.05)^2 * 0.1

= 0.03525Ω

Read more about resistance here:

brainly.com/question/17563681

#SPJ1

5 0
1 year ago
Easy POINTS computer genius help me plz
Norma-Jean [14]

Answer:

dedededededede

Explanation:

4 0
3 years ago
Many farms and ranches use electric fences to keep animals from getting into or out of specific pastures. When switched on, an e
Nikolay [14]

Answer:

Aluminum

Explanation:

The best material to use when creating an electric fence would be Aluminum. Aluminum wiring is incredibly durable and can be easily obtained. Since aluminum is a non-magnetic metal its conducting capabilities far exceed other metallic options in the market and is also why companies choose aluminum for their high tension cable wiring. Aside from being more expensive than other feasible options its durability and conducting capabilities make it easily the best option.

7 0
2 years ago
Read 2 more answers
Calculate the radius of gyration for a bar of rectangular cross section with thickness t and width w for bending in the directio
SVEN [57.7K]

Answer:

a)R= sqrt( wt³/12wt)

b)R=sqrt(tw³/12wt)

c)R= sqrt ( wt³/12xcos45xwt)

Explanation:

Thickness = t

Width = w

Length od diagonal =sqrt (t² +w²)

Area of raectangle = A= tW

Radius of gyration= r= sqrt( I/A)

a)

Moment of inertia in the direction of thickness I = w t³/12

R= sqrt( wt³/12wt)

b)

Moment of inertia in the direction of width I = t w³/12

R=sqrt(tw³/12wt)

c)

Moment of inertia in the direction of diagonal I= (w t³/12)cos 45=( wt³/12)x 1/sqrt (2)

R= sqrt ( wt³/12xcos45xwt)

4 0
3 years ago
Other questions:
  • A heat engine does 210 J of work per cycle while exhausting 440 J of waste heat. Part A What is the engine's thermal efficiency?
    6·1 answer
  • 3. (9 points) A square-thread power screw is used to raise or lower the basketball board in a gym, the weight of which is W = 10
    12·1 answer
  • A combined gas-steam power cycle uses a simple gas turbine for the topping cycle and a simpleRankine cycle for the bottoming cyc
    8·1 answer
  • Given a program with execution times broken down shown below. Assume that techniques can only be applied to accelerate the integ
    12·1 answer
  • A car air-conditioning unit has a 0.5-kg aluminum storage cylinder that is sealed with a valve, and itcontains 2 L of refrigeran
    5·1 answer
  • Ring rolling is a deformation process in which a thick-walled ring of smaller diameter is rolled into a thin-walled ring of larg
    11·1 answer
  • If a and b are both int arrays, then a b; will
    10·1 answer
  • Which is an alloy made up of iron and carbon and has high compressive and tensile strength?
    6·1 answer
  • Which of the following devices is a simple machine?
    11·2 answers
  • Problem 3.10 One/half million parts of a certain type are to be manufactured annually on dedicated production machines that run
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!