Computer Science, asked by rabboni12082001, 1 month ago

What does the expression "2"+1+5 evaluate?

Select one:
Error Statement
2+1+5
2 1 5
26​

Answers

Answered by geethashetty128
5

Answer:

\Large{\bf{\green{\mathfrak{\dag{\underline{\underline{Given:-}}}}}}}†Given:−

Graph shows the positions of a body at different times.

\Large{\bf{\orange{\mathfrak{\dag{\underline{\underline{To \: Find:-}}}}}}}†ToFind:−

Speed of the body,

(i) A to B

(ii) B to C

(iii) C to D

\Large{\bf{\red{\mathfrak{\dag{\underline{\underline{Solution:-}}}}}}}†Solution:−

We know that,

\boxed{\pink{\sf Speed \: = \: \dfrac{Distance}{Time}}}Speed=TimeDistance

First let's take,

A to B

Distance covered from A to B =

Final distance covered - intial start =

3 - 0 = 3cm

Time taken =

Final time taken taken - starting time =

5 - 0 = 5s

Speed =

\sf Speed \: = \: \dfrac{3}{5}Speed=53

Therefore,

\boxed{\purple{\textsf{Speed from A to B = 0.6 cm/s.}}}Speed from A to B = 0.6 cm/s.

Second let's take,

B to C

Distance covered from B to C =

Final distance covered - initial start =

3 - 3 = 0cm

This implies that,

Body is at rest.

Time taken =

Final time taken - starting time =

7 - 5 = 2s

Speed =

Since, distance i.e numerator is 0.

Therefore,

\boxed{\purple{\textsf{Speed from B to C = 0 m/s i.e at rest.}}}Speed from B to C = 0 m/s i.e at rest.

Third let's take,

C to D

Distance covered from A to B =

Final distance covered - intial start =

7 - 3 = 4cm

Time taken =

Final time taken taken - starting time =

9 - 7 = 2s

Speed =

\sf Speed \: = \: \dfrac{4}{2}Speed=24

Therefore,

\boxed{\purple{\textsf{Speed from C to D = 2 cm/s.}}}Speed from C to D = 2 cm/s.

Finally,

Speed from A to B = 0.6 cm/s.

Speed from B to C = 0 cm/s.

Speed from C to D = 2 cm/s.

Answered by nehadixit239
16

Answer:

215

Explanation :

Since you have a string data type first anything that comes after the “+” operator will be concatenated to your data, i.e 215.

However, if you were to have the string data type at the end in place of the number , i.e

1+2+ “3” your result would be “33” as “+” on two numbers would result in an addition operation and then that result would be concatenated to your string.

You can try this in your browser console by clicking on the F12 key on your keyboard or checking out the options.

The output will be “123”

As you have a string datatype first ,any variable that comes after the “+” operator it will be concatenated to your data, i.e “123”. If you have the string data type at the end in place of the number , i.e 1+2+ “3” then output would be “33”. First addition operation and then that result would be concatenated to your string.If you have input as 1+“2”+3 then output would be “123” .

If you add string data type first then your data concatenated / Considered as string :)

Similar questions