1.1.1 Need of Data Structure

1.1.1  Need for Data Structure:

While handling the complex user programs, we need data structures for the following reasons
  • Storage representation of user data
  • Retrieval of storage data
  • Transformation of user data.
As applications are getting complex and data rich, there are three common problems that applications face now-a-days.
  • Data Search − Consider an inventory of 1 million (106) items of a store. If the application is to search an item, it has to search an item in 1 million (106) items every time slowing down the search. As data grows, search will become slower.
  • Processor Speed − Processor speed although being very high, falls limited if the data grows to billion records.
  • Multiple Requests − As thousands of users can search data simultaneously on a web server, even the fast server fails while searching the data.
  • To solve the above-mentioned problems, data structures come to rescue. 
  • Data can be organized in a data structure in such a way that all items may not be required to be searched, and the required data can be searched almost instantly.

0 Comments:

Post a Comment