Question Detail

COS 102 lecture 4 Objective Question

Question

Which of the following is listed as a 'Binary type' in Python's standard data types?
Options
A str
B list
C bytes
Correct Answer
D bool
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 37, under 'Standard Data Types', lists 'Binary types: bytes, bytearray, memoryview'.

Hint

Refer to the 'Standard Data Types' table on page 37 and find the category for 'Binary types'.

Question Info