Do NOT confuse these two things:
Data type: a set of values together with operations on that type
Data structure: a physical implementation of a data type
So, one data type can be mapped to many different data structures. Some mappings make a good fit; others do not. By "good fit" we mean that the chosen data structure allows efficient implementations of the operations of the data type.
If you understand this distinction, you can become an accomplished computer scientist.Almost any noun can give rise to a data type. Here are some examples:
Some nouns probably can't be warped into being a data type. Emotions or physical states such as love, mirth, hatred, pain, bliss and anger are in this category.
There are two fundamental kinds of data structures: array of contiguous memory locations and linked structures. You can even combine the two mechanisms.
You can generally implement:
There are a variety of constructs which are technically data types but are "low-level" in the sense that their operations are partially specified. For example, a binary search tree "implements" a set by performing lookups, insertions and deletions by "navigating left and right" — but the meanings of left and right depend on whether the items in the tree are stored in an array or are linked together.