Review of Python Quiz 1

Share with others

Welcome to your Review of Python Quiz 1 on December 10, 2024

Q1. Name the python library module which need to be imported to invoke the load( ) functions.

Q2. Name the python library module which need to be imported to invoke the pow( ) functions.

Q3. uniform() function belongs to _________ module.

Q4. fabs() function belongs to __________ module.

Q5. Write the output of : print(round(4.365,1))

Q6. write the output of : print(floor(4.365,1))

import math
print(math.floor(4.365))

Q7. Which of the following are invalid identifier?

a. While
b. Class
c. Switch
d. Sum*

Q8. sqrt() function belongs to ______ module.

Q9. _________ function is required to find the second occurrence of 'a' in "amita"

Q10. _________ function is used to find the position of an item in the list


Share with others

Leave a Reply

error: Content is protected !!