Professional Documents
Culture Documents
Data Structure
Data Structure
Lecture Number : 05
…Sandhya Thakkar
Operations on Data Structures
The Data stored in various Data Structures can be processed using various Operations
The choice of particular data structure for a given application mainly depends upon the
Some other operations which can be applied using Primitive Operations are :
Insertion : Adding a new element into the data structure is known as Insertion
Traversing : Accessing each element exactly once in order to process it is known as Traversing
Searching : Finding the position of the desired element in the data structure is known as Searching
Operations on Data Structures
Besides these basic operations there are some other operations which are less frequently
Splitting : Dividing Single List into TWO or MORE Lists is Splitting operation
Instructions given to the Computer to solve a particular problem are known as Algorithm
1. Finite collection
1. Input : An Algorithm must take some Input that are required for the solution of the problem
2. Process : An Algorithm must perform certain operations on the input data which are
necessary for the solution of the problem
3. Output : An Algorithm should produce certain Output after processing the Input
4. Finiteness : An Algorithm must Terminate after performing some finite number of steps
5. Effectiveness : Every step of an algorithm should play a role in the solution to the problem