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]
3 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]3 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 67 kg soccer player uses 5100 kJ of energy during a 2.0 h match. What is the
Oksanka [162]

The  average power produced by the soccer player is  710 Watts.

Given the data in the question;

  • Mass of the soccer player; m = 67kg
  • Energy used by the soccer player; E = 5100KJ = 5100000J
  • Time; t = 2.0h = 7200s

Power; P =\ ?

Power is simply the amount of energy converted or transferred per unit time. It is expressed as:

Power = \frac{Energy\ converted }{time}

We substitute our given values into the equation

Power = \frac{5100000J}{7200s}\\\\Power = 708.33J/s \\\\Power = 710J/s \ \ \ \ \ [ 2\ Significant\ Figures]\\\\Power = 710W

Therefore, the  average power produced by the soccer player is  710 Watts.

Learn more: brainly.com/question/20953664

8 0
2 years ago
1.) Waves transfer ______ without moving ______
kondor19780726 [428]
I believe it goes as the following::

1) Waves transfer energy without moving particles

2) The two types of waves are longitudinal and transverse waves OR The two types of waves are mechanical and electromagnetic waves. Both are applicable and should be correct!

6 0
3 years ago
It is measured that 3/4 of a body's volume is submerged in oil of density 800kg/m³
Evgesh-ka [11]

Complete question:

It is measured that 3/4 of a body's volume is submerged in oil of density 800kg/m³. What is the specific gravity of oil?

Answer:

The specific gravity of the oil is 0.8.

Explanation:

Given;

density of the oil, \rho_o = 800 kg/m³

density of water, \rho_w = 1000 kg/m³

The specific gravity of any substance is the ratio of the substance density to the density of water.

Specific gravity of the oil = density of the oil / density of water

Specific gravity of the oil = 800/1000

Specific gravity of the oil = 0.8

Therefore, the specific gravity of the oil is 0.8.

8 0
2 years ago
What makes up (composition) of alpha particle
Pavlova-9 [17]

Alpha particles are composite particles consisting of two protons and two neutrons tightly bound together.

(not much explanation, I hope this is what you were looking for!)

5 0
2 years ago
Every 6 seconds a pendulum completes 1 cycle. What are the period and frequency of this pendulum?
Kruka [31]
Multiply 6 x 60 to get the frequency.
8 0
3 years ago
Other questions:
  • A 4.33 kg cat has 41.7 J of KE How fast is the cat moving?
    15·1 answer
  • The difference between tension and traction?
    7·1 answer
  • A dragster race car can accelerate from rest to incredible speeds. In one case a dragster is able to finish the 305 m run in 3.6
    7·1 answer
  • Which type of exercise is weightlifting?
    12·2 answers
  • Bethany had a beaker with a small amount of baking soda. She added a few drops of pickle juice to the baking soda and observed f
    12·2 answers
  • Who was the second man to walk on the moon?
    8·2 answers
  • Which of the following statements are true regarding electromagnetic waves traveling through a vacuum? (Select all that apply.)
    8·2 answers
  • A disk with a diameter of 0.05 m is spinning with a constant velocity about an axle perpendicular to the disk and running throug
    5·1 answer
  • A car mass 600kg starts from rest moving uniform acceleration 0.2 m/s^2 after 60 seconds collides with stationary pick up van of
    10·1 answer
  • Take a close look at the energy transfers and transformations shown in the above diagram. Which type of energy is transformed in
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!