Python Programming - Standard Libraries
Exercise : Standard Libraries - General Questions
- Standard Libraries - General Questions
41.
Which module in Python provides support for working with compressed files, such as ZIP and tar files, in a high-level manner?
Answer: Option
Explanation:
The
zipfile
module in Python provides high-level support for working with ZIP files.
42.
What does the
random.shuffle()
function do?
Answer: Option
Explanation:
The
random.shuffle()
function in Python shuffles the elements of a list in a random order.
43.
Which module in Python is used for working with SQLite databases in an asynchronous manner?
Answer: Option
Explanation:
The
asyncsqlite
module in Python provides asynchronous support for working with SQLite databases.
44.
What is the purpose of the
platform
module?
Answer: Option
Explanation:
The
platform
module in Python provides access to platform-specific APIs and information about the current operating system.
45.
What is the purpose of the
pickle
module?
Answer: Option
Explanation:
The
pickle
module in Python is used for serializing and deserializing Python objects.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers