Home »
MCQs »
Python MCQs
Binary data type is a fixed-width string of length bytes?
9. Binary data type is a fixed-width string of length bytes?
- True
- False
Answer: A) True
Explanation:
It is a fixed-width string of length bytes, where the length bytes is declared as an optional specifier to the type, and its width is declared as an integer. If the length is not specified, the default value is 1. When necessary, values are right-extended to fill the entire width of the column by using the zero byte as the first byte.