What is the difference between a data structure and an algorithm?
Submitted : 20180615 15:14:49 Popularity:
Tags: data difference algorithm structure
The same as the difference between a shopping list and a recipe.
In computer science, a data structure is a particular way of organizing and storing da
The same as the difference between a shopping list and a recipe.
In computer science, a data structure is a particular way of organizing and storing data in a computer so that it can be accessed and modified efficiently.[1][2][3] More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.[4]
https://en.wikipedia.org/wiki/Data_struc...
In mathematics and computer science, an algorithm (/ˈælɡərɪðəm/ (About this sound listen) ALgərithəm) is an unambiguous specification of how to solve a class of problems. Algorithms can perform calculation, data processing and automated reasoning tasks.
An algorithm is an effective method that can be expressed within a finite amount of space and time[1] and in a welldefined formal language[2] for calculating a function.[3] Starting from an initial state and initial input (perhaps empty),[4] the instructions describe a computation that, when executed, proceeds through a finite[5] number of welldefined successive states, eventually producing "output"[6] and terminating at a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input.[7]
https://en.wikipedia.org/wiki/Algorithm
data structure  Any way of storing and organizing data in a computer so that it can be accessed efficiently.
https://en.wiktionary.org/wiki/data_stru...
algorithm  Ordered steps that solve a mathematical problem. A precise stepbystep plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.
https://en.wiktionary.org/wiki/algorithm
A data structure defines how data is stored or presented. An Algorithm is process that tests conditions and then proceeds in one direction or another based on the condition. So a good real world example is the 1040 Tax Return form. The form is the data structure. The instructions for filling it out are the algorithm that determines what data goes into the form and what values are produced. They go hand in hand in any process  manual, mechanized or computer. Software is essentially a collection of algorithms acting on data structures.
Software architecture
The most widely accepted definition comes from work done in the Software Architecture group of the Software Engineering Institute (SEI) at CarnegieMellon University in Pittsburgh.
“The architecture of a softwareintensive system is the structure or structures of the system, which comprise software elements, the externally visible properties of those elements, and the relationships among them.”
(Bass, Clements, & Kazman, 2003)
Software Structure
Software structure may be a little confusing and seems that no difference between it and software architecture, also there is no solid definition for system structure. Software structure has two types, static and dynamic.
“The static structures of a software system define its internal designtime elements and their arrangement”
“The dynamic structures of a software system define its runtime elements and their interactions“
(Bass, Clements, & Kazman, 2003)
“If structure is important to achieve your system’s goals, that structure is architectural. But designers of elements, or subsystems, that you assign may have to introduce structure of their own to meet their goals, in which case such structures are architectural: to them but not to you.”
(Clements, et al., 2010)
https://melsatar.wordpress.com/2013/01/05/differencebetweensoftwarearchitecturesoftwarestructureandsoftwaredesign/
10 Recommendations
2 years ago
Fateh MebarekOudina
Université 20 août 1955Skikda
Computer architecture research at UW CSE encompasses the structure, organization, implementation, and performance of the basic building blocks of computer systems. By improving reliability and efficiency, identifying and removing limitations on performance, and leveraging alternative computing substrates, we are helping to shape the future of computing. Several of our faculty and students participate in the interdisciplinary SAMPA group, a collaborative effort focused on computer architecture, operating systems, compilers and programming languages that is aimed at making computer systems faster, more reliable, and more energy efficient.
https://www.cs.washington.edu/research/architecture
A means of storing a collection of data. Computer science is in part the study of methods for effectively using a computer to solve problems, or in other words, determining exactly the problem to be solved. This process entails (1) gaining an understanding of the problem; (2) translating vague descriptions, goals, and contradictory requests, and often unstated desires, into a precisely formulated conceptual solution; and (3) implementing the solution with a computer program. This solution typically consists of two parts: algorithms and data structures.
http://encyclopedia2.thefreedictionary.com/Structure+(computer+science)
8 Recommendations
All Answers (20)
2 years ago
Subhash C. Kundu
Guru Jambheshwar University of Science & Technology
Software architecture
The most widely accepted definition comes from work done in the Software Architecture group of the Software Engineering Institute (SEI) at CarnegieMellon University in Pittsburgh.
“The architecture of a softwareintensive system is the structure or structures of the system, which comprise software elements, the externally visible properties of those elements, and the relationships among them.”
(Bass, Clements, & Kazman, 2003)
Software Structure
Software structure may be a little confusing and seems that no difference between it and software architecture, also there is no solid definition for system structure. Software structure has two types, static and dynamic.
“The static structures of a software system define its internal designtime elements and their arrangement”
“The dynamic structures of a software system define its runtime elements and their interactions“
(Bass, Clements, & Kazman, 2003)
“If structure is important to achieve your system’s goals, that structure is architectural. But designers of elements, or subsystems, that you assign may have to introduce structure of their own to meet their goals, in which case such structures are architectural: to them but not to you.”
(Clements, et al., 2010)
https://melsatar.wordpress.com/2013/01/05/differencebetweensoftwarearchitecturesoftwarestructureandsoftwaredesign/
10 Recommendations
https://www.researchgate.net/post/What_is_the_difference_between_architecture_and_structure
A data structure is like a storage room, where information is stored on shelves, or in boxes, or file cabinets.
An algorithm is like an office worker in that context.
An example of both:
Here's a very basic data structure, a list: [ 3, 5, 1, 4, 7, 2, 6]
An example of an algorithm would be a bunch of commands that take that list and sort it, like BubbleSort, or InsertionSort.
Edit: probably not a real question though.
A data structure is the way data is stored  the simplest version is the layout of a table, but it can describe an entire database.
An algorithm is just a fancy name for an equation or query. These are used to interrogate/interpret the data. Again, they can be very simple like a one line equation or can be entire programs
none


Article Source:
www.Aphotolog.Com
Answer Questions