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
Fantom [35]
3 years ago
9

When nondeterminism results from multiple threads attempting to access a shared resource such as a shared variable or a shared f

ile, at least one of the accesses is an update, and the accesses can result in an error, we have a race condition.
a) True
b) False
Engineering
1 answer:
Sindrei [870]3 years ago
6 0

Answer:

a) True

Explanation:

In Computer programming, when a multiple thread is executing, the sequence in which the statements (codes) contained therein are executed by these multiple thread is mainly nondeterministic in nature.

When nondeterminism results from multiple threads attempting to access a shared resource such as a shared variable or a shared file, at least one of the accesses is an update, and the accesses can result in an error, we have a race condition.

A race condition can be defined as a condition in which multiple threads have the ability to access shared data at the same time and as such they both try to change (modify) the data. Thus, in a race condition occurs in computer (software) programming when a software application's behavior is solely dependent on the timing of multiple threads (processes) in order to function properly.

You might be interested in
A solid cylinder is concentric with a straight pipe. The cylinder is 0.5 m long and has an outside diameter of 8 cm. The pipe ha
poizon [28]

Answer :  

The force needed to move the cylinder is 25.6 N

<h2>Further explanation  </h2>

Given that,  

Length of the cylinder, l = 0.5 m  

Outer diameter of the cylinder, d = 8 cm = 0.08 m  

Outer radius of the cylinder, r=0.04\ m  

Inside diameter of the pipe, d = 8.5 cm = 0.085 m  

Inside radius of the pipe, r=0.0425\ m  

Specific gravity of the oil, \rho=0.92  

Density of oil, d=\rho\times \rho_w

Kinematic viscosity of the oil, v=5.57\times 10^{-4}\ m^2/s  

Velocity of the cylinder, u = 1 m/s  

We need to find the force needed to move the cylinder. Let the force is F.  

Specific gravity is defined as the ratio of the density of the substance to the density of water.  

Kinematic viscosity is the acquired resistance of a fluid when there is no external force is acting except gravity. It is denoted by v.

Absolute viscosity is given by :

v=\dfrac{\mu}{d}

Where, d = density of oil

And d=\rho\times \rho_w (density of oil = specific gravity × density of water )

d=0.92\times 10^3\ kg/m^3

So,  

\mu=v\times d..............(1)

\mu=5.57\times 10^{-4}\ m^2/s\times 0.92\times 10^3\ kg/m^3

\mu=0.512\ Pa-s

The separation between the cylinder and pipe is given by :

dy=\dfrac{d_p-d_c}{2}=\dfrac{8.5-8}{2}=0.25\ cm=0.0025\ m

d_p\ and\ d_c are diameter of pipe and cylinder respectively.  

The mathematical expression for the Newton's law of viscosity can be written as:  

\tau\propto\dfrac{du}{dy}  

\tau=\mu\times \dfrac{du}{dy}..........(2)  

Where  

\tau = Shear stress, \tau=\dfrac{F}{A}............(3)  

\mu = viscosity  

\dfrac{du}{dy} = rate of shear deformation

On rearranging equation (1), (2) and (3) we get :  

\dfrac{F}{A}=v\times \rho\times \dfrac{du}{dy}...............(4)  

A is the area of the cylinder, A=2\pi rl  

Equation (4) becomes :  

F=v\times \rho\times \dfrac{du}{dy}\times 2\pi rl..............(5)

A=\pi d\times l

A=\pi \times 0.08\ m\times 0.5\ m

A=0.125\ m^2

Now, equation (5) becomes :

F=(v\times \rho)\times \dfrac{du}{dy}\times 2\pi rl

F=(0.512\ Pa-s)\times (\dfrac{1}{0.0025\ m})\times \times 0.125\ m^2

F = 25.6 N

<h2>Learn more  </h2>

Kinematic viscosity : brainly.com/question/12947932

<h2>Keyword :  </h2>

Specific gravity, Kinematic viscosity, Area of cylinder, fluid mass density.  

7 0
3 years ago
Which one of these is NOT considered a skill?
Ugo [173]

Answer:

number 2 people skills

Explanation:

i think people skills does not make cense because you can not control what people think

4 0
3 years ago
Read 2 more answers
In what step of the Design Process would you interview a professional engineer?
kotykmax [81]

Answer:

when you are in the design process so you can get his insite

Explanation:

3 0
3 years ago
A brittle material typically exhibits substantial plastic deformation with high energy absorption before fracture.a) trueb) fals
tino4ka555 [31]

Answer:

<h2>The answer is FALSE</h2>

Explanation:

Brittle material are materials that don not undergo plastic deformation, they have very low plasticity that is while cracks can form without plastic deformation

The major/ common examples are glass, ceramics, graphite

In other words brittle materials break instead of bending, they have very low energy absorption as they don not undergo plastic deformation

8 0
3 years ago
True or False: A fully charged battery has an electrolyte specific gravity of 1.000.
nevsk [136]

Answer:

False

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • An ideal gas turbine operates using air coming at 355C and 350 kPa at a flow rate of 2.0 kg/s. Find the rate work output
    13·1 answer
  • What will occur when the trough of Wave A overlaps the trough of Wave B?
    8·2 answers
  • Disk A has a mass of 8 kg and an initial angular velocity of 360 rpm clockwise; disk B has a mass of 3.5 kg and is initially at
    5·2 answers
  • The Review_c object has a lookup relationship up to the Job_Application_c object. The job_Application_c object has a master-deta
    7·1 answer
  • You are preparing to work with Chemical A. You open the appropriate storage cabinet, and notice Chemical B, as well as Chemical
    9·1 answer
  • Computers work with only two states: zero and one (e.g. short , tall)and is known as binary however in fuzzy logic there are ran
    14·1 answer
  • Air enters a compressor at 100 kPa, 10°C, and 220 m/s through an inlet area of 2 m2. The air exits at 2 MPa and 240°C through an
    10·1 answer
  • How many astronauts work<br> in the International Space Station
    7·1 answer
  • What regulates labeling of food, drugs, and cosmetics?
    10·2 answers
  • Is the science of measurement
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!