answersLogoWhite

0


Best Answer

Data structures allow related data to be grouped and organised as a single entity. For instance, when passing 20 variables to a group of functions, it makes more sense to group those variables in a data structure and pass the structure instead (1 variable instead of 20). The same data can then be passed from function to function in an uniform manner. Of course, in object-oriented programming, both the data and the functions can be encapsulated into a single entity, a class, which not only simplifies the programming that uses that data, but ultimately ensures the data remains in a valid state at all times. Structures do not offer this safeguard, but they are still used today for trivial data where class safeguards would be overkill.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why you use data structure in computing industry?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

We use file to store data so why don't we use it as data structure?

A homework question but here is a clue. A data structure is ****?


Why merge sort is not in-place?

this use auxiliar data structure for to work, in-place is that on the same data structure of input this sort


What is the term for a ready to use database that includes the data structure for the selected type of database?

datasheet


What are primary data structure?

A primary data structure is a data structure that is created without the use of other data structures, whereas a secondary data structure relies on a primary data structure. A data structure is an organized collection of data elements.[NOTE: Be careful not to confuse the term data structure with the term data type. It is a common mistake. This answer addresses dat structures. Often people who ask about primary data structures or primitive data structures are really asking about primitve data types.]Here is an example where an array is a primary data structure and a binary tree is a secondary data structure based on the array:An array is a primary data structure -- it is a set of sequentially numbered data elements, such as an array of integers or an array of names -- name0, name, name2, ...A binary tree is a data structure where each element (called a node) has a data component and pointers to it's left and right sub-trees. [Think of a directory of folders, but each folder can only have two sub-folders.] We can create an and store an array of nodes to set up the tree in languages like C++ or Java.The root of the tree could be node 1 in the array, it would point to nodes 2 and 3. node 2 would point to nodes 4 and 5, while node 3 would point to nodes 6 and 7 .. and so on. generally node n point to nodes 2n and 2n+1. (You can start with node 0, but the math is a little easier if you start with node 1.)The binary tree in this case is the secondary data structure, while the undelying array is the primary data structure.


What is a structure variable in computer programming?

A structure variable is a name that refers to a data structure. For example: struct S {/*...*/}; int main (void) { S x; /* x is a structure variable that refers to an instance of the structure S */ // use x... return 0; }

Related questions

We use file to store data so why don't we use it as data structure?

A homework question but here is a clue. A data structure is ****?


Where to find info on cloud computing backup?

Cloud computing is something that you can use on various devices to get some extra storage for your data that does not fit. You can use it online for free.


How can you use computing in office management?

There are different ways through which you can use computing in office management. You can store records, analyze data, process information and so much more.


Is cloud computing in healthcare designed for doctors?

You could use the Cloud computing system to store healthcare data online. Anyone or any business could use this, it's just a little bit of extra data storage online.


What is cloud computing open source?

Open source is a type of software that is free to use unlike licensed software. Cloud computing is where servers store data away from the physical computer. Combining the two means that cloud computing open source is free software to store your data remotely.


Why merge sort is not in-place?

this use auxiliar data structure for to work, in-place is that on the same data structure of input this sort


What are the statistics of cloud computing data and information?

According to the Pew Research Center, 69% of Americans use some aspect of the cloud for basic services. These include things like email, data storage, and applications like word processing. People often use cloud computing without realizing it. Use of cloud computing is very similar to how people use social media and networking on the internet. How people share information and their data in these formats is a good area to begin exploring how they store data and information in the cloud.


What exactly is cloud computing used for?

Cloud computing is a new wave of storing data that can be accessed anywhere. If you use cloud computing you can be in India and log on to the cloud and it would be just like you are sitting at your desktop in your home.


Is cloud computing used in accounting?

Cloud computing could be used for accounting, if you were an accountant and you needed to save more data than you had space for on your computer, then you could use it.


What is cloud computing and how does it work?

Cloud Computing is when you use one system to save memory onto the internet, can delete it, and can get it back at any time. Most systems use it, and you never have to worry about losing data.


How do I use cloud computing websites?

Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. The term is generally used to describe data centers available to many users over the Internet.


How can you use pointer is data structure?

Your question makes no sense.