What is Data Structure?

The data structure is a logical way of storing and organizing data.

Basic concept

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

Data Organization

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
  • Stacks
  • Linked lists
  • Queues
  • Trees
  • Hashes
  • Sets

 Data structure operations

Data structures are chosen based on a particular operation is performed number of times

  • Traversing
  • Inserting
  • Searching
  • Deleting
  • Sorting
  • Merging
  • Copying and concatenation.

Organizing, structuring data  is important to the design, development of efficient algorithms and program implementation

anees

Hi, i am Mohammed Anees

Leave a Reply

Your email address will not be published.