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
ch4aika [34]
4 years ago
10

Before using a string in a comparison, you can use either the To Upper method or the To Lower method to convert the string to up

per case or lower case, respectively, and then use the converted string in the comparison.1. True2. False
Physics
1 answer:
Burka [1]4 years ago
5 0

Answer:

True

Explanation:

If there's no preference over the string case (upper case or lower case), one can convert both strings to upper case or to lowercase and then compare the converted strings to test if they're equal or not.

An Illustration is

string a = "Boy"

string b = 'bOy"

if(a.ToUpper() == b.ToUpper() || a.ToLower() == b.ToLower())

{

Print "Equal Strings"

}

else

{

Print "Strings are not equal";

}

The above will first convert both strings and then compare.

Since they are the same (after conversion), the statement "Equal Strings" will be printed, without the quotes

You might be interested in
A roller coaster is hard to stop because it has a lot of inertia. Infer using newtons first law
olchik [2.2K]
Lol i think i had the same worksheet!! lol anyway look up newtons first law and it will be pretty self explanatory from there
4 0
4 years ago
What is the length of the x-component of the vector shown below?
lozanna [386]

Answer:

x-component = 7.1

Explanation:

x-component = 9cos38 = 7.09 =7.1

8 0
3 years ago
You tie a string to the ceiling and attach a weight to the end. You hold the weight next to your face but not touching it and th
Orlov [11]

Answer:

Depends on how long the string is, how heavy the weight, and how high you let go of it.

But it will most likely hit you :)

3 0
3 years ago
A shell is shot with an initial velocity v with arrow0 of 18 m/s, at an angle of θ0 = 60° with the horizontal. At the top of the
BARSIC [14]

Answer:

D = 43 m

Explanation:

given,

initial velocity = 18 m/s

angle θ = 60°

total horizontal distance covered by the shell is

R = \dfrac{v_0^2sin 2\theta}{g}

applying conservation of momentum in horizontal direction

m v₀ cos θ = m₁v₁ + m₂ v₂

m v₀ cos θ = 0.5 m v₂

v₂ = 2 v₀ cos θ.

distance covered by the shell from point of explosion

R' = v t

  = (2 v_0 cos \theta) (\dfrac{v_0^2sin \theta}{g})

  =(2 \dfrac{v_0^2cos \theta sin \theta}{g})

  = \dfrac{v_0^2sin 2\theta}{g}

  = R

total distance traveled by the shell is

D = \dfrac{R}{2}+R'

   = 1.5 R

   = 1.5\dfrac{v_0^2sin 2\theta}{g}

D = 1.5\dfrac{18^2sin 2\times 60}{9.81}

   = 42.9 ≅ 43 m

D = 43 m

3 0
3 years ago
A light ray bounces off a fish in your aquarium. It travels
frutty [35]

Answer:

Correct

Explanation:

Because the light can't travel as quickly in the water as it does in the air, the light bends around the pencil, causing it to look bent in the water. Basically, the light refraction gives the pencil a slight magnifying effect, which makes the angle appear bigger than it actually is, causing the pencil to look crooked.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Three features describe the motion of an object. they are...
    13·2 answers
  • An object moves with a constant velocity of 17 m/s for 200 s. How far did it move during that time?
    12·1 answer
  • The distance versus time plot for a particular object shows a quadratic relationship. Which column of distance data is possible
    14·2 answers
  • A man pulls a suitcase of mass 15 kg with a force "F" inclined at an angle of 60° to the horizontal. The frictional force betwee
    14·1 answer
  • Question:
    11·1 answer
  • An 80-kg quarterback jumps straight up in the air right before throwing a 0.43-kg football horizontally at 15 m/s . How fast wil
    6·1 answer
  • A 47-kg packing crate is pulled with constant speed across a rough floor with a rope that is at an angle of 37 degrees above the
    5·1 answer
  • I
    11·1 answer
  • Developing a Claim
    6·1 answer
  • 9) A string exerts a force of 58 N on a box at an angle of 34 degrees from the horizontal. The box has a mass of 4 kg
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!