What are data structures?


Virtual Assistant, Web Design and bookkeeping services

A data structure is a way of storing data in a computer so that it can be used efficiently and it will allow the most efficient algorithm to be used. The choice of the data structure begins from the choice of an abstract data type (ADT). A well-designed data structure allows a variety of critical operations to be performed, using as few resources, both execution time and memory space, as possible. Data structure introduction refers to a scheme for organising data, or in other words, it is an arrangement of data in computer’s memory in such a way that it could make the data quickly available to the processor for required calculations.

A data structure should be seen as a logical concept that must address two fundamental concerns:

  1. First, how the data will be stored, and
  2. Second, what operations will be performed on it.

As a data structure is a scheme for data organisation so the fundamental definition of a data structure should be independent of its implementation. The functional definition of a data structure is known as ADT (Abstract Data Type) which is independent of implementation. The way in which the data is organised affects the performance of a program for different tasks. Computer programmers decide which data structures to use based on the nature of the data and the processes that need to be performed on that data. Some of the most commonly used data structures include lists, arrays, stacks, queues, heaps, trees and graphs.

Data structures
Key data types are basic building blocks when constructing larger pieces of code.

You May Also Like…

The origins of Java

The origins of Java

In 1990, Patrick Naughton, a disgruntled software engineer working for Sun Microsystems (the company was acquired and...

What is procedural programming?

What is procedural programming?

Before object-orientation the predominant method for structuring programs was procedural programming. Procedural...


Submit a Comment

Your email address will not be published. Required fields are marked *