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 swimming pool has the shape of a box with a base that measures 30 m by 10 m and a uniform depth of 2.5 m. How much work is req
pav-90 [236]

Answer:

18,375 kJ

Explanation:

Parameters given:

Density of water: 1000 kg/m³

Acceleration due to gravity = 9.8 m/s²

Dimensions of pool = 30m × 10m × 2.5m

Depth of pool = 2.5 m

First we need to find the mass of the water in the pool:

Density = mass/volume

Mass = density * volume

Since the pool is full of water, the volume of the water is equal to the volume of the pool:

Volume = 30 * 10 * 2.5 = 750 m³

Mass = 1000 * 750

Mass = 750,000 kg

We can now find the force required to pump the water out of the pool:

F = m * g

Where m = mass of water

g = acceleration due to gravity

F = 750,000 * 9.8 = 7,350,000 N

The work needed to be done is the product of the force required by the distance the water would need to move to be pumped out (depth of pool):

Work = F * d

Work = 7,350,000 * 2.5

Work = 18,375,000 J = 18,375 kJ

4 0
3 years ago
Read 2 more answers
What is electromagnetic indiction​
lora16 [44]


Electromagnetic or magnetic induction is the production of an electromotive force across an electrical conductor in a changing magnetic field. Michael Faraday is generally credited with the discovery of induction in 1831, and James Clerk Maxwell mathematically described it as Faraday's law of induction.
6 0
3 years ago
What environments does tornado not occur in?
Nadusha1986 [10]
The winter I think would be the answer
5 0
3 years ago
Read 2 more answers
At its maximum speed, a typical snail moves about 4.0 m in 5.0 min.
stiv31 [10]

Answer:

Explanation:

Given

Distance = 4.0m

Time = 5.0 mins = 300secs

Required

Average speed

Average speed = Distance/Time

Average speed = 4.0/300

Average speed = 0.01333m/secs

Hence the average speed of the snail is 0.01333m/s

6 0
3 years ago
A simple pendulum consists of a mass m (the "bob") hanging on the end of a thin string of length l and negligible mass. The bob
svetlana [45]

Answer:

The pendulum frequency  is (c) the same, or very close to it

Explanation:

The simple pendulum corresponds to a simple harmonic movement, to reach this approximation in the expression of the force the sine of the angle (θ) approaches an angle value, this is only true for small angles, generally less than 15º

Sine (15th) = 0.2588

The angle in radians is 15º π / 180º = 0.26180.2588 / 0.2618

The difference between these two values ​​is less than 1.2%

for smaller angle the difference is reduced more

Therefore, the period for both the 5º and 10º angles is almost the same

5 0
3 years ago
Other questions:
  • Which shows evidence of active transport?
    13·2 answers
  • What is the closest star that could go supernova?
    11·1 answer
  • When fat comes in contact with sodium hydroxide, it produces soap and glycerin. Determine whether this is a physical change or a
    5·2 answers
  • How many miles long is burma from north to south?
    6·1 answer
  • An airplane with a speed of 92.3 m/s is climbing upward at an angle of 51.1 ° with respect to the horizontal. When the plane's a
    7·1 answer
  • Consider the flask apparatus below, which contains 2.00 L of H2 at a pressure of 353 torr and 1.00 L of N2 at an unknown pressur
    15·2 answers
  • A student has a sample of an insoluble solid and a liquid. The task is to separate the mixture into its pure components. What qu
    8·1 answer
  • Your toaster has a power cord with a resistance of 2.2x10^−2 Ω connected in series with a 9.7 Ω nichrome heating element. The po
    6·1 answer
  • According to ohms law, as the voltage increases across a 40 ohm resistor what happens to the current, resistors, and resistance
    8·1 answer
  • a student throws a coin vertically downward frok the top of a building. the coin leaves the throwers hand with a speed of 15.0m/
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!