A. The data in a dictionary data type cannot be removed once the dictionary has been created.
B. In a dictionary data type, the stored data is sequenced and indexed.
C. The data in a dictionary data type is a key/value pair.
D. In a dictionary data type, the stored data is not sequenced or indexed.
Explanation:
A Python dictionary is a data type that stores data as key/value pairs. It has the following characteristics:
Key/Value Pair (C): Each entry in a dictionary is a pair consisting of a unique key and a value. The corresponding value is accessed using the key.
Not Sequenced or Indexed (D): Unlike lists or tuples, dictionaries do not maintain order for their entries (in versions prior to Python 3.7). Even though Python 3.7+ maintains insertion order, dictionaries are not considered indexed or sequenced in the traditional sense like lists, where elements are accessed via positional index.
Option A is incorrect because dictionary entries can be added, modified, or removed after the dictionary is created. Option B is incorrect because dictionaries are accessed by their keys rather than by a numeric index.
Reference: Python Official Documentation: Details the nature of dictionaries, including their mutability and key/value structure.
Python Data Structures Guide: Explains dictionary operations and characteristics.