Modules Set-1

Instruction:-

  • Number of Questions : 25
  • Total Marks : 25
  • Each question carry 1 Marks.
  • No negative marking

  •  

    Results

    #1. What is a Python module?

    #2. Which function is used to include a module in Python?

    #3. Which of the following is a built-in Python module?

    #4. How do you import the math module in Python?

    #5. Which function from the math module returns the square root of a number?

    #6. What does the random.randint(a, b) function do?

    #7. Which module is used to work with regular expressions in Python?

    #8. What does the os.getcwd() function do?

    #9. Which module provides functions to interact with the operating system?

    #10. Which function from the datetime module returns the current date and time?

    #11. Which module is used to handle CSV files in Python?

    #12. What does the csv.reader() function do?

    #13. Which module provides functions to generate random numbers?

    #14. Which module is used to handle signal handling in Python?

    #15. What does the signal.signal() function do?

    #16. Which module is used to handle time-related tasks in Python?

    #17. Which module is used to handle calendar-related tasks in Python?

    #18. What does the calendar.month() function do?

    #19. What does the time.sleep() function do?

    #20. Which module is used to handle file I/O operations in Python?

    #21. What does the io.open() function do?

    #22. Which module is used to handle data serialization in Python?

    #23. Which module can be used to create ZIP files in Python?

    #24. What does zipfile.ZipFile() do?

    #25. Which module is used for working with decimal numbers accurately?

    Previous
    Finish

    Leave a Comment

    Your email address will not be published. Required fields are marked *