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 firework is ignited, and explodes with a flash and a loud bang as it is blown apart. The system consists of: the firework, the
butalik [34]

The complete question is:

Study the scenario. A firework is ignited, and explodes with a flash and a loud bang as it is blown apart. The system consists of: the firework, the earth, and the air. which choice best describes how energy is transformed in the system?

A) When the firework is ignited, a chemical reaction absorbs energy from the surrounding environment. the energy is in several forms including sound and light, and mechanical energy of the fragments of the firecracker that are launched through the air. Eventually all the energy released is transformed into thermal energy.

B) When the firework is ignited, a chemical reaction releases energy in several forms, including sound, light, and the mechanical energy of the fragments being launched through the air. Eventually all the energy released is transformed into mechanical energy.

C) When the firework is ignited, a chemical reaction releases energy in several forms, including sound, light, and the mechanical energy of the fragments being launched through the air. Eventually all the energy released is transformed into thermal or mechanical energy.

D) When the firework is ignited, a chemical reaction absorbs energy from the surrounding environment. The energy is taken in in several forms including sound and light, and mechanical energy of the fragments being launched through the air. Eventually all the energy is transformed into thermal energy.

Answer:

C) When the firework is ignited, a chemical reaction releases energy in several forms, including sound, light, and the mechanical energy of the fragments being launched through the air. Eventually all the energy released is transformed into thermal or mechanical energy.

Explanation:

Energy is released from the system, not absorbed.

All the sound, light and movement of the debris is as a result of energy transformation from the chemical energy.

Eventually, most of the energy are finally wasted away as heat energy.

Some of the energy is used up by the flying particles from the fireworks.

8 0
3 years ago
NGSS Physics
vovangra [49]
Answer: 3.5 seconds

EXPLANATION:

Using the formula:
v = u + at
And taking the upwards direction as positive, we have the following information:

u = 35 m/s
a = -10m/s^2 (this is acceleration due to gravity)

At the top of its path, the apple will have a velocity of 0 m/s, therefore:

v = 0m/s

Once you substitute everything into the formula, you get:

0 = 35 + (-10)t

Therefore, t = 35/10 = 3.5 seconds
6 0
3 years ago
Can there be displacement of an object in the absence of any force acting on it? Think, Discuss it with your friends and teacher
Fudgin [204]

Answer:

An object can have a displacement in the absence of any external force acting on it

Explanation:

When a object moves with a constant velocity (v), then it gets displaced in the direction of motion but the net external force experienced by the object is zero.

F  external  =ma

If object moves with constant velocity, acceleration is zero.

Since, a=0  ⟹F  external  =0

Using  s=ut+  1/2 at  ^2

 ⟹    Displacement    s=ut    (∵a=0)

Hence, an object can have a displacement in the absence of any external force acting on it

Hope this helped you:)

5 0
3 years ago
Convert 13.1 miles to feet. Using one step conversion
Marat540 [252]

Answer:

69,168 ft

Explanation:

6 0
3 years ago
Stages of global warming
ddd [48]

Answer:

- Glaciers melt

- The seas rise

- Temperature changes

- Humans add heat trapping greenhouse gasses

7 0
3 years ago
Other questions:
  • What is the best definition of muscular strength
    14·1 answer
  • To determine the mechanical advantage of a wedge, you divide the length of the slope by the __________________.
    7·2 answers
  • A force of 21.0 n is required to start a 2.8 kg box moving across a horizontal concrete floor. (a) what is the coefficient of st
    7·1 answer
  • Object A is negatively Charged. object A and Object B attract. Object B and Object C repel. Object C and Object D attract. What
    8·1 answer
  • Which is an example of the first law of thermodynamics?
    10·1 answer
  • What are volcanoes made of
    5·1 answer
  • What will happen if a low massive main sequence star runs out of hydrogen fuel?​
    10·1 answer
  • An object with a mass of 2.0 kg accelerates 2.0 m/s2 when an unknown force is applied to it. What is the amount of the force?​
    8·2 answers
  • There is a parallel plate capacitor. Both plates are 4x2 cm and are 10 cm apart. The top plate has surface charge density of 10C
    15·1 answer
  • _________ transport is when something passes thru the cell membrane without any input of energy.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!