Possible Duplicate:
What is the difference between a composite data type and a data structure?
Explain the difference between a data *structure* and a data *type*
I was reading a book on data structure and here is what i could understand (correct me if i am getting it wrong)
In Computer science, data is stored in 1 and 0 , but for programmers convenience, all languages have primitive data types and data is stored as primitive data type rather than worrying about 1 and 0.
Going one level up, another abstraction was devised and composite data (or object in java) was used to contain primitive data type and that helped in manipulating data easily.
Last level of abstraction was data structure where data is stored in different ways depending on different use cases and that provides flexibility in manipulating data .
For each data structures, different operations are defined so that it is easier to manipulate data .
Please share your views.