bytes, bytearray, memoryview are type of the ___ data type

7. bytes, bytearray, memoryview are type of the ___ data type.

  1. Mapping Type
  2. Boolean Type
  3. Binary Types
  4. None of the mentioned above

Answer: C) Binary Types

Explanation:

The Binary type's data type is represented by the bytes, byte array, and memory view types. Binary data manipulation is accomplished through the use of bytes and byte array. The memory view makes use of the buffer protocol in order to access the memory of other binary objects without the need to make a copy of the data. Bytes objects are immutable sequences of single bytes that can only be changed. When working with ASCII compatible data, we should only use them when necessary.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.