Python Standard Library

Explore common Python modules like os,sys,and datetime.

1. Which module in the Python Standard Library is used for working with JSON data?
2. Which method of datetime.datetime returns the current local date and time?
3. Which module provides tools for interacting with the operating system?
4. What is the primary purpose of the 'sys' module?
5. Which module includes the 'Counter' class for counting hashable objects?
6. Which modules are part of the Python Standard Library? (Select all that apply)
7. Which functions/modules can read from standard input? (Select all that apply)
8. Which are numeric modules in the Standard Library? (Select all that apply)
9. Which data structures are in the 'collections' module? (Select all that apply)
10. The 'math' module includes a 'factorial' function to compute the factorial of a number.
11. random.randint(a, b) returns a random integer between a and b, inclusive of both endpoints.
12. The 'requests' module is part of the Python Standard Library.
13. What module is used for working with regular expressions? (full name)
14. Name the module for parsing command-line arguments (full name).
15. What module serializes Python objects to/from byte streams? (full name)
Answered 0 of 0 — 0 correct