KUMAR SHIVAM

Define data structure. Explain data structure operations ?

Data Structures and Algorithms

Answer in Short

The logical or mathematical model of an organization of data is called a Data Structure. ...The data appearing in our data structures are processed by means of certain operations. In fact, the particular data structure that one chooses for a given s

Explanation

961    0

DATA STRUCTURE------

  • The logical or mathematical model of an organization of data is called a Data Structure.

 

DATA STRUCTURE OPERATIONS----

===>  The data appearing in our data structures are processed by means of certain operations. In fact, the particular data structure that one chooses for a given situation depends largely on the                      frequency with which specific operations are performed.

 

  1. Traversing
  2.  Searching
  3. Inserting
  4. Deleting
  5. Sorting
  6. Merging

TRAVERSING----

>>  Accessing each record exactly once so that certain items in the record maybe processed. (This accessing and processing is sometimes called "visiting" the record)

SEARCHING----

>>  Finding the location of the record with a given key value, or finding the locations of all records which satisfy one or more conditions.

INSERTING----

>>  Adding a new record to the structure

DELETING ----

>> : Removing a record from the structure

SORTING----

>> Arranging the records in some logical order

MERGING----

>> Combining the records of two different sorted files into a single sorted file

 



Share:   

More Questions from Data Structures and Algorithms Module 1