Operations on Data Structure

 OPERATIONS ON DATA STRUCTURES



The most commonly used operations on Data Structure are broadly categorized as follows :-

1. Create :

                            This operation results in reserving memory for the program elements. This can be done by declaring statement. The creation of data structure may take  place either during compile time or during run- time.

2. Destroy :

                              This operation destroys the memory space allocated for the specified data structure. Free () of C language is used for these operations.

3. Selection : 

This operation deals with accessing a particular data within a Data Structure.

4.Update :

This operation updates or modifies the Data in the Data Structure. Probably new data may be  entered or previously stored data may be entered or previously stored data may be deleted.

5.Searching :

This operation finds the presence of the desired Data item in the list of data item. It may also find the location of all elements that satisfy certain conditions.

6.Sorting :

It is the process of arranging all Data items in a data structure in a particular order . Say for example, either in ascending order or in descending order. 

7. Merging :

It is a process of arranging all data items of two different sorted lists into a single sorted list.

8. Insertion :

It is a process of adding a new record to the Structure. 

9. Deletion :

It is a process of removal of data element from the data structure.





  




Thank You 










Comments

Popular posts from this blog

Array Declaration

Data Structure and C

Description of Various Data Structures