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
Svetllana [295]
3 years ago
12

Explain the four criteria for proving the correctness of a logical pretest loop construct of the form "while B do S end". And pr

ove the correctness of the following:
while B do S end
Engineering
1 answer:
evablogger [386]3 years ago
6 0

Answer:

Check the explanation

Explanation:

The loop invariant has to satisfy some amount of requirements to be of good use. Another complex factor as to why a loop is the question of loop termination. A loop that doesn’t terminate can’t invariably be correct, and in fact the computation in whatever form amounts to nothing. The total axiomatic description of a while construct will have to involve all of the following to be true, in which I is the loop invariant:

P => I

{I and B} S {I}

(I and (not B)) => Q

Then the loop terminates

You might be interested in
A particular electromagnetic wave travelling in vacuum is detected to have a frequency of 3 × 10 12 Hz. How much time will it ta
irina1246 [14]

3×10^-12 seconds

Explanation:

T=1/f

7 0
2 years ago
What are the 2 reasons an alignment should be done?
NikAS [45]

Answer:

because it will keep the tires in much better shape and it can improve the handling and keep your  car from pulling to one side

Explanation:

5 0
4 years ago
A 0.9% solution of NaCl is considered isotonic to mammalian cells. what molar concentration is this?
natka813 [3]

Answer:

58.44 g/mol The Molarity of this concentration is 0.154 molar

Explanation:

the molar mass of NaCl is 58.44 g/mol,

0.9 % is the same thing as 0.9g of NaCl , so this means that 100 ml's of physiological saline contains 0.9 g of NaCl.  One liter of physiological saline must contain 9 g of NaCl.  We can determine the molarity of a physiological saline solution by dividing 9 g by 58 g... since we have 9 g of NaCl in a liter of physiological saline, but we have 58 grams of NaCl in a mole of NaCl.  When we divide 9 g by 58 g, we find that physiological saline contains 0.154 moles of NaCl per liter.  That means that physiological saline (0.9% NaCl) has a molarity of 0.154 molar.  We can either express this as 0.154 M or 154 millimolar (154 mM).

3 0
3 years ago
Which federal agency issues the model food code?
umka2103 [35]

The FDA! (food and drug administration)

4 0
3 years ago
Read 2 more answers
In what type of automobile is a transaxle most commonly found?
user100 [1]

Answer: vehicles with a front engine and FWD or a rear engine and RWD.

Explanation But the transaxle can also be integrated into the rear axle on cars with a front engine and rear-wheel drive. The transaxle is in the rear where the differential would be rather than beside the engine.

7 0
3 years ago
Other questions:
  • The following laboratory tests are performed on aggregate samples:a. Specific gravity and absorptionb. Soundnessc. Sieve analysi
    13·1 answer
  • Air at 7°C enters a turbojet engine at a rate of 16 kg/s and at a velocity of 220 m/s (relative to the engine). Air is heated in
    7·1 answer
  • 5. Identify the pros and cons of<br> manufactured siding.
    12·1 answer
  • What is not required for current to flow through a conductor
    12·1 answer
  • A hot-water stream at 80°C enters a mixing chamber with a mass flow rate of 0.46 kg/s where it is mixed with a stream of cold wa
    14·1 answer
  • ... is an actual sequence of interactions (i.e., an instance) describing one specific situation; a ... is a general sequence of
    9·1 answer
  • 1. Given: R= 25 , E = 100 V<br> Solve for I
    5·1 answer
  • Our aim is to calculate the efficiency of a gas turbine by assuming it operation can be modeled as a Carnot cycle. The kerosene
    9·1 answer
  • true or false modeling is making predictions about future data points not associated with your equation? Explain why.​
    12·1 answer
  • Determine the slopes and deflections at points B and C for the beam shown below by the moment-area method. E=constant=70Gpa I=50
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!