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
Explain what a margin of safety is in driving as well as how it can help minimize risk.
Yakvenalex [24]

Answer:

A safety margin is the space left between your vehicle and the next to provide room, time and visibility at every instant

Explanation:

A safety margin is defined as an allowance given between your vehicle and the next vehicle in front to provide enough room, visibility and time to move in a safe manner to prevent the occurrence of an accident at anytime the frontal vehicle suddenly stops or slows down

Safety margins help minimize risks in the following way

1) A common knowledge of safety margins, improves predictability among road users, thereby minimizing the risk traffic accidents caused due to late communication

2) The use of safety margins helps minimize the risk due to a change in driving conditions such as when the road becomes more slippery from being covered with fluid that is being wetted

3) Safety margin can help prevent the occurrence of an accident between vehicles due to failure of a car system, such as a punctured tire or failed breaking system

4) Safety margin helps to protect road users from the introduction of obstacles on the main roads such as ongoing road construction, broken down vehicles, road blockage by vehicles involved in an accident etc

5) Safety margin help protect road users from being involved in an accident due to the loss of driving focus of the driver of the frontal vehicle

6 0
3 years ago
How many hours should I charge a 4.8v 600mah battery (I need it by today please)
prohojiy [21]

The number of hours that will be needed to charge a 600mah battery will be 1.5 hours.

<h3>What is a battery?</h3>

It should be noted that an electric battery simply means a source of electric power that consist of one or more electrochemical cells that are with external connections that are important for powering electrical devices.

It should be noted that when a battery is supplying power, then the positive terminal is the cathode while the negative terminal is the anode.

In conclusion, the number of hours that will be needed to charge a 600mah battery will be 1.5 hours.

Learn more about battery on:

brainly.com/question/16896465

#SPJ1

5 0
2 years ago
Where are the ar manufacturers not fitting the engine in the high end sport cars
fomenos

Answer:

it depends on the but i would recommend check in the front next to the turbo intake.

8 0
3 years ago
Ignoring any losses, estimate how much energy (in units of Btu) is required to raise the temperature of water in a 90-gallon hot
Rudik [331]

Answer:

Q=36444.11 Btu

Explanation:

Given that

Initial temperature = 60° F

Final temperature = 110° F

Specific heat of water = 0.999 Btu/lbm.R

Volume of water = 90 gallon

Mass = Volume x density

1\ gallon = 0.13ft^3

Mass ,m= 90 x 0.13 x 62.36 lbm

m=729.62 lbm

We know that sensible heat given as

Q= m Cp ΔT

Now by putting the values

Q= 729.62 x 0.999 x (110-60) Btu

Q=36444.11 Btu

5 0
3 years ago
When the psychologist simply records the relationship between two variables...
Wewaii [24]
When a psychologist simply records the relationship between two variables without manipulating them, it is called a correlational study.

The observed relationship does not by itself reveal which variable causes the other. This is the directionally problem. Also, the relationship may be due to a third variable controlling both of the observed variables.
8 0
3 years ago
Other questions:
  • A dipstick is (a direct,an indirect) measurement device
    13·1 answer
  • Which phrases describe an irregular galaxy?
    8·1 answer
  • What is a thermal reservoir?
    15·1 answer
  • Automotive service P2 Wastewater Management and Handling Spins
    9·1 answer
  • Please help <br>.. <br>....<br> . .<br>....<br>...​
    13·1 answer
  • name the process by which mild steel can be converted into high carbon steel and explain it briefly ?​
    12·1 answer
  • Tech A says that coolant circulates through some intake manifolds to help warm them up. Tech B says that some intake manifolds u
    13·1 answer
  • What additional information would make the following problem statement stronger? Select all that apply.
    8·1 answer
  • Why are there few effective HCI standards?
    6·1 answer
  • Multiple Choice
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!