Friday, November 1, 2013

Data Structure


Data structure is important since it dictate the type of operation we can perform on the data and how efficiently they can be carried out. It also dictate how dynamic we can be in dealing with our data; for example it dictates if we can add additional data on the fly or if we need to know about all of the data up front. We determine which data structure to use to store our data only after we have carefully analyzed the problem as know at least what it is we hope to do with data; for example if we will require random access or sequential access or the ability to move both forward and backward through the data.

Purpose of data structure
·        To store and retrieve information
·        Efficient processing
·        Study of data structure and algorithm

Why Data structure – Complex design require careful and efficient program design. Analysis on correct algorithms are performed in order to estimate how much resource (computer memory, Processing time etc) are consumed by the algorithm. This will help us to look into different better ways to design the algorithm which would reduce the resource consumption, thus making the algorithm efficient.Data Structure require, space to store data item, Time  to perform each operation and programming effort.

Therefore one should need to know about data structures and algorithms. They are the fundamental building blocks of programs. Anyone can learn the syntax of a programming language, but to actually write meaningful programs, you have to understand how to use data structures and algorithms



2 comments:

  1. Great post Vimal! This is the first time I've come to your blog and I like what I see. Your grammar could use a bit of work, along with some formatting. In particular I had a hard time following your third paragraph at points. I had to reread the last sentence, the commas made it a bit confusing. I agree also that semantics are MUCH more important then syntax!

    ReplyDelete
  2. Hi Vimal, I really like your post about data structure. I agree that data structure can dictate the type of operations in performing the data, and how efficiently it carries out. As data structures are in the forefront of computer science, a CS student should learn it well for building a good fundamental knowledge and knowing about how a program can run effectively at a high efficiency. Your last sentence stated that semantics are more important than the syntax, and I couldn’t agree more.

    It is a great post in general. I am looking forward to reading more from you Vimal.

    ReplyDelete