Filter by Tags

Interview Question - Difference between data structures and databases.



0 0

What is the difference between data structures and databases. When and where do we use the concepts of datastructures and when and where do we use the concept of databases.

Open E-School
Posted on : Tue, Jun 13, 2017
Views : 161

Ask Question

If you want to ask question you must LogIn or SignUp
Login SignUp

Answers (2)


Data structure is basically a way to store data in memory in a structured manner eg: Queue, Stack, heap, Linklist etc. It is just for providing a structure to given the data.

Where as Database is the collecction of data,managing it and providing easy access of data to user. Data of database is stored in secondary memory.


Sahil Gaba
Tue, Jun 13, 2017

Edit Answer



Data structures-Data Structures generally tell about the ways in which data can be stored in RAM. These tell us ways of organizing data in the memory. e.g. Arrays, Linked lists, trees, stacks, queues.

Databases- Databases provide the format of storing the data in tabular form in the secondary memory. These contain rows and columns.


Data structures are generally used when we require to oraganize data and work on it during the execution of the program whereas Databases are used when data from user has to be stored for further uses.

Apurva Thakker
Tue, Jun 13, 2017

Edit Answer

This answer will permanently deleted. Do you really want to delete this Answer ?
To Add your Answer Please
LogIn | SignUp

Quick Links



Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..


Login to Open ESchool OR Create your account    Login   SignUp