Computer Science Questions and Answers

Start Your Free Trial

What is the need of data structures?

Expert Answers info

Ashly Hintz eNotes educator | Certified Educator

briefcaseTeacher (K-12), Professional Tutor

bookB.S. from University of North Carolina at Chapel Hill


calendarEducator since 2019

write716 answers

starTop subjects are Literature, History, and Social Sciences

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.

check Approved by eNotes Editorial

Kale Emmerich eNotes educator | Certified Educator

calendarEducator since 2019

write1,138 answers

starTop subjects are Literature, History, and Business

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.

check Approved by eNotes Editorial

Octavia Cordell eNotes educator | Certified Educator

briefcaseTeacher (K-12)


calendarEducator since 2016

write1,161 answers

starTop subjects are Literature, History, and Social Sciences

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.

check Approved by eNotes Editorial



lit24 | Student

 

Data structure is a particular way of storing and organizing information  in a computer  so that it can be retrieved and used most productively.

Different kinds of data structures are meant  for different kinds of applications, and some are highly specialized to specific tasks.

Data structures are important for the following reasons:

1. Data structures are used in almost every program or software system.

2. Specific data structures are essential ingredients of many efficient algorithms, and make possible the management of huge amounts of data, such as large integrated collection of databases.

3. Some programming languages emphasize data structures, rather than algorithms, as the key organizing factor in software design.

krishna-agrawala | Student

I believe the question relates to data structures as used in computer systems. In this field data structure refers to the way data is stored, and organized in computer systems. In computer systems we do not have the option of using or not using data structure. Computers has to store and use data. Computers cannot do without data, and wherever data exists it must have some kind of data structure. Thus instead of asking "what is the need of data structure", it would be more meaningful to ask "what is the importance of data structures".

Use of appropriate data structure enables a computer system to perform its task more efficiently, by influencing the ability of computer to store and retrieve data from any location in its memory. Different kind of data structures are suited to different computer applications and tasks.