Python Module Quiz 1 Share with others Enter details and click on Next Name Email School Name Q1. Which of the following is not the python module? Math string random math None Q2. Write the output of the following statement. import mathprint(math.ceil(math.pi)) 3 4 3.14 3.1 None Q3. The following statement will import only "pi" module.(T/F) from math import pi False True None Q4. Which of the following statement is/are correct for importing math module? import math import Math Both of the above None Q5. What type of error is returned by the following statement? import Math ModuleNotFound ModuleFoundError ModuleNotFoundError None of the above None Q6. Which of the following constants are defined in math Module? pi e Both of the above None of the above None Q7. Which statement will return error? import math #Statement 1print(math.fabs(-9)) #Statement 2print(fabs(-9)) #Statement 3print(abs(-9)) #Statement 4 Statement 1 Statement 2 Statement 3 Statement 4 None Q8. degree( ) function of math module converts value from radian to degree.(T/F) True False None Q9. Which of the following statement is converting 30 degree angle to radian? math.radian(30) math.degree(30) math.radians(30) All of the above None Q10. Write the output of the following: import mathprint(math.sqrt(4*math.pow(4,3))) 4.0 16 16.0 8.0 None Time's upTime is Up! Related Share with others Leave a ReplyCancel reply