Data is information about anything. Before understanding data structure we need to understand data because in data structure everything is about data only. So let’s see what is data?
So, as we discuss, data is some information about anything. This anything could be anything like living or non-living things. For example, if we see data of any person then it will be like this
- Name
- Age
- Gender
- Height
And so on.
So, data represent or give information about any item
Example 2: If we see data of any Employee, it could be
- Employee id
- Employee department
- Employee salary
- Employee experience etc
Data could be as simple as the name of any person or it could be complex. In the data structure, we read and process the data so that it can be easy and fast available for processing.