answersLogoWhite

0


Best Answer

A data structure is the internal representation of the data. It may be a list, a linked list, a stack, heap or just about anything else that can be immagined and represented internal to the machine. For example, the data structure may be a linked list of control blocks for a specific product that is progressing through an automated machining facility. The control block may include information regarding the product, the tolerances, date/time that the product entered the different machining centers and the inspectors who verified the product at different points along the way. The data structure (control block) may or may not be stored in a database during the manufacturing process. Some application engineers may determine that the data needs to remain in memory to address real-time issues and for speed concerns. On the other hand, the data may be handed off to a database application for archiving. A well defined database links the similar data elements together and provides lookup "keys" that allow subsequent users to view and manipulate the data.

User Avatar

Wiki User

18y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

A database is a collection of data that is intended as a permanent resource. A business might have a database containing information about customers and products. A telephone company might have a database of telephone numbers, names, and addresses. A database could be as simple as a cabinet full of paper files where the data is written, even a stack of paper on the corner of a desk, but usually the word database is used to refer to data stored using a computer with a database management system.

A data structure is a way of organizing data. A database will almost always use at least one data structure, because having organization allows the database to be used more easily, but a database could be a pile of scraps of paper on the floor and so be said to be completely unstructured. The term data structure will often mean the organization and not the data, so that two databases that are organized in the same way could be said to share the same data structure even if they contain different data and are separated by thousands of miles.

It is also possible to have a data structure without a database if the data structure is being used for a temporary purpose and will be discarded afterward. This is common practice for the inner working of computers. In a restaurant a waiter may write down orders on pieces of paper and pass those pieces of paper in a queue to the kitchen. This would not normally be called a database because it is data that is only used once and then abandoned, but it is certainly a data structure. When the waiter makes a list of credit card numbers from the customers, then he is creating a database.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between a Database and a Data Structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 data model and schema in database?

As I understand it, a database schema is a physical entity, it describes the structure of exactly how the data is stored and is itself stored by DBMS for reference. Data model, on the other hand, is an abstract representation of database.


Which data structure used in database?

You create your own data structure in database.


What is a logical database?

A logical database is the structure of data. It is the different pieces of information and the relationships between them.


What is the difference between database and database administrator?

Database is the data stored in the server and Database administrator is the person who designs the database.


What is the difference between logical database and physical database?

A logical database refers to the way data is organized, modeled, and accessed by users, focusing on the structure and relationships of data. In contrast, a physical database relates to how data is actually stored on disks, including indexes, partitions, and access paths designed for efficient data retrieval and storage.


Difference between database and relational database explain with example?

Database = Generic name for a system to store data Relational Database = A specific type of database that utilizes relationships between data to not only store the data but further its efficiency in its manipulation.


Can you look at the data on the database?

If you know the database structure, the data is often easily viewable.


What is the difference between data and data element?

Data refers to raw facts and figures, while a data element is a unique unit of data that represents a specific attribute or characteristic. Data elements are used as building blocks to organize and structure data within a database or system.


Difference between database and database instance?

A database is a structured collection of data, while a database instance refers to a single running copy of a database system. Think of a database as the overall system that stores data, and a database instance as a specific iteration of that system currently running in memory.


Is there a difference between a database and a data capture form?

Yes, there is a difference. A database is a structured collection of data organized for easy access and manipulation, while a data capture form is a tool used to input data into a database. The form collects information that is then stored in the database for further processing and analysis.


Difference between database and relational database?

A database is a collection of data organized for easy access and manipulation, while a relational database is a type of database that stores data in a structured format using tables that are related to each other through keys. In a relational database, data is organized into rows and columns, and relationships between tables can be established using keys.