Tuesday 12 February 2013

What is Data Structure or Data Oraganization ?


Oraganization refers the way in which the data is represented or stored in the memory. This is also called data structure. Data can be oraganized in many ways. They are,

1) Primitive data types
2) Arrays
3) Linked List
4) Trees
5) Graphs
6) Files

If the data contains a single value, this can be organized as a primitive data type. If the data contains a set of same data type values, then this can be organized consecutively using arrays. If the data contains a set of same data type values, then this can be organized not in consecutively using linked lists.

If the data contains a set of same type of values with a hierarchial relationship, then this can be organised using trees. If the data contains a set of same values with a relationship between pairs of values, then this can be organized using graphs.

If the data contains a set of different values, then this can be organized using files.

0 comments:

Post a Comment

Powered by Blogger.