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
Help me please, need more assistance
Dmitrij [34]

Explanation:

12) q = mCΔT

125,600 J = (500 g) (4.184 J/g/K) (T − 22°C)

T = 82.0°C

13) Solving for ΔT:

ΔT = q / (mC)

a) ΔT = 1 kJ / (0.4 kg × 0.45 kJ/kg/K) = 5.56°C

b) ΔT = 2 kJ / (0.4 kg × 0.45 kJ/kg/K) = 11.1°C

c) ΔT = 2 kJ / (0.8 kg × 0.45 kJ/kg/K) = 5.56°C

d) ΔT = 1 kJ / (0.4 kg × 0.90 kJ/kg/K) = 2.78°C

e) ΔT = 2 kJ / (0.4 kg × 0.90 kJ/kg/K) = 5.56°C

f) ΔT = 2 kJ / (0.8 kg × 0.90 kJ/kg/K) = 2.78°C

14) q = mCΔT

q = (2000 mL × 1 g/mL) (4.184 J/g/K) (80°C − 20°C)

q = 502,000 J

20) q = mCΔT

q = (2000 g) (4.184 J/g/K) (100°C − 15°C) + (400 g) (0.9 J/g/K) (100°C − 15°C)

q = 742,000 J

24) q = mCΔT

q = (0.10 g) (0.14 J/g/K) (8.5°C − 15°C)

q = -0.091 J

6 0
3 years ago
Galaxies are separated by?
Inessa [10]
It is number c I think
8 0
3 years ago
Read 2 more answers
you stand on a straight desert road at night and observe a vehicle approaching. this vehicle is equipped with two small headligh
inysia [295]

Answer:

The distance that you marginally able to discern that there are two headlights rather than a single light source is 6.084 km

Explanation:

Given:

d = distance = 0.679 m

λ = wavelength of the light = 537 nm = 537x10⁻⁹m

dp = pupil diameter = 4.81 mm = 0.00481 m

Question: What distance, in kilometers, are you marginally able to discern that there are two headlights rather than a single light source, dx = ?

For the separation of the peak from the central maximum it is:

sin\theta =\frac{\lambda }{d_{p} } =\frac{537x10^{-9} }{0.00481} =1.116x10^{-4}

In this case, the two small sources of the headlights have the same angle as the images that form inside the eye

d_{x} =\frac{d}{sin\theta } =\frac{0.679}{1.116x10^{-4} } =6.084x10^{3} m=6.084km

7 0
3 years ago
Which latitude receives the most direct rays of the sun year round
Pie

Zero latitude gets the most direct sun all year around. That's the equator.

The picture you attached has nothing to do with this question.

8 0
3 years ago
Important!
9966 [12]
I think that it’s the first one
4 0
3 years ago
Read 2 more answers
Other questions:
  • A charming friend of yours who has been reading a little bit about astronomy accompanies you to the campus observatory and asks
    14·1 answer
  • What is the first step in glycolysis
    8·1 answer
  • Which can a drop of liquid mercury can be described as?
    11·2 answers
  • A car is traveling in a straight line at a constant speed. The car's engine is exerting a constant force on the car. Explain why
    15·1 answer
  • How can you tell the stigma from the stamens in the flowers​
    5·1 answer
  • A conventional current of 7 A runs clockwise in a circular loop of wire in the xy plane, with center at the origin and with radi
    10·1 answer
  • a car is moving 8.80 m/s when it begins to accelerate at 2.45 m/s^2. how much time does it take to trav 138m. please help me (':
    12·1 answer
  • PLEASE HELP ME !!!!!
    9·1 answer
  • Complete the simulation for three different trails. Complete chart below, using the data for your simulation from each trail.
    9·2 answers
  • If a car is accelerating downhill under a net force of 3674 N, what force must the brakes exert to cause the car to have constan
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!