Which of the following expressions involves coercion when evaluated in Python

1.  4.7 – 1.5

2.  7.9 * 6.3

3.  1.7 % 2

4.  3.4 + 4.6

4

1.7 \% 2

Explanation :
No Explanation available for this question

What will be the output of the following Python expression 24//6%3, 24//4//2

1.  (1,3)

2.  (0,3)

3.  (1,0)

4.  (3,1)

4

(1,3)

Explanation :
No Explanation available for this question

Which among the following list of operators has the highest precedence +, -, **, %, /, , |

1.

2.  **

3.  |

4.  %

4

**

Explanation :
No Explanation available for this question

What will be the value of the following Python expression float(4+int(2.39)%2)

1.  5.0

2.  5

3.  4.0

4.  4

4

4.0

Explanation :
No Explanation available for this question

Which of the following expressions is an example of type conversion

1.  4.0 + float(3)

2.  5.3 + 6.3

3.  5.0 + 3

4.  3 + 7

4

4.0 + float(3)

Explanation :
No Explanation available for this question

Which of the following expressions results in an error

1.  float(‘10’)

2.  int(‘10’)

3.  float(’10.8’)

4.  int(’10.8’)

4

int(’10.8’)

Explanation :
No Explanation available for this question

What will be the value of the following Python expression 4+2**5//10

1.  3

2.  7

3.  77

4.  0

4

7

Explanation :
No Explanation available for this question

The expression 2**2**3 is evaluates as: (2**2)**3.

1.  True

2.  False

2

False

Explanation :
No Explanation available for this question

What will be the output of the following Python code snippet if x=1 x

1.  8

2.  1

3.  2

4.  4

4

4

Explanation :
No Explanation available for this question

1.  ‘0b10111’

2.  ‘0b11101’

3.  ‘0b11111’

4.  ‘0b11111’

4