The data structure is a logical way of storing and organizing data.
Data: are simply value’s which are represented by 0’s and 1’s
A data item: now a data item is a single element of a data
Group item: the data item which is divided into subitems are known as a group item.
Example: a student’s name can be divided into 3 subitems
: first name
: middle name and
: the last name
Attributes: employe’s name sex age Id. Number
Values: John M 29 185-66-774
Values of an employe’s data are assigned to the attributes.
Some data structures are
- Arrays or vectors
- Linked lists
Data structure operations
Data structures are chosen based on a particular operation is performed number of times
- Copying and concatenation.
Organizing, structuring data is important to the design, development of efficient algorithms and program implementation