What is the need of data structures?

Expert Answers

An illustration of the letter 'A' in a speech bubbles

Data structures are used as a framework for organizing and storing information in virtual memory forms. In computing, RAM and virtual memory, such as the Cloud or other shared storage systems, store large quantities of data rapidly and efficiently. However, there is a twofold dilemma: first, how can it be stored efficiently, and second, how will we be able to retrieve it over time if it’s just stored away in cyberspace?

Data structures are the solution to these dilemmas. Data structures organize and prioritize information into datasets and databases that can be compressed efficiently to save storage space. These organizational structures are also structured logically so that retrieving information from them is simple and straightforward, making the data usable once more.

Approved by eNotes Editorial Team

Posted on

An illustration of the letter 'A' in a speech bubbles

Data structures, as the name implies, are organizational configurations of data in Information Technology. Data is stored in computers and via the Cloud on RAM or dispersed storage systems, and either way, the data is meant to eventually be accessed (that’s the entire point of storing it in the first place). Unfortunately, computers have to process extremely high quantities of data on a daily basis, so that information can rapidly be jumbled or lost.

Cue data structures. These conformations place data into predictable sequences, locations, and arrangements. This way, the information can quickly be withdrawn because it is placed in a retrievable location. Without this structure in place, information would be practically lost to the ether for all time. Fortunately, we are able to create very functional structures that allow easy access to all of our data.

Approved by eNotes Editorial Team

Posted on

An illustration of the letter 'A' in a speech bubbles

Data structures are used in computing to make it easy to locate and retrieve information. Primitive data structures are simple ways for programming languages to represent basic values. These include data types like integer, char (character), Boolean, pointers, and the like. Non-primitive data structures provide ways of storing multiple values in a single variable. These include arrays, lists, stacks, trees, and so forth. Data structures can also be used to group and organize other data structures. In databases, a record can be thought of as a data structure that contains all the data structures related to a given key; in object oriented programming languages like Java, a class is a data structure that organizes attributes and functions in such a way that they can be easily replicated. In each case, the way the data is "structured" makes it easy to retrieve or manipulate.

Approved by eNotes Editorial Team

Posted on

Soaring plane image

We’ll help your grades soar

Start your 48-hour free trial and unlock all the summaries, Q&A, and analyses you need to get better grades now.

  • 30,000+ book summaries
  • 20% study tools discount
  • Ad-free content
  • PDF downloads
  • 300,000+ answers
  • 5-star customer support
Start your 48-Hour Free Trial