# What will be the output of print(math.factorial(4.5))

1.  24

2.  120

3.  error

4.  24.0

4

error

Explanation :
No Explanation available for this question

# What is math.floor(0o10)

1.  8

2.  10

3.  0

4.  9

4

8

Explanation :
No Explanation available for this question

# What does the function math.frexp(x) return

1.  a tuple containing the mantissa and the exponent of x

2.  a list containing the mantissa and the exponent of x

3.  a tuple containing the mantissa of x

4.  a list containing the exponent of x

4

a tuple containing the mantissa and the exponent of x

Explanation :
No Explanation available for this question

# What is the result of math.fsum([.1 for i in range(20)])

1.  2.0

2.  20

3.  2

4.  2.0000000000000004

4

2.0

Explanation :
No Explanation available for this question

# What is the result of sum([.1 for i in range(20)])

1.  2.0

2.  20

3.  2

4.  2.0000000000000004

4

2.0000000000000004

Explanation :
No Explanation available for this question

# What is returned by math.isfinite(float(‘inf’))

1.  True

2.  False

3.  None

4.  error

4

False

Explanation :
No Explanation available for this question

# What is returned by math.isfinite(float(‘nan’))

1.  True

2.  False

3.  None

4.  error

4

False

Explanation :
No Explanation available for this question

# What is x if x = math.isfinite(float(‘0.0’))

1.  True

2.  False

3.  None

4.  error

4

True

Explanation :
No Explanation available for this question

# What will be the output of the following Python code >>> -float('inf') + float('inf')

1.  inf

2.  nan

3.  0

4.  0.0

4

nan

Explanation :
No Explanation available for this question

# What will be the output of the following Python code print(math.isinf(float('-inf')))

1.  error, the minus sign shouldn’t have been inside the brackets

2.  error, there is no function called isinf

3.  True

4.  False

4