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
weqwewe [10]
3 years ago
8

The ______ clause in an if statement allows a program to make one choice if the condition is true, and anothere choice if the co

ndition is false.
Physics
1 answer:
Inessa [10]3 years ago
3 0

Answer: The IF clause.

Explanation: This is the IF clause; you can use it as:

IF (something = true) then "something happens"

else "other thing happens"

Some example of it can be, suppose that your program reads a number X that the user inputs, then you can do:

If ( X > 5) then

print: "the number X is bigger than five"

Else

print: "the number X is smaller than five"

Where, of course, the statements depend on the language used, but the "if" clause works almost the same in every language.

You might be interested in
What evidence can you cite for the particle nature of light? 1. Refraction phenomenon of light 2. The many colors of light 3. Di
GalinKa [24]
Evidence for the particle nature of light are not: 1. refraction, 2.  many colors of light, 3. diffraction. These are all phenomenon that support wave theory of light. Evidence for particle nature of light is photoelectric effect. Because it was discovered that you need discrete energies of light to eject electrons from a metal surface and not continuous as the wave theory of light suggests. 
3 0
3 years ago
A boy flies a kite with the string at a 30 degree angle to the horizontal. The tension in the string is 4.5N .
sp2606 [1]
How much work in J does the string do on the boy if the boy stands still? 

<span>answer: None. The equation for work is W = force x distance. Since the boy isn't moving, the distance is zero. Anything times zero is zero </span>
<span>--------------------------------------... </span>
<span>How much work does the string do on the boy if the boy walks a horizontal distance of 11m away from the kite? </span>

<span>answer: might be a trick question since his direction away from the kite and his velocity weren't noted. Perhaps he just set the string down and walked away 11m from the kite. If he did this, it is the same as the first one...no work was done by the sting on the boy. </span>

<span>If he did walk backwards with no velocity indicated, and held the string and it stayed at 30 deg the answer would be: </span>
<span>4.5N + (boys negative acceleration * mass) = total force1 </span>
<span>work = total force1 x 11 meters </span>
<span>--------------------------------------... </span>

<span>How much work does the string do on the boy if the boy walks a horizontal distance of 11m toward the kite? </span>

<span>answer: same as above only reversed: </span>
<span>4.5N - (boys negative acceleration * mass) = total force2 </span>
<span>work = total force2 x 11 meters</span>
6 0
4 years ago
What is work - energy theorem ??​
Elden [556K]

The work-energy theorem explains the idea that the net work - the total work done by all the forces combined - done on an object is equal to the change in the kinetic energy of the object. After the net force is removed (no more work is being done) the object's total energy is altered as a result of the work that was done.

This idea is expressed in the following equation:

is the total work done

is the change in kinetic energy

is the final kinetic energy

is the initial kinetic energy

mark me as brainliest ❤️

3 0
3 years ago
Read 2 more answers
What is a force field
amid [387]
Chiefly in science fiction) an invisible barrier of exerted strength or impetus.
3 0
3 years ago
a car initially at rest move with the constant accerates along straght line read after it's spread increase and finally related
nasty-shy [4]

Answer:

32km per hour

Explanation:

Explanation:

In first case v = a t

==> a t = 40 km p h

Now distance covered S1 + S2 + S3

S1 = 1/2 a t^2 and S3 = 1/2 a t^2

But S2 = 3t * 40 = 120 t km

Hence total distance = at^2 + 120 t

Time taken (total) = t + 3t + t = 5 t

Hence average speed = at^2 + 120 t / 5 t

Cancelling t we have at + 120 / 5 = 40 + 120 / 5 = 160/5 = 32 km per hour

8 0
3 years ago
Other questions:
  • 1 what is global climate change. <br>2 consequences and the way forward​
    10·1 answer
  • An object moves in a straight line and is speeding up. Which one of the following statements is true?
    11·1 answer
  • What are fossil fuels made of?
    13·1 answer
  • Why is it inaccurate to use mgy to calculate the potential energy of a satellite orbiting earth at a height one earth radius abo
    7·1 answer
  • Escape speed from the surface of earth is about
    6·2 answers
  • Why is our (a person's) gravitational pull NOT as strong as the Earth's gravitational pull
    13·1 answer
  • LASIK eye surgery uses pulses of laser light to shave off tissue from the cornea, reshaping it. A typical LASIK laser emits a 1.
    15·1 answer
  • You hold a 0.125 kg glider A and a 0.500 kg glider B at rest on an air track with a compressed spring of negligible mass between
    13·1 answer
  • Select the correct answer.
    10·1 answer
  • Earth orbits the sun once every
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!