Python Programming - Standard Libraries
Exercise : Standard Libraries - General Questions
- Standard Libraries - General Questions
51.
What is the purpose of the
unicodedata
module?
Answer: Option
Explanation:
The
unicodedata
module in Python provides access to the Unicode Character Database, allowing manipulation of Unicode character data.
52.
What is the purpose of the
logging
module?
Answer: Option
Explanation:
The
logging
module in Python provides a flexible framework for emitting log messages from Python programs.
53.
What does the
calendar
module in Python provide?
Answer: Option
Explanation:
The
calendar
module in Python provides functionality for manipulating calendar-related data, such as determining leap years and generating month calendars.
54.
Which module in Python is used for working with binary data and provides methods for packing and unpacking binary data structures?
Answer: Option
Explanation:
The
struct
module in Python provides methods for packing and unpacking binary data structures.
55.
What is the purpose of the
collections.deque
class?
Answer: Option
Explanation:
The
collections.deque
class in Python is used to implement double-ended queues, which can be used for efficiently adding and removing elements from both ends.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers