Best Answer

A data structure is the way you define a certain object in a program language. If you define a data structure for a contact in a contact list, you would have members of that data structure such as name, company, address, phone number, etc. The data structure is defined by what you need the program to keep track of.

An algorithm is a specific way of programming a task to make it work on the data you have. For example, there are many algorithms to sort data in a database of information. An algorithm is a specific way that the programmer writes a program to process the information. Algorithms are unique in the way that the program runs and can be measured by their efficiency in processing the data. The metrics are evaluated by how many computer instructions it takes to calculate the results

A data structure is the identification of how your program doesn't have a bugs, traffic, and errors.

An algorithm is a mathematical way of identifying how does it appears to be in a manner of linear and non-linear way of computation.

on the conclusion:

data structure is the flow of data identified on speed.


algorithm is the computation on the equalities and difference.

User Avatar

Wiki User

โˆ™ 2011-09-13 15:27:43
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between a data structure and an algorithm?
Write your answer...
Related questions

What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure

What is the difference between a data type and a data structure?

What is the difference between a data type and a data structure?"please send very soon within 1 day its very urgent.

What is time complexity in data structure?

The complexity of an algorithm is a function describing the efficiency of the algorithm in terms of the amount of data the algorithm must process

What data structure and logarithm?

data structure is a way of storing data in a computer so that it can be used efficientlyan algorithm is a sequence of instructions, often used for calculation and data processing.Often a carefully chosen data structure will allow the most efficient algorithm to be used.

Which is best searching algorithm in data structure?

binary search

What sorting algorithm is used to sort a queue data structure?

Data Mining in C++

Difference between data structures and storage structures?

The representation of a particular data structure in the memory of a computer is called a storage structure.

What is difference between the arrays and structure?

array is a collection of same data type and structure can be collection of same of different data type.

Algorithm to convert forest tree into binary tree in data structure?

The algorithm to convert a forest tree into a binary tree in data structure can be quite long. You will need to start out with [head] and end with [finish].

What difference between data structure and architecture?

the same difference there is between the design of a house and the elements used to build that design.

Difference between structure and data structure?

Structure is basicly a way of grouping servarl piece of information under a single name while Data structure menas with the orgnizing the data into a way by which it can be processed at any time and also concern with the realtionship of data,

Difference between data structure and data type?

A data structure is an abstract description of data organization. (e.g.: a linked list, binary tree) The data structure is useful for organizing the data. A data type is a description of the data itself. (e.g.: integer, character) The data type is used in implementing a data structure such as a linked list of integers.

What is difference between linear and non linear dat structure?

the way to access data

Five difference between primitive and non primitive data structure?

The main difference between primitive and non-primitive data structure is their value. Non-primitive types will always have a reference value, and primitive types have an absolute value.

What is the difference between file structure and storage structure?

the representation of a data structure in an auxiliary file is called file structure. And if it is in an external storage is called storage structure

Difference between Abstract data type and Data structure?

ADT is a logical description and data structure is concrete. ADT is the logical picture of the data and the operations to manipulate the component elements of the data. Data structure is the actual representation of the data during the implementation and the algorithms to manipulate the data elements. ADT is in the logical level and data structure is in the implementation level.

What is the difference between data and data structure?

Data structure: An information structure is an arrangement of information considered as one substance. An int, for instance, is a straightforward variable, can't be considered as an information structure, yet an exhibit is an information structure. Data: Information will be data that has been interpreted into a frame that is more advantageous to move or procedure.

Write a algorithm for a deque operations?

please read data structure (schaum series) books

What is the difference between binary tree and tree data structure?

binary tree is a specific tree data structure where each node can have at most 2 children nodes. In a general Tree data structure nodes can have infinite children nodes.

Difference types of nonlinear data structure?

Tree, Graphs are the types of nonlinear data structure.

What is the difference between an array and structure?

An array is a collection of related data elements of same type.Structure can have elements of different types.An array is a derived data type.A structure is a programmer-defined data type.A struct can contain multiple data types, whereas an array can not.

What is the difference between relation and relationship in dbms?

Relationship is purely a construct of the er data model.Relation is a structure of the relational data model.

Explain the difference between data and information?

what is the difference between data and information

What is the Difference between array and structures?

The main differences between an array and a structure are: An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased. A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.

What is the difference between data mining and OLAP?

difference between Data Mining and OLAP